1#ifndef PAIRANALYSISFUNCTION_H
2#define PAIRANALYSISFUNCTION_H
39 void SetFunction(TF1*
const combined, TF1*
const sig = 0, TF1*
const back = 0, Int_t parM = 1, Int_t parMres = 2);
49 Double_t
PeakFunGaus(
const Double_t*
x,
const Double_t* par);
59 virtual void Draw(
const Option_t* option =
"");
60 virtual void Print(Option_t* option =
"")
const;
Double_t GetChi2Dof() const
TF1 * GetSignalFunction() const
PairAnalysisFunction(const PairAnalysisFunction &c)
Double_t PeakBgndFun(const Double_t *x, const Double_t *par)
TF1 * GetCombinedFunction() const
Double_t PeakFunMC(const Double_t *x, const Double_t *par)
void CombineFunc(TF1 *const peak=0, TF1 *const bgnd=0)
virtual void Draw(const Option_t *option="")
Double_t PeakFunCB(const Double_t *x, const Double_t *par)
Double_t PeakFunGaus(const Double_t *x, const Double_t *par)
virtual ~PairAnalysisFunction()
void SetDefaults(Int_t type)
virtual void Print(Option_t *option="") const
TF1 * GetBackgroundFunction() const
void SetFunction(TF1 *const combined, TF1 *const sig=0, TF1 *const back=0, Int_t parM=1, Int_t parMres=2)
PairAnalysisFunction(const char *name, const char *title)
void SetFitOption(const char *opt)
void SetUseIntegral(Bool_t flag=kTRUE)
PairAnalysisFunction & operator=(const PairAnalysisFunction &c)