12 #ifndef ROOT_THnSparse_Internal 13 #define ROOT_THnSparse_Internal 63 return fSingleCoordinateSize <= 8 ||
64 !memcmp(fCoordinates + idx * fSingleCoordinateSize, idxbuf, fSingleCoordinateSize); }
68 #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.
Bool_t Matches(Int_t idx, const Char_t *idxbuf) const
virtual void SetAt(Double_t v, Int_t i)=0
#define ClassDef(name, id)
Efficient multidimensional histogram.
Int_t fCoordinateAllocationSize
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.
virtual Double_t GetAt(Int_t i) const =0
Double_t GetAt(Int_t i) const