

Public Member Functions | |
| TDecayFit () | |
| TDecayFit (const char *name, const char *formula, Double_t xmin=0, Double_t xmax=1) | |
| TDecayFit (const char *name, Double_t xmin, Double_t xmax, Int_t npar) | |
| TDecayFit (const char *name, ROOT::Math::ParamFunctor f, Double_t xmin=0, Double_t xmax=1, Int_t npar=0) | |
| TDecayFit (const char *name, Double_t(*fcn)(Double_t *, Double_t *), Double_t xmin=0, Double_t xmax=1, Int_t npar=0) | |
| TDecayFit (const char *name, Double_t(*fcn)(const Double_t *, const Double_t *), Double_t xmin=0, Double_t xmax=1, Int_t npar=0) | |
| template<class PtrObj , typename MemFn > | |
| TDecayFit (const char *name, const PtrObj &p, MemFn memFn, Double_t xmin, Double_t xmax, Int_t npar, const char *className=nullptr, const char *methodName=nullptr) | |
| template<typename Func > | |
| TDecayFit (const char *name, Func f, Double_t xmin, Double_t xmax, Int_t npar, const char *className=nullptr) | |
| ~TDecayFit () override | |
| void | DrawComponents () const |
| void | DrawResiduals () |
| TFitResultPtr | Fit (TH1 *hist, Option_t *opt="") |
| TVirtualDecay * | GetDecay () const |
| TGraph * | GetResiduals () |
| void | Print (Option_t *opt="") const override |
| void | SetDecay (TVirtualDecay *decay) |
| void | UpdateResiduals (TH1 *hist) |
Private Member Functions | |
| void | DefaultGraphs () |
Private Attributes | |
| TVirtualDecay * | fDecay |
| TGraph | fResiduals |
#include <TDecay.h>
Inheritance diagram for TDecayFit:
Collaboration diagram for TDecayFit:
|
inline |
Definition at line 28 of file TDecay.h.
References DefaultGraphs().
|
inline |
Definition at line 33 of file TDecay.h.
References DefaultGraphs().
|
inline |
Definition at line 37 of file TDecay.h.
References DefaultGraphs().
|
inline |
Definition at line 43 of file TDecay.h.
References DefaultGraphs().
|
inline |
Definition at line 49 of file TDecay.h.
References DefaultGraphs().
|
inline |
Definition at line 58 of file TDecay.h.
References DefaultGraphs().
|
inline |
Definition at line 66 of file TDecay.h.
References DefaultGraphs().
|
overridedefault |
|
private |
| void TDecayFit::DrawComponents | ( | ) | const |
This draws the individual components on the current canvas
Definition at line 21 of file TDecay.cxx.
References TVirtualDecay::DrawComponents(), and fDecay.
| void TDecayFit::DrawResiduals | ( | ) |
Definition at line 110 of file TDecay.cxx.
References fResiduals.
| TFitResultPtr TDecayFit::Fit | ( | TH1 * | hist, |
| Option_t * | opt = "" |
||
| ) |
Definition at line 45 of file TDecay.cxx.
References hist, and UpdateResiduals().
Referenced by TSingleDecay::Fit(), TDecayChain::Fit(), and TDecay::Fit().
| TVirtualDecay * TDecayFit::GetDecay | ( | ) | const |
Definition at line 40 of file TDecay.cxx.
References fDecay.
Referenced by TDecay::Fit(), and TDecay::SetParameters().
|
inline |
Definition at line 80 of file TDecay.h.
References fResiduals.
Referenced by TDecay::GetResiduals().
|
override |
This prints the parameters of the fit (decay rate, intensities, etc...)
Definition at line 33 of file TDecay.cxx.
References fDecay.
| void TDecayFit::SetDecay | ( | TVirtualDecay * | decay | ) |
This tells the TDecayFit which TVirtualDecay it belongs to
Definition at line 27 of file TDecay.cxx.
References fDecay.
Referenced by TDecay::SetParameters(), TDecay::TDecay(), TDecayChain::TDecayChain(), and TSingleDecay::TSingleDecay().
| void TDecayFit::UpdateResiduals | ( | TH1 * | hist | ) |
GetHist()->GetBinError(i));// + GetParameter("Height") + 10.;
Definition at line 77 of file TDecay.cxx.
References fResiduals, and hist.
Referenced by Fit().
|
private |
Definition at line 87 of file TDecay.h.
Referenced by DrawComponents(), GetDecay(), Print(), and SetDecay().
|
private |
Definition at line 88 of file TDecay.h.
Referenced by DefaultGraphs(), DrawResiduals(), GetResiduals(), and UpdateResiduals().