THnSparseCompactBinCoord Class Reference

Inheritance diagram for THnSparseCompactBinCoord:

THnSparseCoordCompression List of all members.

Public Member Functions

 THnSparseCompactBinCoord (Int_t dim, const Int_t *nbins)
 ~THnSparseCompactBinCoord ()
Int_tGetCoord ()
const Char_tGetBuffer () const
ULong64_t GetHash () const
void UpdateCoord ()
void SetCoord (const Int_t *coord)
void SetBuffer (const Char_t *buf)

Private Attributes

ULong64_t fHash
Char_tfCoordBuffer
Int_tfCurrentBin

Detailed Description

Definition at line 269 of file THnSparse.cxx.


Constructor & Destructor Documentation

THnSparseCompactBinCoord::THnSparseCompactBinCoord ( Int_t  dim,
const Int_t nbins 
)

Definition at line 300 of file THnSparse.cxx.

References fCoordBuffer, fCurrentBin, THnSparseCoordCompression::GetBufferSize(), Long64_t, and size_t.

THnSparseCompactBinCoord::~THnSparseCompactBinCoord (  ) 

Definition at line 316 of file THnSparse.cxx.

References fCoordBuffer, and fCurrentBin.


Member Function Documentation

Int_t* THnSparseCompactBinCoord::GetCoord (  )  [inline]

Definition at line 273 of file THnSparse.cxx.

References fCurrentBin.

Referenced by THnSparse::GetBin().

const Char_t* THnSparseCompactBinCoord::GetBuffer (  )  const [inline]

Definition at line 274 of file THnSparse.cxx.

References fCoordBuffer.

Referenced by THnSparse::GetBinIndexForCurrentBin().

ULong64_t THnSparseCompactBinCoord::GetHash (  )  const [inline]

Definition at line 275 of file THnSparse.cxx.

References fHash.

Referenced by THnSparse::GetBinIndexForCurrentBin().

void THnSparseCompactBinCoord::UpdateCoord (  )  [inline]

Definition at line 276 of file THnSparse.cxx.

References fCoordBuffer, fCurrentBin, fHash, and THnSparseCoordCompression::SetBufferFromCoord().

Referenced by THnSparse::GetBin().

void THnSparseCompactBinCoord::SetCoord ( const Int_t coord  )  [inline]

Definition at line 279 of file THnSparse.cxx.

References fCoordBuffer, fCurrentBin, fHash, THnSparseCoordCompression::GetNdimensions(), and THnSparseCoordCompression::SetBufferFromCoord().

Referenced by THnSparse::AddBinContent(), THnSparse::GetBin(), THnSparse::GetBinContent(), THnSparse::GetBinError(), THnSparse::SetBinContent(), and THnSparse::SetBinError().

void THnSparseCompactBinCoord::SetBuffer ( const Char_t buf  )  [inline]

Definition at line 283 of file THnSparse.cxx.

References fCoordBuffer, fHash, THnSparseCoordCompression::GetBufferSize(), and THnSparseCoordCompression::GetHashFromBuffer().


Member Data Documentation

ULong64_t THnSparseCompactBinCoord::fHash [private]

Definition at line 289 of file THnSparse.cxx.

Referenced by GetHash(), SetBuffer(), SetCoord(), and UpdateCoord().

Char_t* THnSparseCompactBinCoord::fCoordBuffer [private]

Definition at line 290 of file THnSparse.cxx.

Referenced by GetBuffer(), SetBuffer(), SetCoord(), THnSparseCompactBinCoord(), UpdateCoord(), and ~THnSparseCompactBinCoord().

Int_t* THnSparseCompactBinCoord::fCurrentBin [private]

Definition at line 291 of file THnSparse.cxx.

Referenced by GetCoord(), SetCoord(), THnSparseCompactBinCoord(), UpdateCoord(), and ~THnSparseCompactBinCoord().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:41:38 2011 for ROOT_528-00b_version by  doxygen 1.5.1