1#ifndef PAIRANALYSISHELPER_H
2#define PAIRANALYSISHELPER_H
20#include <TVectorDfwd.h>
34 TVectorD*
MakeLogBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
35 TVectorD*
MakeLinBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
47 Double_t
EvalFormula(TFormula* form,
const Double_t* values);
50 TFormula*
GetFormula(
const char* name,
const char* formula);
65 void Cumulate(TH1*
h, Bool_t reverse = kFALSE, Bool_t norm = kFALSE);
Data class with information on a STS local track.
Int_t GetPrecision(Double_t value)
void NormalizeSlicesY(TH2 *h)
TString GetFormulaName(TFormula *form)
TObject * FindObjectByTitle(TObjArray *arrhist, TString ref)
TVectorD * MakePdgBinning()
void SetGEANTBinLabels(TH1 *hist)
TArrayD * MakeStatBinLimits(TH1 *h, Double_t stat)
TString GetFormulaTitle(TFormula *form)
Double_t GetQuantile(TH1 *h1, Double_t p=0.5)
void CumulateSlicesX(TH2 *h, Bool_t reverse=kFALSE, Bool_t norm=kFALSE)
Double_t GetContentMinimum(TH1 *h, Bool_t inclErr=kTRUE)
Double_t GetContentMaximum(TH1 *h, Bool_t inclErr=kTRUE)
TFormula * GetFormula(const char *name, const char *formula)
TVectorD * CombineBinning(TVectorD *low, TVectorD *high)
Double_t EvalFormula(TFormula *form, const Double_t *values)
TVectorD * MakeLinBinning(Int_t nbinsX, Double_t xmin, Double_t xmax)
TVectorD * MakeGausBinning(Int_t nbinsX, Double_t mean, Double_t sigma)
void SetPDGBinLabels(TH1 *hist, Bool_t clean)
TString GetDetName(ECbmModuleId det)
void Cumulate(TH1 *h, Bool_t reverse=kFALSE, Bool_t norm=kFALSE)
TString GetPDGlabel(Int_t pdg)
TVectorD * MakeArbitraryBinning(const char *bins)
TVectorD * MakeLogBinning(Int_t nbinsX, Double_t xmin, Double_t xmax)