Go to the documentation of this file. 1 #ifndef PAIRANALYSISFUNCTION_H
2 #define PAIRANALYSISFUNCTION_H
13 #include <TDatabasePDG.h>
18 #include <TParticlePDG.h>
39 fPOI = TDatabasePDG::Instance()->GetParticle(
fPOIpdg);
61 void CombineFunc(TF1*
const peak = 0, TF1*
const bgnd = 0);
68 Double_t
PeakFunGauss(
const Double_t*
x,
const Double_t* par);
100 const Double_t* par);
PairAnalysisFunction & operator=(const PairAnalysisFunction &c)
void SetUseIntegral(Bool_t flag=kTRUE)
void SetFitRange(Double_t min, Double_t max)
void CombineFunc(TF1 *const peak=0, TF1 *const bgnd=0)
Double_t GetFitMin() const
Double_t GetFitMax() const
void SetFunctions(TF1 *const combined, TF1 *const sig=0, TF1 *const back=0, Int_t parM=1, Int_t parMres=2)
void SetDefaults(Int_t type)
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
void SetDefault(EFunction predefinedFunc)
Double_t PeakFunGauss(const Double_t *x, const Double_t *par)
void SetFitOption(const char *opt)
Int_t GetParticleOfInterest() const
void SetMCSignalShape(TH1F *hist)
Double_t PeakBgndFun(const Double_t *x, const Double_t *par)
Double_t GetChi2Dof() const
Double_t PeakFunMC(const Double_t *x, const Double_t *par)
static TH1F * fgHistSimPM
TF1 * GetCombinedFunction() const
void SetParticleOfInterest(Int_t pdgcode)
virtual ~PairAnalysisFunction()
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Double_t PeakFunPowGaussPow(const Double_t *x, const Double_t *par)
TF1 * GetBackgroundFunction() const
Double_t PeakFunCB(const Double_t *x, const Double_t *par)
Double_t PeakFunExpGaussExp(const Double_t *x, const Double_t *par)
TF1 * GetSignalFunction() const