Logo ROOT  
Reference Guide
ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE > Class Template Reference

template<class DERIVED, class HIST, int SIZE>
class ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >

Definition at line 26 of file RHistBufferedFill.hxx.

Public Types

using CoordArray_t = typename HIST::CoordArray_t
 
using Weight_t = typename HIST::Weight_t
 

Public Member Functions

 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
 
DERIVED & toDerived ()
 
const DERIVED & toDerived () const
 

Private Attributes

size_t fCursor = 0
 
std::array< Weight_t, SIZE > fWBuf
 
std::array< CoordArray_t, SIZE > fXBuf
 

#include <ROOT/RHistBufferedFill.hxx>

Member Typedef Documentation

◆ CoordArray_t

template<class DERIVED , class HIST , int SIZE>
using ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >::CoordArray_t = typename HIST::CoordArray_t

Definition at line 28 of file RHistBufferedFill.hxx.

◆ Weight_t

template<class DERIVED , class HIST , int SIZE>
using ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >::Weight_t = typename HIST::Weight_t

Definition at line 29 of file RHistBufferedFill.hxx.

Constructor & Destructor Documentation

◆ RHistBufferedFillBase()

template<class DERIVED , class HIST , int SIZE>
ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >::RHistBufferedFillBase ( )
inline

Definition at line 37 of file RHistBufferedFill.hxx.

◆ ~RHistBufferedFillBase()

template<class DERIVED , class HIST , int SIZE>
ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >::~RHistBufferedFillBase ( )
inline

Definition at line 38 of file RHistBufferedFill.hxx.

Member Function Documentation

◆ Fill()

template<class DERIVED , class HIST , int SIZE>
void ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >::Fill ( const CoordArray_t x,
Weight_t  weight = 1. 
)
inline

Definition at line 52 of file RHistBufferedFill.hxx.

◆ Flush()

template<class DERIVED , class HIST , int SIZE>
void ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >::Flush ( )
inline

Definition at line 61 of file RHistBufferedFill.hxx.

◆ GetCoords()

template<class DERIVED , class HIST , int SIZE>
std::span< const CoordArray_t > ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >::GetCoords ( ) const
inline

Definition at line 43 of file RHistBufferedFill.hxx.

◆ GetWeights()

template<class DERIVED , class HIST , int SIZE>
std::span< const Weight_t > ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >::GetWeights ( ) const
inline

Definition at line 47 of file RHistBufferedFill.hxx.

◆ toDerived() [1/2]

template<class DERIVED , class HIST , int SIZE>
DERIVED & ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >::toDerived ( )
inline

Definition at line 40 of file RHistBufferedFill.hxx.

◆ toDerived() [2/2]

template<class DERIVED , class HIST , int SIZE>
const DERIVED & ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >::toDerived ( ) const
inline

Definition at line 41 of file RHistBufferedFill.hxx.

Member Data Documentation

◆ fCursor

template<class DERIVED , class HIST , int SIZE>
size_t ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >::fCursor = 0
private

Definition at line 32 of file RHistBufferedFill.hxx.

◆ fWBuf

template<class DERIVED , class HIST , int SIZE>
std::array<Weight_t, SIZE> ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >::fWBuf
private

Definition at line 34 of file RHistBufferedFill.hxx.

◆ fXBuf

template<class DERIVED , class HIST , int SIZE>
std::array<CoordArray_t, SIZE> ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >::fXBuf
private

Definition at line 33 of file RHistBufferedFill.hxx.


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