Manages the synchronization of calls to FillN().
The HIST template can be a RHist instance. This class hands out RHistConcurrentFiller 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 RHistConcurrentFillManager. The manager than fills the histogram.
Definition at line 77 of file RHistConcurrentFill.hxx.
Public Types | |
using | CoordArray_t = typename HIST::CoordArray_t |
using | Hist_t = HIST |
using | Weight_t = typename HIST::Weight_t |
Public Member Functions | |
RHistConcurrentFillManager (HIST &hist) | |
void | FillN (const std::span< const CoordArray_t > xN) |
Thread-specific HIST::FillN(). More... | |
void | FillN (const std::span< const CoordArray_t > xN, const std::span< const Weight_t > weightN) |
Thread-specific HIST::FillN(). More... | |
RHistConcurrentFiller< HIST, SIZE > | MakeFiller () |
Private Attributes | |
std::mutex | fFillMutex |
HIST & | fHist |
Friends | |
class | RHistConcurrentFiller< HIST, SIZE > |
#include <ROOT/RHistConcurrentFill.hxx>
using ROOT::Experimental::RHistConcurrentFillManager< HIST, SIZE >::CoordArray_t = typename HIST::CoordArray_t |
Definition at line 82 of file RHistConcurrentFill.hxx.
using ROOT::Experimental::RHistConcurrentFillManager< HIST, SIZE >::Hist_t = HIST |
Definition at line 81 of file RHistConcurrentFill.hxx.
using ROOT::Experimental::RHistConcurrentFillManager< HIST, SIZE >::Weight_t = typename HIST::Weight_t |
Definition at line 83 of file RHistConcurrentFill.hxx.
|
inline |
Definition at line 90 of file RHistConcurrentFill.hxx.
|
inline |
Thread-specific HIST::FillN().
Definition at line 102 of file RHistConcurrentFill.hxx.
|
inline |
Thread-specific HIST::FillN().
Definition at line 95 of file RHistConcurrentFill.hxx.
|
inline |
Definition at line 92 of file RHistConcurrentFill.hxx.
|
friend |
Definition at line 62 of file RHistConcurrentFill.hxx.
|
private |
Definition at line 87 of file RHistConcurrentFill.hxx.
|
private |
Definition at line 86 of file RHistConcurrentFill.hxx.