ROOT
6.06/09
Reference Guide
|
Manages the synchronization of calls to FillN().
The HIST template can be a THist instance. This class hands out THistConcurrentFiller objects that can concurrently fill the histogram. They buffer calls to Fill() until the buffer is full, and then swap the buffer with that of the THistConcurrentFillManager. The manager than fills the histogram.
Definition at line 25 of file THistConcurrentFill.h.
Public Types | |
using | Hist_t = HIST |
using | Coord_t = typename HIST::Coord_t |
using | Weight_t = typename HIST::Weight_t |
Public Member Functions | |
THistConcurrentFillManager (HIST &hist) | |
THistConcurrentFiller< HIST, SIZE > | MakeFiller () |
void | FillN (const std::array_view< Coord_t > xN, const std::array_view< Weight_t > weightN) |
Thread-specific HIST::FillN(). More... | |
void | FillN (const std::array_view< Coord_t > xN) |
Thread-specific HIST::FillN(). More... | |
Private Attributes | |
HIST & | fHist |
std::mutex | fFillMutex |
Friends | |
class | THistConcurrentFiller< HIST, SIZE > |
#include <ROOT/THistConcurrentFill.h>
using ROOT::THistConcurrentFillManager< HIST, SIZE >::Coord_t = typename HIST::Coord_t |
Definition at line 87 of file THistConcurrentFill.h.
using ROOT::THistConcurrentFillManager< HIST, SIZE >::Hist_t = HIST |
Definition at line 86 of file THistConcurrentFill.h.
using ROOT::THistConcurrentFillManager< HIST, SIZE >::Weight_t = typename HIST::Weight_t |
Definition at line 88 of file THistConcurrentFill.h.
|
inline |
Definition at line 95 of file THistConcurrentFill.h.
|
inline |
Thread-specific HIST::FillN().
Definition at line 103 of file THistConcurrentFill.h.
Referenced by ROOT::THistConcurrentFiller< HIST, SIZE >::FillN(), and ROOT::THistConcurrentFiller< HIST, SIZE >::Flush().
|
inline |
Thread-specific HIST::FillN().
Definition at line 110 of file THistConcurrentFill.h.
|
inline |
Definition at line 98 of file THistConcurrentFill.h.
|
friend |
Definition at line 84 of file THistConcurrentFill.h.
|
private |
Definition at line 92 of file THistConcurrentFill.h.
|
private |
Definition at line 91 of file THistConcurrentFill.h.