16#ifndef ROOT7_RHistBufferedFill 
   17#define ROOT7_RHistBufferedFill 
   22namespace Experimental {
 
   25template <
class DERIVED, 
class HIST, 
int SIZE>
 
   33   std::array<CoordArray_t, SIZE> 
fXBuf;
 
   34   std::array<Weight_t, SIZE> 
fWBuf;
 
   40   DERIVED &
toDerived() { 
return *
static_cast<DERIVED *
>(
this); }
 
   41   const DERIVED &
toDerived()
 const { 
return *
static_cast<const DERIVED *
>(
this); }
 
   81template <
class HIST, 
int SIZE = 1024>
 
   91   std::array<CoordArray_t, SIZE> 
fXBuf;
 
   92   std::array<Weight_t, SIZE> 
fWBuf;
 
  100   void FillN(
const std::span<const CoordArray_t> xN, 
const std::span<const Weight_t> weightN)
 
  102      fHist.FillN(xN, weightN);
 
  105   void FillN(
const std::span<const CoordArray_t> xN) { 
fHist.FillN(xN); }
 
  114   static constexpr int GetNDim() { 
return HIST::GetNDim(); }
 
std::span< const Weight_t > GetWeights() const
 
void Fill(const CoordArray_t &x, Weight_t weight=1.)
 
typename HIST::CoordArray_t CoordArray_t
 
std::array< Weight_t, SIZE > fWBuf
 
std::span< const CoordArray_t > GetCoords() const
 
std::array< CoordArray_t, SIZE > fXBuf
 
typename HIST::Weight_t Weight_t
 
const DERIVED & toDerived() const
 
RHistBufferedFill(Hist_t &hist)
 
void FillN(const std::span< const CoordArray_t > xN)
 
static constexpr int GetNDim()
 
std::array< CoordArray_t, SIZE > fXBuf
 
typename HIST::CoordArray_t CoordArray_t
 
std::array< Weight_t, SIZE > fWBuf
 
typename HIST::Weight_t Weight_t
 
void FillN(const std::span< const CoordArray_t > xN, const std::span< const Weight_t > weightN)
 
RCoordArray< DIMENSIONS > CoordArray_t