![]() |
ROOT
6.06/09
Reference Guide
|
Buffers calls to Fill().
Once the buffer is full, on destruction of when calling Flush(), it sends the buffers off as an ideally vectorizable FillN() operation. It also serves as a multi-threaded way of filling the same histogram, reducing the locking frequency.
The HIST template can be either a THist instance, a THistImpl instance, or a THistLockedFill instance.
Definition at line 74 of file THistBufferedFill.h.
Public Types | |
using | Hist_t = HIST |
using | Coord_t = typename HIST::Coord_t |
using | Weight_t = typename HIST::Weight_t |
![]() | |
using | Coord_t = typename HIST::Coord_t |
using | Weight_t = typename HIST::Weight_t |
Public Member Functions | |
THistBufferedFill (Hist_t &hist) | |
void | FillN (const std::array_view< Coord_t > xN, const std::array_view< Weight_t > weightN) |
void | FillN (const std::array_view< Coord_t > xN) |
void | Flush () |
HIST & | GetHist () |
operator HIST & () | |
![]() | |
THistBufferedFillBase () | |
~THistBufferedFillBase () | |
THistBufferedFill< HIST, SIZE > & | toDerived () |
const THistBufferedFill< HIST, SIZE > & | toDerived () const |
std::array_view< Coord_t > | GetCoords () const |
std::array_view< Weight_t > | GetWeights () const |
void | Fill (const Coord_t &x, Weight_t weight=1.) |
Static Public Member Functions | |
static constexpr int | GetNDim () |
Private Attributes | |
HIST & | fHist |
size_t | fCursor = 0 |
std::array< Coord_t, SIZE > | fXBuf |
std::array< Weight_t, SIZE > | fWBuf |
#include <ROOT/THistBufferedFill.h>
using ROOT::THistBufferedFill< HIST, SIZE >::Coord_t = typename HIST::Coord_t |
Definition at line 78 of file THistBufferedFill.h.
using ROOT::THistBufferedFill< HIST, SIZE >::Hist_t = HIST |
Definition at line 77 of file THistBufferedFill.h.
using ROOT::THistBufferedFill< HIST, SIZE >::Weight_t = typename HIST::Weight_t |
Definition at line 79 of file THistBufferedFill.h.
|
inline |
Definition at line 88 of file THistBufferedFill.h.
|
inline |
Definition at line 90 of file THistBufferedFill.h.
|
inline |
Definition at line 95 of file THistBufferedFill.h.
|
inline |
Definition at line 100 of file THistBufferedFill.h.
Referenced by ROOT::THistBufferedFill< HIST, SIZE >::GetHist().
|
inline |
Definition at line 105 of file THistBufferedFill.h.
Referenced by ROOT::THistBufferedFill< HIST, SIZE >::operator HIST &().
|
inlinestatic |
Definition at line 111 of file THistBufferedFill.h.
|
inline |
Definition at line 109 of file THistBufferedFill.h.
|
private |
Definition at line 83 of file THistBufferedFill.h.
|
private |
Definition at line 82 of file THistBufferedFill.h.
Referenced by ROOT::THistBufferedFill< HIST, SIZE >::GetHist().
|
private |
Definition at line 85 of file THistBufferedFill.h.
|
private |
Definition at line 84 of file THistBufferedFill.h.