Public Member Functions | |
TDecayChain () | |
TDecayChain (UInt_t generations) | |
~TDecayChain () override | |
void | Draw (Option_t *opt="") override |
void | DrawComponents (Option_t *opt="", Bool_t color_flag=true) override |
Double_t | Eval (Double_t t) const |
Double_t | EvalPar (const Double_t *x, const Double_t *par=nullptr) |
TFitResultPtr | Fit (TH1 *fithist, Option_t *opt="") |
const TDecayFit * | GetChainFunc () |
Int_t | GetChainId () const |
TSingleDecay * | GetDecay (UInt_t generation) |
void | Print (Option_t *option="") const override |
void | SetChainParameters () |
void | SetRange (Double_t xlow, Double_t xhigh) |
Int_t | Size () const |
Private Member Functions | |
void | AddToChain (TSingleDecay *decay) |
Double_t | ChainActivityFunc (Double_t *dim, Double_t *par) |
TDecayFit const * | GetFitFunction () override |
Private Attributes | |
TDecayFit * | fChainFunc |
Int_t | fChainId {0} |
std::vector< TSingleDecay * > | fDecayChain |
Static Private Attributes | |
static UInt_t | fChainCounter = 0 |
#include <TDecay.h>
TDecayChain::TDecayChain | ( | ) |
Definition at line 489 of file TDecay.cxx.
TDecayChain::TDecayChain | ( | UInt_t | generations | ) |
Definition at line 493 of file TDecay.cxx.
References ChainActivityFunc(), fChainCounter, fChainFunc, fChainId, fDecayChain, SetChainParameters(), and TDecayFit::SetDecay().
|
override |
Definition at line 517 of file TDecay.cxx.
|
private |
Definition at line 578 of file TDecay.cxx.
References fDecayChain.
|
private |
This fits the total activity caused by the entire chain.
Definition at line 541 of file TDecay.cxx.
References TSingleDecay::EvalPar(), fDecayChain, and GetDecay().
Referenced by TDecayChain().
|
override |
Definition at line 557 of file TDecay.cxx.
References fChainFunc, and SetChainParameters().
|
overridevirtual |
Reimplemented from TVirtualDecay.
Definition at line 563 of file TDecay.cxx.
References fDecayChain, and SetChainParameters().
Double_t TDecayChain::Eval | ( | Double_t | t | ) | const |
Definition at line 552 of file TDecay.cxx.
References fChainFunc.
Double_t TDecayChain::EvalPar | ( | const Double_t * | x, |
const Double_t * | par = nullptr |
||
) |
Definition at line 636 of file TDecay.cxx.
References fChainFunc, and SetChainParameters().
TFitResultPtr TDecayChain::Fit | ( | TH1 * | fithist, |
Option_t * | opt = "" |
||
) |
Definition at line 606 of file TDecay.cxx.
References fChainFunc, fDecayChain, TDecayFit::Fit(), TSingleDecay::GetDaughterDecay(), SetChainParameters(), TSingleDecay::SetDecayRate(), TSingleDecay::SetDecayRateError(), TSingleDecay::SetIntensity(), TSingleDecay::SetIntensityError(), and TSingleDecay::UpdateDecays().
|
inline |
Definition at line 280 of file TDecay.h.
References fChainFunc, and SetChainParameters().
|
inline |
TSingleDecay * TDecayChain::GetDecay | ( | UInt_t | generation | ) |
Definition at line 585 of file TDecay.cxx.
References fDecayChain, and SetChainParameters().
Referenced by ChainActivityFunc().
|
inlineoverrideprivatevirtual |
Implements TVirtualDecay.
Definition at line 295 of file TDecay.h.
References fChainFunc, and SetChainParameters().
|
overridevirtual |
void TDecayChain::SetChainParameters | ( | ) |
Definition at line 525 of file TDecay.cxx.
References fChainFunc, and fDecayChain.
Referenced by Draw(), DrawComponents(), EvalPar(), Fit(), GetChainFunc(), GetDecay(), GetFitFunction(), and TDecayChain().
void TDecayChain::SetRange | ( | Double_t | xlow, |
Double_t | xhigh | ||
) |
Definition at line 644 of file TDecay.cxx.
References fChainFunc, and fDecayChain.
|
inline |
Definition at line 274 of file TDecay.h.
References fDecayChain.
|
staticprivate |
Definition at line 294 of file TDecay.h.
Referenced by TDecayChain().
|
private |
Definition at line 303 of file TDecay.h.
Referenced by Draw(), Eval(), EvalPar(), Fit(), GetChainFunc(), GetFitFunction(), SetChainParameters(), SetRange(), and TDecayChain().
|
private |
Definition at line 304 of file TDecay.h.
Referenced by GetChainId(), and TDecayChain().
|
private |
Definition at line 302 of file TDecay.h.
Referenced by AddToChain(), ChainActivityFunc(), DrawComponents(), Fit(), GetDecay(), Print(), SetChainParameters(), SetRange(), Size(), and TDecayChain().