12 #ifndef ROOT_THnSparse_Internal
13 #define ROOT_THnSparse_Internal
70 #endif // ROOT_THnSparse_Internal
Abstract array base class.
THnSparseArrayChunk is used internally by THnSparse.
void SetAt(Double_t v, Int_t i)
virtual ~THnSparseArrayChunk()
Destructor.
void Sumw2()
Turn on support of errors.
virtual void SetAt(Double_t v, Int_t i)=0
Efficient multidimensional histogram.
Int_t fCoordinateAllocationSize
Double_t GetAt(Int_t i) const
void AddBinContent(Int_t idx, Double_t v=1.)
Int_t fSingleCoordinateSize
size of the allocated coordinate buffer; -1 means none or fCoordinatesSize
THnSparseArrayChunk & operator=(const THnSparseArrayChunk &)
Using a TBrowser one can browse all ROOT objects.
Array of doubles (64 bits per element).
Mother of all ROOT objects.
void AddBin(Int_t idx, const Char_t *idxbuf)
Create a new bin in this chunk.
Bool_t Matches(Int_t idx, const Char_t *idxbuf) const
virtual Double_t GetAt(Int_t i) const =0
std::vector< double > errors
ClassDef(THnSparseArrayChunk, 1)