TTimeHists Class Reference

List of all members.

Public Types

enum  EHist
enum  ETime

Public Member Functions

 TTimeHists (Int_t dim, Int_t bins, Long_t num)
 ~TTimeHists ()
bool Run ()
Double_t GetTime (EHist hist, ETime time) const
THnSparseGetSparse () const

Static Public Member Functions

static void SetDebug (Int_t lvl)

Protected Member Functions

void Fill (EHist hist)
Double_t Check (EHist hist)
void SetupHist (EHist hist)
void NextValues ()
void SetupValues ()

Private Attributes

Double_tfValue
Int_t fDim
Int_t fBins
Long_t fNum
Double_t fTime [2][2]
THnSparsefSparse
TH1fHist
Float_tfArray

Static Private Attributes

static Int_t fgDebug

Detailed Description

Definition at line 45 of file sparsehist.C.


Member Enumeration Documentation

enum TTimeHists::EHist

Definition at line 47 of file sparsehist.C.

enum TTimeHists::ETime

Definition at line 48 of file sparsehist.C.


Constructor & Destructor Documentation

TTimeHists::TTimeHists ( Int_t  dim,
Int_t  bins,
Long_t  num 
) [inline]

Definition at line 49 of file sparsehist.C.

TTimeHists::~TTimeHists (  ) 

Definition at line 81 of file sparsehist.C.

References fArray, fHist, fSparse, and fValue.


Member Function Documentation

bool TTimeHists::Run (  ) 

Definition at line 89 of file sparsehist.C.

References Check(), fBins, fDim, Fill(), fNum, fTime, h, kFALSE, Long64_t, SetupHist(), SetupValues(), and w.

Double_t TTimeHists::GetTime ( EHist  hist,
ETime  time 
) const [inline]

Definition at line 54 of file sparsehist.C.

References fTime, and kReal.

static void TTimeHists::SetDebug ( Int_t  lvl  )  [inline, static]

Definition at line 57 of file sparsehist.C.

References fgDebug.

THnSparse* TTimeHists::GetSparse (  )  const [inline]

Definition at line 58 of file sparsehist.C.

References fSparse.

void TTimeHists::Fill ( EHist  hist  )  [protected]

Definition at line 161 of file sparsehist.C.

References d, fArray, fBins, fDim, fgDebug, fHist, TH1::Fill(), THnSparse::Fill(), fNum, fSparse, fValue, kHist, n, and NextValues().

Referenced by Run().

Double_t TTimeHists::Check ( EHist  hist  )  [protected]

Definition at line 234 of file sparsehist.C.

References d, fArray, fBins, fDim, fgDebug, fHist, fNum, fSparse, TH1::GetBin(), THnSparse::GetBinContent(), TH1::GetBinContent(), THnSparse::GetNbins(), i, kHist, Long64_t, size, and x.

Referenced by Run().

void TTimeHists::SetupHist ( EHist  hist  )  [protected]

Definition at line 195 of file sparsehist.C.

References d, fArray, fBins, fDim, fHist, MemInfo_t::fMemFree, fSparse, TSystem::GetMemInfo(), gSystem, kHist, size, xmax, and xmin.

Referenced by Run().

void TTimeHists::NextValues (  )  [protected]

Definition at line 148 of file sparsehist.C.

References d, fDim, fValue, TRandom::Gaus(), and gRandom.

Referenced by Fill().

void TTimeHists::SetupValues (  )  [protected]

Definition at line 154 of file sparsehist.C.

References fDim, fValue, gRandom, and TRandom::SetSeed().

Referenced by Run().


Member Data Documentation

Double_t* TTimeHists::fValue [private]

Definition at line 68 of file sparsehist.C.

Referenced by Fill(), NextValues(), SetupValues(), and ~TTimeHists().

Int_t TTimeHists::fDim [private]

Definition at line 69 of file sparsehist.C.

Referenced by Check(), Fill(), NextValues(), Run(), SetupHist(), and SetupValues().

Int_t TTimeHists::fBins [private]

Definition at line 70 of file sparsehist.C.

Referenced by Check(), Fill(), Run(), and SetupHist().

Long_t TTimeHists::fNum [private]

Definition at line 71 of file sparsehist.C.

Referenced by Check(), Fill(), and Run().

Double_t TTimeHists::fTime[2][2] [private]

Definition at line 72 of file sparsehist.C.

Referenced by GetTime(), and Run().

THnSparse* TTimeHists::fSparse [private]

Definition at line 73 of file sparsehist.C.

Referenced by Check(), Fill(), GetSparse(), SetupHist(), and ~TTimeHists().

TH1* TTimeHists::fHist [private]

Definition at line 74 of file sparsehist.C.

Referenced by Check(), Fill(), SetupHist(), and ~TTimeHists().

Float_t* TTimeHists::fArray [private]

Definition at line 75 of file sparsehist.C.

Referenced by Check(), Fill(), SetupHist(), and ~TTimeHists().

Int_t TTimeHists::fgDebug [static, private]

Definition at line 76 of file sparsehist.C.

Referenced by Check(), Fill(), and SetDebug().


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