GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
Public Member Functions | |
TSingleDecay () | |
TSingleDecay (const TSingleDecay &)=default | |
TSingleDecay (TSingleDecay &&) noexcept=default | |
TSingleDecay (TSingleDecay *parent, Double_t tlow=0, Double_t thigh=10) | |
TSingleDecay (UInt_t generation, TSingleDecay *parent, Double_t tlow=0, Double_t thigh=10) | |
~TSingleDecay () | |
Double_t | ActivityFunc (Double_t *dim, Double_t *par) |
void | Draw (Option_t *option="") override |
virtual void | DrawComponents (Option_t *opt="", Bool_t color_flag=true) |
Double_t | Eval (Double_t t) |
Double_t | EvalPar (const Double_t *x, const Double_t *par=nullptr) |
TFitResultPtr | Fit (TH1 *fithist, Option_t *opt="") |
void | Fix () |
void | FixDecayRate () |
void | FixDecayRate (const Double_t &decayrate) |
void | FixHalfLife () |
void | FixHalfLife (const Double_t &halflife) |
void | FixIntensity () |
void | FixIntensity (const Double_t &intensity) |
Int_t | GetChainId () const |
TSingleDecay * | GetDaughterDecay () |
const TDecayFit * | GetDecayFunc () const |
Int_t | GetDecayId () const |
Double_t | GetDecayRate () const |
Double_t | GetDecayRateError () const |
void | GetDecayRateLimits (Double_t &low, Double_t &high) const |
Double_t | GetEfficiency () const |
UInt_t | GetGeneration () const |
Double_t | GetHalfLife () const |
Double_t | GetHalfLifeError () const |
void | GetHalfLifeLimits (Double_t &low, Double_t &high) const |
Double_t | GetIntensity () const |
Double_t | GetIntensityError () const |
void | GetIntensityLimits (Double_t &low, Double_t &high) const |
Color_t | GetLineColor () const |
TSingleDecay * | GetParentDecay () |
const TDecayFit * | GetTotalDecayFunc () |
TSingleDecay & | operator= (const TSingleDecay &)=default |
TSingleDecay & | operator= (TSingleDecay &&) noexcept=default |
void | Print (Option_t *option="") const override |
void | Release () |
void | ReleaseDecayRate () |
void | ReleaseHalfLife () |
void | ReleaseIntensity () |
void | SetDaughterDecay (TSingleDecay *daughter) |
void | SetDecayId (Int_t Id) |
void | SetDecayRate (const Double_t &decayrate) |
void | SetDecayRateLimits (const Double_t &low, const Double_t &high) |
void | SetEfficiency (const Double_t &eff) |
void | SetHalfLife (const Double_t &halflife) |
void | SetHalfLifeLimits (const Double_t &low, const Double_t &high) |
void | SetIntensity (const Double_t &intens) |
void | SetIntensityLimits (const Double_t &low, const Double_t &high) |
void | SetLineColor (Color_t color) |
void | SetMaximum (Double_t max) |
void | SetMinimum (Double_t min) |
void | SetName (const char *name) override |
void | SetParentDecay (TSingleDecay *parent) |
void | SetRange (Double_t tlow, Double_t thigh) |
void | SetTotalDecayParameters () |
Private Member Functions | |
const TDecayFit * | GetFitFunction () override |
void | SetChainId (Int_t id) |
void | SetDecayRateError (Double_t err) |
void | SetIntensityError (Double_t err) |
void | UpdateDecays () |
Private Attributes | |
Int_t | fChainId {-1} |
TSingleDecay * | fDaughter {nullptr} |
TDecayFit * | fDecayFunc {nullptr} |
Double_t | fDetectionEfficiency {0.} |
TSingleDecay * | fFirstParent {nullptr} |
UInt_t | fGeneration {0} |
TSingleDecay * | fParent {nullptr} |
TDecayFit * | fTotalDecayFunc {nullptr} |
Int_t | fUnId {0} |
Static Private Attributes | |
static UInt_t | fCounter = 0 |
Friends | |
class | TDecay |
class | TDecayChain |
class | TDecayFit |
TSingleDecay::TSingleDecay | ( | UInt_t | generation, |
TSingleDecay * | parent, | ||
Double_t | tlow = 0, | ||
Double_t | thigh = 10 ) |
Definition at line 151 of file TDecay.cxx.
References ActivityFunc(), fCounter, fDecayFunc, fFirstParent, fGeneration, FixIntensity(), fParent, fTotalDecayFunc, fUnId, GetIntensity(), GetParentDecay(), SetDaughterDecay(), TDecayFit::SetDecay(), SetName(), SetRange(), SetTotalDecayParameters(), and TDecayFit.
|
explicit |
Definition at line 109 of file TDecay.cxx.
References ActivityFunc(), fCounter, fDecayFunc, fFirstParent, fGeneration, FixIntensity(), fParent, fTotalDecayFunc, fUnId, GetIntensity(), GetParentDecay(), SetDaughterDecay(), TDecayFit::SetDecay(), SetName(), SetRange(), SetTotalDecayParameters(), and TDecayFit.
|
default |
|
defaultnoexcept |
TSingleDecay::~TSingleDecay | ( | ) |
Definition at line 199 of file TDecay.cxx.
References fDecayFunc, and fTotalDecayFunc.
Double_t TSingleDecay::ActivityFunc | ( | Double_t * | dim, |
Double_t * | par ) |
The general function for a decay chain par[0] is the intensity par[1*i] is the activity
Definition at line 347 of file TDecay.cxx.
References fGeneration, fTotalDecayFunc, GetEfficiency(), GetGeneration(), and GetParentDecay().
Referenced by TSingleDecay(), and TSingleDecay().
|
override |
Definition at line 327 of file TDecay.cxx.
References fTotalDecayFunc, and SetTotalDecayParameters().
|
virtualinherited |
Reimplemented in TDecay, and TDecayChain.
Definition at line 103 of file TDecay.cxx.
Referenced by TDecayFit::DrawComponents().
Double_t TSingleDecay::Eval | ( | Double_t | t | ) |
Evaluates the activity at a given time, t
Definition at line 333 of file TDecay.cxx.
References fTotalDecayFunc, and SetTotalDecayParameters().
Double_t TSingleDecay::EvalPar | ( | const Double_t * | x, |
const Double_t * | par = nullptr ) |
Evaluates the activity at a given time t using parameters par.
Definition at line 340 of file TDecay.cxx.
References fTotalDecayFunc.
Referenced by TDecayChain::ChainActivityFunc().
TFitResultPtr TSingleDecay::Fit | ( | TH1 * | fithist, |
Option_t * | opt = "" ) |
Definition at line 400 of file TDecay.cxx.
References fFirstParent, TDecayFit::Fit(), fTotalDecayFunc, GetDaughterDecay(), SetDecayRate(), SetDecayRateError(), SetIntensity(), SetIntensityError(), and SetTotalDecayParameters().
void TSingleDecay::Fix | ( | ) |
Definition at line 429 of file TDecay.cxx.
References FixHalfLife(), and FixIntensity().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 187 of file TDecay.h.
Referenced by TSingleDecay(), TSingleDecay(), and Fix().
|
inline |
TSingleDecay * TSingleDecay::GetDaughterDecay | ( | ) |
Definition at line 322 of file TDecay.cxx.
References fDaughter.
Referenced by TDecayChain::Fit(), Fit(), SetTotalDecayParameters(), and UpdateDecays().
|
inline |
Definition at line 225 of file TDecay.h.
Referenced by SetTotalDecayParameters(), and UpdateDecays().
|
inline |
|
inline |
Definition at line 141 of file TDecay.h.
Referenced by SetTotalDecayParameters(), and UpdateDecays().
void TSingleDecay::GetDecayRateLimits | ( | Double_t & | low, |
Double_t & | high ) const |
Definition at line 312 of file TDecay.cxx.
References fDecayFunc.
|
inline |
Definition at line 143 of file TDecay.h.
Referenced by ActivityFunc(), and Print().
|
inlineoverrideprivatevirtual |
Implements TVirtualDecay.
|
inline |
Definition at line 136 of file TDecay.h.
Referenced by ActivityFunc(), and UpdateDecays().
|
inline |
|
inline |
void TSingleDecay::GetHalfLifeLimits | ( | Double_t & | low, |
Double_t & | high ) const |
Definition at line 294 of file TDecay.cxx.
References fDecayFunc.
|
inline |
Definition at line 142 of file TDecay.h.
Referenced by TSingleDecay(), TSingleDecay(), Print(), SetTotalDecayParameters(), and UpdateDecays().
|
inline |
void TSingleDecay::GetIntensityLimits | ( | Double_t & | low, |
Double_t & | high ) const |
Definition at line 307 of file TDecay.cxx.
References fDecayFunc, and fFirstParent.
TSingleDecay * TSingleDecay::GetParentDecay | ( | ) |
Definition at line 317 of file TDecay.cxx.
References fParent.
Referenced by TSingleDecay(), TSingleDecay(), and ActivityFunc().
|
inline |
|
default |
|
defaultnoexcept |
|
overridevirtual |
Implements TVirtualDecay.
Definition at line 447 of file TDecay.cxx.
References fDaughter, fFirstParent, fParent, GetDecayId(), GetEfficiency(), GetHalfLife(), GetHalfLifeError(), GetIntensity(), and GetIntensityError().
void TSingleDecay::Release | ( | ) |
Definition at line 435 of file TDecay.cxx.
References ReleaseHalfLife(), and ReleaseIntensity().
|
inline |
|
inline |
|
inline |
Definition at line 218 of file TDecay.h.
Referenced by TSingleDecay(), and TSingleDecay().
|
inline |
Definition at line 155 of file TDecay.h.
Referenced by TDecayChain::Fit(), and Fit().
|
inlineprivate |
Definition at line 240 of file TDecay.h.
Referenced by TDecayChain::Fit(), and Fit().
void TSingleDecay::SetDecayRateLimits | ( | const Double_t & | low, |
const Double_t & | high ) |
Definition at line 288 of file TDecay.cxx.
References fDecayFunc, and UpdateDecays().
|
inline |
|
inline |
void TSingleDecay::SetHalfLifeLimits | ( | const Double_t & | low, |
const Double_t & | high ) |
Definition at line 271 of file TDecay.cxx.
References fDecayFunc, and UpdateDecays().
|
inline |
Definition at line 160 of file TDecay.h.
Referenced by TDecayChain::Fit(), and Fit().
|
inlineprivate |
Definition at line 241 of file TDecay.h.
Referenced by TDecayChain::Fit(), and Fit().
void TSingleDecay::SetIntensityLimits | ( | const Double_t & | low, |
const Double_t & | high ) |
Definition at line 282 of file TDecay.cxx.
References fDecayFunc, fFirstParent, and UpdateDecays().
|
override |
Definition at line 208 of file TDecay.cxx.
References fDecayFunc, fGeneration, and fTotalDecayFunc.
Referenced by TSingleDecay(), and TSingleDecay().
|
inline |
void TSingleDecay::SetRange | ( | Double_t | tlow, |
Double_t | thigh ) |
Definition at line 441 of file TDecay.cxx.
References fDecayFunc, and fTotalDecayFunc.
Referenced by TSingleDecay(), and TSingleDecay().
void TSingleDecay::SetTotalDecayParameters | ( | ) |
Sets the total fit function to know about the other parmaters in the decay chain.
Definition at line 215 of file TDecay.cxx.
References fFirstParent, fTotalDecayFunc, GetDaughterDecay(), GetDecayFunc(), GetDecayRate(), GetIntensity(), and UpdateDecays().
Referenced by TSingleDecay(), TSingleDecay(), Draw(), Eval(), and Fit().
|
private |
Updates the other decays in the chain to know that they have potential updates.
Definition at line 241 of file TDecay.cxx.
References fDecayFunc, fFirstParent, fTotalDecayFunc, GetDaughterDecay(), GetDecayFunc(), GetDecayRate(), GetGeneration(), and GetIntensity().
Referenced by TDecayChain::Fit(), SetDecayRateLimits(), SetHalfLifeLimits(), SetIntensityLimits(), and SetTotalDecayParameters().
|
friend |
|
friend |
Definition at line 118 of file TDecay.h.
Referenced by TSingleDecay(), and TSingleDecay().
|
staticprivate |
Definition at line 261 of file TDecay.h.
Referenced by TSingleDecay(), and TSingleDecay().
|
private |
Definition at line 258 of file TDecay.h.
Referenced by GetDaughterDecay(), and Print().
|
private |
Definition at line 255 of file TDecay.h.
Referenced by TSingleDecay(), TSingleDecay(), ~TSingleDecay(), GetDecayRateLimits(), GetHalfLifeLimits(), GetIntensityLimits(), SetDecayRateLimits(), SetHalfLifeLimits(), SetIntensityLimits(), SetName(), SetRange(), and UpdateDecays().
|
private |
Definition at line 259 of file TDecay.h.
Referenced by TSingleDecay(), TSingleDecay(), Fit(), GetIntensityLimits(), Print(), SetIntensityLimits(), SetTotalDecayParameters(), and UpdateDecays().
|
private |
Definition at line 253 of file TDecay.h.
Referenced by TSingleDecay(), TSingleDecay(), ActivityFunc(), and SetName().
|
private |
Definition at line 257 of file TDecay.h.
Referenced by TSingleDecay(), TSingleDecay(), GetParentDecay(), and Print().
|
private |
Definition at line 256 of file TDecay.h.
Referenced by TSingleDecay(), TSingleDecay(), ~TSingleDecay(), ActivityFunc(), Draw(), Eval(), EvalPar(), Fit(), SetName(), SetRange(), SetTotalDecayParameters(), and UpdateDecays().
|
private |
Definition at line 260 of file TDecay.h.
Referenced by TSingleDecay(), and TSingleDecay().