12#ifndef ROOT_THnSparse_Internal
13#define ROOT_THnSparse_Internal
int Int_t
Signed integer 4 bytes (int).
char Char_t
Character 1 byte (char).
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Double_t
Double 8 bytes.
#define ClassDefOverride(name, id)
Array of doubles (64 bits per element).
Abstract array base class.
Using a TBrowser one can browse all ROOT objects.
TH1 is the base class of all histogram classes in ROOT.
Bool_t Matches(Int_t idx, const Char_t *idxbuf) const
Check whether bin at idx batches idxbuf.
~THnSparseArrayChunk() override
Destructor.
TArrayD * fSumw2
Bin errors.
Int_t fCoordinatesSize
Size of the bin coordinate buffer.
Int_t fSingleCoordinateSize
Size of a single bin coordinate.
void AddBinContent(Int_t idx, Double_t v=1.)
void Sumw2()
Turn on support of errors.
Char_t * fCoordinates
[fCoordinatesSize] compact bin coordinate buffer
TArray * fContent
Bin content.
THnSparseArrayChunk(const THnSparseArrayChunk &)=delete
THnSparseArrayChunk & operator=(const THnSparseArrayChunk &)=delete
void AddBin(Int_t idx, const Char_t *idxbuf)
Create a new bin in this chunk.
Int_t fCoordinateAllocationSize
! Size of the allocated coordinate buffer; -1 means none or fCoordinatesSize
Efficient multidimensional histogram.
TObject()
TObject constructor.