ROOT  6.06/09
Reference Guide
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ROOT::THistConcurrentFiller< HIST, SIZE > Class Template Reference

template<class HIST, int SIZE>
class ROOT::THistConcurrentFiller< HIST, SIZE >

Buffers a thread's Fill calls and submits them to the THistConcurrentFillManager.

Enables multi-threaded filling.

Definition at line 35 of file THistConcurrentFill.h.

Public Types

using Coord_t = typename HIST::Coord_t
 
using Weight_t = typename HIST::Weight_t
 
- Public Types inherited from ROOT::Internal::THistBufferedFillBase< THistConcurrentFiller< HIST, SIZE >, HIST, SIZE >
using Coord_t = typename HIST::Coord_t
 
using Weight_t = typename HIST::Weight_t
 

Public Member Functions

 THistConcurrentFiller (THistConcurrentFillManager< HIST, SIZE > &manager)
 
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...
 
void Flush ()
 The buffer is full, flush it out. More...
 
HIST & GetHist ()
 
 operator HIST & ()
 
- Public Member Functions inherited from ROOT::Internal::THistBufferedFillBase< THistConcurrentFiller< HIST, SIZE >, HIST, SIZE >
 THistBufferedFillBase ()
 
 ~THistBufferedFillBase ()
 
THistConcurrentFiller< HIST, SIZE > & toDerived ()
 
const THistConcurrentFiller< HIST, SIZE > & toDerived () const
 
std::array_view< Coord_tGetCoords () const
 
std::array_view< Weight_tGetWeights () const
 
void Fill (const Coord_t &x, Weight_t weight=1.)
 

Static Public Member Functions

static constexpr int GetNDim ()
 

Private Attributes

THistConcurrentFillManager< HIST, SIZE > & fManager
 

#include <ROOT/THistConcurrentFill.h>

+ Inheritance diagram for ROOT::THistConcurrentFiller< HIST, SIZE >:
+ Collaboration diagram for ROOT::THistConcurrentFiller< HIST, SIZE >:

Member Typedef Documentation

template<class HIST , int SIZE>
using ROOT::THistConcurrentFiller< HIST, SIZE >::Coord_t = typename HIST::Coord_t

Definition at line 40 of file THistConcurrentFill.h.

template<class HIST , int SIZE>
using ROOT::THistConcurrentFiller< HIST, SIZE >::Weight_t = typename HIST::Weight_t

Definition at line 41 of file THistConcurrentFill.h.

Constructor & Destructor Documentation

template<class HIST , int SIZE>
ROOT::THistConcurrentFiller< HIST, SIZE >::THistConcurrentFiller ( THistConcurrentFillManager< HIST, SIZE > &  manager)
inline

Definition at line 43 of file THistConcurrentFill.h.

Member Function Documentation

template<class HIST , int SIZE>
void ROOT::THistConcurrentFiller< HIST, SIZE >::FillN ( const std::array_view< Coord_t xN,
const std::array_view< Weight_t weightN 
)
inline

Thread-specific HIST::FillN().

Definition at line 50 of file THistConcurrentFill.h.

template<class HIST , int SIZE>
void ROOT::THistConcurrentFiller< HIST, SIZE >::FillN ( const std::array_view< Coord_t xN)
inline

Thread-specific HIST::FillN().

Definition at line 56 of file THistConcurrentFill.h.

template<class HIST , int SIZE>
void ROOT::THistConcurrentFiller< HIST, SIZE >::Flush ( )
inline

The buffer is full, flush it out.

Definition at line 61 of file THistConcurrentFill.h.

template<class HIST , int SIZE>
HIST& ROOT::THistConcurrentFiller< HIST, SIZE >::GetHist ( )
inline
template<class HIST , int SIZE>
static constexpr int ROOT::THistConcurrentFiller< HIST, SIZE >::GetNDim ( )
inlinestatic

Definition at line 68 of file THistConcurrentFill.h.

template<class HIST , int SIZE>
ROOT::THistConcurrentFiller< HIST, SIZE >::operator HIST & ( )
inline

Definition at line 66 of file THistConcurrentFill.h.

Member Data Documentation

template<class HIST , int SIZE>
THistConcurrentFillManager<HIST, SIZE>& ROOT::THistConcurrentFiller< HIST, SIZE >::fManager
private

Definition at line 37 of file THistConcurrentFill.h.


The documentation for this class was generated from the following file: