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 |
THnSparse * | GetSparse () 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_t * | fValue |
Int_t | fDim |
Int_t | fBins |
Long_t | fNum |
Double_t | fTime [2][2] |
THnSparse * | fSparse |
TH1 * | fHist |
Float_t * | fArray |
Static Private Attributes | |
static Int_t | fgDebug |
Definition at line 45 of file sparsehist.C.
enum TTimeHists::EHist |
Definition at line 47 of file sparsehist.C.
enum TTimeHists::ETime |
Definition at line 48 of file sparsehist.C.
Definition at line 49 of file sparsehist.C.
TTimeHists::~TTimeHists | ( | ) |
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.
static void TTimeHists::SetDebug | ( | Int_t | lvl | ) | [inline, static] |
THnSparse* TTimeHists::GetSparse | ( | ) | const [inline] |
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().
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] |
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().
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] |
Long_t TTimeHists::fNum [private] |
Double_t TTimeHists::fTime[2][2] [private] |
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] |