Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RHistConcurrentFiller< HIST, SIZE > Class Template Reference

template<class HIST, int SIZE>
class ROOT::Experimental::RHistConcurrentFiller< HIST, SIZE >

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

Enables multi-threaded filling.

Definition at line 37 of file RHistConcurrentFill.hxx.

Public Types

using CoordArray_t = typename HIST::CoordArray_t
 
using Weight_t = typename HIST::Weight_t
 
- Public Types inherited from ROOT::Experimental::Internal::RHistBufferedFillBase< RHistConcurrentFiller< HIST, SIZE >, HIST, SIZE >
using CoordArray_t = typename HIST::CoordArray_t
 
using Weight_t = typename HIST::Weight_t
 

Public Member Functions

 RHistConcurrentFiller (RHistConcurrentFillManager< HIST, SIZE > &manager)
 
void FillN (const std::span< const CoordArray_t > xN)
 Thread-specific HIST::FillN().
 
void FillN (const std::span< const CoordArray_t > xN, const std::span< const Weight_t > weightN)
 Thread-specific HIST::FillN().
 
- Public Member Functions inherited from ROOT::Experimental::Internal::RHistBufferedFillBase< RHistConcurrentFiller< HIST, SIZE >, HIST, SIZE >
 RHistBufferedFillBase ()
 
 ~RHistBufferedFillBase ()
 
void Fill (const CoordArray_t &x, Weight_t weight=1.)
 
void Flush ()
 
std::span< const CoordArray_tGetCoords () const
 
std::span< const Weight_tGetWeights () const
 
RHistConcurrentFiller< HIST, SIZE > & toDerived ()
 
const RHistConcurrentFiller< HIST, SIZE > & toDerived () const
 

Static Public Member Functions

static constexpr int GetNDim ()
 

Private Member Functions

void FlushImpl ()
 

Private Attributes

RHistConcurrentFillManager< HIST, SIZE > & fManager
 

Friends

class Internal::RHistBufferedFillBase< RHistConcurrentFiller< HIST, SIZE >, HIST, SIZE >
 

#include <ROOT/RHistConcurrentFill.hxx>

Inheritance diagram for ROOT::Experimental::RHistConcurrentFiller< HIST, SIZE >:
[legend]

Member Typedef Documentation

◆ CoordArray_t

template<class HIST , int SIZE>
using ROOT::Experimental::RHistConcurrentFiller< HIST, SIZE >::CoordArray_t = typename HIST::CoordArray_t

Definition at line 41 of file RHistConcurrentFill.hxx.

◆ Weight_t

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

Definition at line 42 of file RHistConcurrentFill.hxx.

Constructor & Destructor Documentation

◆ RHistConcurrentFiller()

template<class HIST , int SIZE>
ROOT::Experimental::RHistConcurrentFiller< HIST, SIZE >::RHistConcurrentFiller ( RHistConcurrentFillManager< HIST, SIZE > &  manager)
inline

Definition at line 44 of file RHistConcurrentFill.hxx.

Member Function Documentation

◆ FillN() [1/2]

template<class HIST , int SIZE>
void ROOT::Experimental::RHistConcurrentFiller< HIST, SIZE >::FillN ( const std::span< const CoordArray_t xN)
inline

Thread-specific HIST::FillN().

Definition at line 56 of file RHistConcurrentFill.hxx.

◆ FillN() [2/2]

template<class HIST , int SIZE>
void ROOT::Experimental::RHistConcurrentFiller< HIST, SIZE >::FillN ( const std::span< const CoordArray_t xN,
const std::span< const Weight_t weightN 
)
inline

Thread-specific HIST::FillN().

Definition at line 50 of file RHistConcurrentFill.hxx.

◆ FlushImpl()

template<class HIST , int SIZE>
void ROOT::Experimental::RHistConcurrentFiller< HIST, SIZE >::FlushImpl ( )
inlineprivate

Definition at line 62 of file RHistConcurrentFill.hxx.

◆ GetNDim()

template<class HIST , int SIZE>
static constexpr int ROOT::Experimental::RHistConcurrentFiller< HIST, SIZE >::GetNDim ( )
inlinestaticconstexpr

Definition at line 58 of file RHistConcurrentFill.hxx.

Friends And Related Symbol Documentation

◆ Internal::RHistBufferedFillBase< RHistConcurrentFiller< HIST, SIZE >, HIST, SIZE >

template<class HIST , int SIZE>
friend class Internal::RHistBufferedFillBase< RHistConcurrentFiller< HIST, SIZE >, HIST, SIZE >
friend

Definition at line 58 of file RHistConcurrentFill.hxx.

Member Data Documentation

◆ fManager

template<class HIST , int SIZE>
RHistConcurrentFillManager<HIST, SIZE>& ROOT::Experimental::RHistConcurrentFiller< HIST, SIZE >::fManager
private

Definition at line 38 of file RHistConcurrentFill.hxx.

  • hist/histv7/inc/ROOT/RHistConcurrentFill.hxx