CbmRoot
|
Functions | |
TVectorD * | MakeLogBinning (Int_t nbinsX, Double_t xmin, Double_t xmax) |
TVectorD * | MakeLinBinning (Int_t nbinsX, Double_t xmin, Double_t xmax) |
TVectorD * | MakeArbitraryBinning (const char *bins) |
TVectorD * | MakeGausBinning (Int_t nbinsX, Double_t mean, Double_t sigma) |
TVectorD * | CombineBinning (TVectorD *low, TVectorD *high) |
TArrayD * | MakeStatBinLimits (TH1 *h, Double_t stat) |
TVectorD * | MakePdgBinning () |
Double_t | EvalFormula (TFormula *form, const Double_t *values) |
TString | GetFormulaTitle (TFormula *form) |
TString | GetFormulaName (TFormula *form) |
TFormula * | GetFormula (const char *name, const char *formula) |
void | SetPDGBinLabels (TH1 *hist, Bool_t clean) |
TString | GetPDGlabel (Int_t pdg) |
void | SetGEANTBinLabels (TH1 *hist) |
TString | GetDetName (ECbmModuleId det) |
Double_t | GetContentMinimum (TH1 *h, Bool_t inclErr=kTRUE) |
Double_t | GetContentMaximum (TH1 *h, Bool_t inclErr=kTRUE) |
Double_t | GetQuantile (TH1 *h1, Double_t p=0.5) |
void | NormalizeSlicesY (TH2 *h) |
void | CumulateSlicesX (TH2 *h, Bool_t reverse=kFALSE, Bool_t norm=kFALSE) |
void | Cumulate (TH1 *h, Bool_t reverse=kFALSE, Bool_t norm=kFALSE) |
TObject * | FindObjectByTitle (TObjArray *arrhist, TString ref) |
Int_t | GetPrecision (Double_t value) |
TVectorD * PairAnalysisHelper::CombineBinning | ( | TVectorD * | low, |
TVectorD * | high | ||
) |
Definition at line 180 of file PairAnalysisHelper.cxx.
References i.
void PairAnalysisHelper::Cumulate | ( | TH1 * | h, |
Bool_t | reverse = kFALSE , |
||
Bool_t | norm = kFALSE |
||
) |
NOTE: addition +-1 for limits because of != loop
Definition at line 619 of file PairAnalysisHelper.cxx.
void PairAnalysisHelper::CumulateSlicesX | ( | TH2 * | h, |
Bool_t | reverse = kFALSE , |
||
Bool_t | norm = kFALSE |
||
) |
NOTE: addition +-1 for limits because of != loop
Definition at line 597 of file PairAnalysisHelper.cxx.
Referenced by CbmFastSim::Init().
Double_t PairAnalysisHelper::EvalFormula | ( | TFormula * | form, |
const Double_t * | values | ||
) |
Definition at line 278 of file PairAnalysisHelper.cxx.
Referenced by PairAnalysisVarCuts::IsSelected(), and PairAnalysisObjectCuts::IsSelected().
TObject * PairAnalysisHelper::FindObjectByTitle | ( | TObjArray * | arrhist, |
TString | ref | ||
) |
Definition at line 639 of file PairAnalysisHelper.cxx.
References i.
Double_t PairAnalysisHelper::GetContentMaximum | ( | TH1 * | h, |
Bool_t | inclErr = kTRUE |
||
) |
Definition at line 513 of file PairAnalysisHelper.cxx.
Referenced by PairAnalysisSignalExt::Draw().
Double_t PairAnalysisHelper::GetContentMinimum | ( | TH1 * | h, |
Bool_t | inclErr = kTRUE |
||
) |
Definition at line 480 of file PairAnalysisHelper.cxx.
Referenced by PairAnalysisSignalExt::Draw().
TString PairAnalysisHelper::GetDetName | ( | ECbmModuleId | det | ) |
Definition at line 468 of file PairAnalysisHelper.cxx.
References CbmModuleList::GetModuleNameCaps().
Referenced by PairAnalysisCutQA::Fill(), PairAnalysisCutQA::FillAll(), PairAnalysis::FillHistograms(), PairAnalysis::FillHistogramsHits(), PairAnalysis::FillMCHistograms(), and PairAnalysisCutQA::Init().
TFormula * PairAnalysisHelper::GetFormula | ( | const char * | name, |
const char * | formula | ||
) |
Definition at line 330 of file PairAnalysisHelper.cxx.
References PairAnalysisVarManager::GetValueName(), and i.
Referenced by PairAnalysisObjectCuts::AddCut().
TString PairAnalysisHelper::GetFormulaName | ( | TFormula * | form | ) |
Definition at line 315 of file PairAnalysisHelper.cxx.
References PairAnalysisVarManager::GetValueName().
TString PairAnalysisHelper::GetFormulaTitle | ( | TFormula * | form | ) |
Definition at line 291 of file PairAnalysisHelper.cxx.
References PairAnalysisVarManager::GetValueLabel().
TString PairAnalysisHelper::GetPDGlabel | ( | Int_t | pdg | ) |
Definition at line 386 of file PairAnalysisHelper.cxx.
Referenced by SetPDGBinLabels().
Int_t PairAnalysisHelper::GetPrecision | ( | Double_t | value | ) |
Definition at line 657 of file PairAnalysisHelper.cxx.
Double_t PairAnalysisHelper::GetQuantile | ( | TH1 * | h1, |
Double_t | p = 0.5 |
||
) |
Definition at line 541 of file PairAnalysisHelper.cxx.
TVectorD * PairAnalysisHelper::MakeArbitraryBinning | ( | const char * | bins | ) |
Definition at line 91 of file PairAnalysisHelper.cxx.
TVectorD * PairAnalysisHelper::MakeGausBinning | ( | Int_t | nbinsX, |
Double_t | mean, | ||
Double_t | sigma | ||
) |
normalize with sum
condition for bin limit
set value to vector
next bin and limit
fix end integral value
store prevoius integral value
Definition at line 122 of file PairAnalysisHelper.cxx.
TVectorD * PairAnalysisHelper::MakeLinBinning | ( | Int_t | nbinsX, |
Double_t | xmin, | ||
Double_t | xmax | ||
) |
Definition at line 70 of file PairAnalysisHelper.cxx.
Referenced by PairAnalysisCutQA::Init(), and MakeLogBinning().
TVectorD * PairAnalysisHelper::MakeLogBinning | ( | Int_t | nbinsX, |
Double_t | xmin, | ||
Double_t | xmax | ||
) |
Definition at line 40 of file PairAnalysisHelper.cxx.
References first, i, and MakeLinBinning().
TVectorD * PairAnalysisHelper::MakePdgBinning | ( | ) |
Definition at line 252 of file PairAnalysisHelper.cxx.
TArrayD * PairAnalysisHelper::MakeStatBinLimits | ( | TH1 * | h, |
Double_t | stat | ||
) |
Definition at line 203 of file PairAnalysisHelper.cxx.
References i.
Referenced by PairAnalysisSignalExt::Process().
void PairAnalysisHelper::NormalizeSlicesY | ( | TH2 * | h | ) |
normalize
Definition at line 580 of file PairAnalysisHelper.cxx.
void PairAnalysisHelper::SetGEANTBinLabels | ( | TH1 * | hist | ) |
Definition at line 450 of file PairAnalysisHelper.cxx.
References i.
void PairAnalysisHelper::SetPDGBinLabels | ( | TH1 * | hist, |
Bool_t | clean | ||
) |
Definition at line 350 of file PairAnalysisHelper.cxx.
References PairAnalysisStyler::GetFirstHistogram(), GetPDGlabel(), and i.