Inheritance diagram for THnSparseCoordCompression:
Public Member Functions | |
THnSparseCoordCompression (Int_t dim, const Int_t *nbins) | |
THnSparseCoordCompression (const THnSparseCoordCompression &other) | |
~THnSparseCoordCompression () | |
ULong64_t | GetHashFromBuffer (const Char_t *buf) const |
Int_t | GetBufferSize () const |
Int_t | GetNdimensions () const |
void | SetCoordFromBuffer (const Char_t *buf_in, Int_t *coord_out) const |
ULong64_t | SetBufferFromCoord (const Int_t *coord_in, Char_t *buf_out) const |
Protected Member Functions | |
Int_t | GetNumBits (Int_t n) const |
Private Attributes | |
Int_t | fNdimensions |
Int_t | fCoordBufferSize |
Int_t * | fBitOffsets |
Definition at line 49 of file THnSparse.cxx.
Definition at line 80 of file THnSparse.cxx.
References fBitOffsets, fCoordBufferSize, GetNumBits(), and i.
THnSparseCoordCompression::THnSparseCoordCompression | ( | const THnSparseCoordCompression & | other | ) |
Definition at line 100 of file THnSparse.cxx.
References fBitOffsets, fCoordBufferSize, and fNdimensions.
THnSparseCoordCompression::~THnSparseCoordCompression | ( | ) |
Definition at line 232 of file THnSparse.cxx.
References fCoordBufferSize, hash, and str.
Referenced by THnSparse::FillExMap(), THnSparseCompactBinCoord::SetBuffer(), and SetBufferFromCoord().
Int_t THnSparseCoordCompression::GetBufferSize | ( | ) | const [inline] |
Definition at line 56 of file THnSparse.cxx.
References fCoordBufferSize.
Referenced by THnSparse::GetBinContent(), THnSparse::GetSparseFractionMem(), THnSparseCompactBinCoord::SetBuffer(), and THnSparseCompactBinCoord::THnSparseCompactBinCoord().
Int_t THnSparseCoordCompression::GetNdimensions | ( | ) | const [inline] |
Definition at line 57 of file THnSparse.cxx.
References fNdimensions.
Referenced by THnSparseCompactBinCoord::SetCoord().
void THnSparseCoordCompression::SetCoordFromBuffer | ( | const Char_t * | buf_in, | |
Int_t * | coord_out | |||
) | const |
Definition at line 119 of file THnSparse.cxx.
References fBitOffsets, fNdimensions, i, n, nbits, and pbuf.
Referenced by THnSparse::GetBinContent().
ULong64_t THnSparseCoordCompression::SetBufferFromCoord | ( | const Int_t * | coord_in, | |
Char_t * | buf_out | |||
) | const |
Definition at line 146 of file THnSparse.cxx.
References fBitOffsets, fCoordBufferSize, fNdimensions, GetHashFromBuffer(), i, Long64_t, pbuf, and val.
Referenced by THnSparseCompactBinCoord::SetCoord(), and THnSparseCompactBinCoord::UpdateCoord().
Int_t THnSparseCoordCompression::fNdimensions [private] |
Definition at line 69 of file THnSparse.cxx.
Referenced by GetNdimensions(), SetBufferFromCoord(), SetCoordFromBuffer(), and THnSparseCoordCompression().
Definition at line 70 of file THnSparse.cxx.
Referenced by GetBufferSize(), GetHashFromBuffer(), SetBufferFromCoord(), and THnSparseCoordCompression().
Int_t* THnSparseCoordCompression::fBitOffsets [private] |
Definition at line 71 of file THnSparse.cxx.
Referenced by SetBufferFromCoord(), SetCoordFromBuffer(), THnSparseCoordCompression(), and ~THnSparseCoordCompression().