ROOT 6.10/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 27 of file THistConcurrentFill.hxx.
Public Types | |
using | CoordArray_t = typename HIST::CoordArray_t |
using | Hist_t = HIST |
using | Weight_t = typename HIST::Weight_t |
Public Member Functions | |
THistConcurrentFillManager (HIST &hist) | |
void | FillN (const std::array_view< CoordArray_t > xN, const std::array_view< Weight_t > weightN) |
Thread-specific HIST::FillN(). More... | |
void | FillN (const std::array_view< CoordArray_t > xN) |
Thread-specific HIST::FillN(). More... | |
THistConcurrentFiller< HIST, SIZE > | MakeFiller () |
Private Attributes | |
std::mutex | fFillMutex |
HIST & | fHist |
Friends | |
class | THistConcurrentFiller< HIST, SIZE > |
#include <ROOT/THistConcurrentFill.hxx>
using ROOT::Experimental::THistConcurrentFillManager< HIST, SIZE >::CoordArray_t = typename HIST::CoordArray_t |
Definition at line 89 of file THistConcurrentFill.hxx.
using ROOT::Experimental::THistConcurrentFillManager< HIST, SIZE >::Hist_t = HIST |
Definition at line 88 of file THistConcurrentFill.hxx.
using ROOT::Experimental::THistConcurrentFillManager< HIST, SIZE >::Weight_t = typename HIST::Weight_t |
Definition at line 90 of file THistConcurrentFill.hxx.
|
inline |
Definition at line 97 of file THistConcurrentFill.hxx.
|
inline |
Thread-specific HIST::FillN().
Definition at line 105 of file THistConcurrentFill.hxx.
|
inline |
Thread-specific HIST::FillN().
Definition at line 112 of file THistConcurrentFill.hxx.
|
inline |
Definition at line 100 of file THistConcurrentFill.hxx.
|
friend |
Definition at line 86 of file THistConcurrentFill.hxx.
|
private |
Definition at line 94 of file THistConcurrentFill.hxx.
|
private |
Definition at line 93 of file THistConcurrentFill.hxx.