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 176 of file PairAnalysisHelper.cxx.
void PairAnalysisHelper::Cumulate | ( | TH1 * | h, |
Bool_t | reverse = kFALSE, | ||
Bool_t | norm = kFALSE ) |
NOTE: addition +-1 for limits because of != loop
Definition at line 615 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 592 of file PairAnalysisHelper.cxx.
Referenced by CbmFastSim::Init().
Double_t PairAnalysisHelper::EvalFormula | ( | TFormula * | form, |
const Double_t * | values ) |
Definition at line 274 of file PairAnalysisHelper.cxx.
Referenced by PairAnalysisObjectCuts::IsSelected(), and PairAnalysisVarCuts::IsSelected().
TObject * PairAnalysisHelper::FindObjectByTitle | ( | TObjArray * | arrhist, |
TString | ref ) |
Definition at line 636 of file PairAnalysisHelper.cxx.
Double_t PairAnalysisHelper::GetContentMaximum | ( | TH1 * | h, |
Bool_t | inclErr = kTRUE ) |
Definition at line 510 of file PairAnalysisHelper.cxx.
Referenced by PairAnalysisSignalExt::Draw().
Double_t PairAnalysisHelper::GetContentMinimum | ( | TH1 * | h, |
Bool_t | inclErr = kTRUE ) |
Definition at line 479 of file PairAnalysisHelper.cxx.
Referenced by PairAnalysisSignalExt::Draw().
TString PairAnalysisHelper::GetDetName | ( | ECbmModuleId | det | ) |
Definition at line 466 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 325 of file PairAnalysisHelper.cxx.
References PairAnalysisVarManager::GetValueName().
Referenced by PairAnalysisObjectCuts::AddCut(), PairAnalysisObjectCuts::AddCut(), PairAnalysisObjectCuts::AddCut(), and PairAnalysisObjectCuts::AddCut().
TString PairAnalysisHelper::GetFormulaName | ( | TFormula * | form | ) |
Definition at line 310 of file PairAnalysisHelper.cxx.
References PairAnalysisVarManager::GetValueName().
TString PairAnalysisHelper::GetFormulaTitle | ( | TFormula * | form | ) |
Definition at line 287 of file PairAnalysisHelper.cxx.
References PairAnalysisVarManager::GetValueLabel().
TString PairAnalysisHelper::GetPDGlabel | ( | Int_t | pdg | ) |
Definition at line 381 of file PairAnalysisHelper.cxx.
Referenced by SetPDGBinLabels().
Int_t PairAnalysisHelper::GetPrecision | ( | Double_t | value | ) |
Definition at line 652 of file PairAnalysisHelper.cxx.
Double_t PairAnalysisHelper::GetQuantile | ( | TH1 * | h1, |
Double_t | p = 0.5 ) |
Definition at line 537 of file PairAnalysisHelper.cxx.
References pos.
TVectorD * PairAnalysisHelper::MakeArbitraryBinning | ( | const char * | bins | ) |
Definition at line 91 of file PairAnalysisHelper.cxx.
References Error.
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 120 of file PairAnalysisHelper.cxx.
TVectorD * PairAnalysisHelper::MakeLinBinning | ( | Int_t | nbinsX, |
Double_t | xmin, | ||
Double_t | xmax ) |
Definition at line 69 of file PairAnalysisHelper.cxx.
References first.
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 Error, first, and MakeLinBinning().
TVectorD * PairAnalysisHelper::MakePdgBinning | ( | ) |
Definition at line 247 of file PairAnalysisHelper.cxx.
References gr.
TArrayD * PairAnalysisHelper::MakeStatBinLimits | ( | TH1 * | h, |
Double_t | stat ) |
Definition at line 198 of file PairAnalysisHelper.cxx.
Referenced by PairAnalysisSignalExt::Process().
void PairAnalysisHelper::NormalizeSlicesY | ( | TH2 * | h | ) |
normalize
Definition at line 574 of file PairAnalysisHelper.cxx.
void PairAnalysisHelper::SetGEANTBinLabels | ( | TH1 * | hist | ) |
Definition at line 447 of file PairAnalysisHelper.cxx.
void PairAnalysisHelper::SetPDGBinLabels | ( | TH1 * | hist, |
Bool_t | clean ) |
Definition at line 344 of file PairAnalysisHelper.cxx.
References PairAnalysisStyler::GetFirstHistogram(), and GetPDGlabel().