Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 28 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>

Inheritance diagram for ROOT::Experimental::Internal::RHistBufferedFillBase< DERIVED, HIST, SIZE >:
[legend]

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 30 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 31 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 39 of file RHistBufferedFill.hxx.

◆ ~RHistBufferedFillBase()

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

Definition at line 40 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 54 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 63 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 45 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 49 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 42 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 43 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 34 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 36 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 35 of file RHistBufferedFill.hxx.

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