DstarDmFitterMeSiExSq
class description - source file - inheritance tree
private:
static Double_t BackgrFct(Double_t* x, Double_t* par)
static Double_t FitFct(Double_t* x, Double_t* par)
protected:
virtual void AddBackgrToHist()
virtual Double_t DetermNDstarStart(Double_t backgrNormStart)
virtual Int_t DoTheFit(Double_t backgrNormStart, Double_t nDstarStart)
virtual void SetHistReal(TH1*, TH1* hDummy, Bool_t defaultFitValues)
public:
DstarDmFitterMeSiExSq(TH1* = 0)
DstarDmFitterMeSiExSq(const DstarDmFitterSpecial_I&)
DstarDmFitterMeSiExSq(const DstarDmFitterMeSiExSq&)
virtual ~DstarDmFitterMeSiExSq()
static TClass* Class()
virtual Bool_t Fit(Int_t mode)
virtual Double_t GetBackgrExp() const
virtual Double_t GetBackgrNorm() const
virtual Double_t GetBackgrNormErr() const
virtual Double_t GetBackgrSqr() const
virtual TF1* GetFittedBackgrFunc() const
virtual TF1* GetFittedFunc() const
virtual Double_t GetMean() const
virtual Double_t GetNDstar() const
virtual Double_t GetNDstarErr() const
virtual Double_t GetSigma() const
virtual Double_t GetSignalBack() const
virtual TClass* IsA() const
virtual DstarDmFitterMeSiExSq& operator=(const DstarDmFitterMeSiExSq& rhs)
virtual DstarDmFitterMeSiExSq& operator=(const DstarDmFitterSpecial_I& rhs)
virtual void SetBackgrExp()
virtual void SetBackgrExp(Double_t e)
virtual void SetBackgrSqr()
virtual void SetBackgrSqr(Double_t s)
virtual void SetMean()
virtual void SetMean(Double_t m)
virtual void SetSigma()
virtual void SetSigma(Double_t s)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TF1* fDstarFitFormu
static Double_t fgSigma sigma of last fit, unfortunat. static!
static Double_t fgMean mean of last fit
static Double_t fgBackgrExp background exponent
static Double_t fgBackgrSqr background square factor
last update: $Date: 2005/11/26 18:47:45 $
by: $Author: flucke $
fitting class for D*-Analysis:
fits delta-mass-plots (m_{Kpipis} - m_{Kpi})
(for use in ROOT 3.00_06 or higher only!)
performs the 'smart' fits with fixed mean,
sigma, U_exp and U_sqr for DstarDmFitter,
so please use that class!
DstarDmFitterMeSiExSq(TH1* hist)
contructor: hist is the histogram to fit (may not be a TH2*!)
DstarDmFitterMeSiExSq(const DstarDmFitterMeSiExSq& source)
DstarDmFitterMeSiExSq(const DstarDmFitterSpecial_I& source)
~DstarDmFitterMeSiExSq()
deletes all possibly created objects that members point at
void SetHistReal(TH1* histo, TH1* hDummy,
Bool_t defaultSigmaMeanExpSqr)
by default defaultSigmaMeanExpSqr is kFALSE,
if kTRUE,
Sigma, Mean, BackgrExp and BackgrSqr are set to the default.
Double_t GetBackgrNorm() const
get normalisation factor of background
Double_t GetBackgrNormErr() const
get error of normalisation factor of background
Double_t GetNDstar() const
get N(D*)
Double_t GetNDstarErr() const
get sigma(N(D*))
Double_t GetSignalBack() const
Get ratio of signal over background of last fit
in (fgMean +- 2*fgSigma)-region.
Gives 0.0 if MC or any other strange result,
but doesn't check whether you have not fitted yet.
may give wrong results if another instance of this class
has set it's mean etc.!
TF1* GetFittedFunc() const
pointer to fitted function associated with the histogram
TF1* GetFittedBackgrFunc() const
pointer to the background part of the fitted function associated with the histogram
Bool_t Fit(Int_t mode)
performs the Delta-m fit.
mode is ignored: depends on class itself!
void AddBackgrToHist()
Int_t DoTheFit(Double_t backgrNormStart,
Double_t nDstarStart)
does the fit having found startvalues
Double_t DetermNDstarStart(Double_t backgrNormStart)
determines start value of N(D*)
Double_t BackgrFct(Double_t *x, Double_t *par)
background fitting fct:
par[0]: normalisation
x[0]: deltaM
Double_t FitFct(Double_t* x, Double_t* par)
fitting function:
par[0]: normalisation of background
par[1]: N(D*)
x[0]: deltaM
Inline Functions
DstarDmFitterMeSiExSq& operator=(const DstarDmFitterMeSiExSq& rhs)
DstarDmFitterMeSiExSq& operator=(const DstarDmFitterSpecial_I& rhs)
void SetSigma()
void SetSigma(Double_t s)
void SetMean()
void SetMean(Double_t m)
void SetBackgrExp()
void SetBackgrExp(Double_t e)
void SetBackgrSqr()
void SetBackgrSqr(Double_t s)
Double_t GetSigma() const
Double_t GetMean() const
Double_t GetBackgrExp() const
Double_t GetBackgrSqr() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Author: Gero Flucke
Last update: Wed Jan 11 14:05:49 2006
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.