Public Member Functions | |
TSingleDecay () | |
TSingleDecay (UInt_t generation, TSingleDecay *parent, Double_t tlow=0, Double_t thigh=10) | |
TSingleDecay (TSingleDecay *parent, Double_t tlow=0, Double_t thigh=10) | |
~TSingleDecay () override | |
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 (const Double_t &decayrate) |
void | FixDecayRate () |
void | FixHalfLife (const Double_t &halflife) |
void | FixHalfLife () |
void | FixIntensity (const Double_t &intensity) |
void | FixIntensity () |
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 () |
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 | |
TDecayFit const * | GetFitFunction () override |
void | SetChainId (Int_t id) |
void | SetDecayRateError (Double_t err) |
void | SetIntensityError (Double_t err) |
void | UpdateDecays () |
Private Attributes | |
Int_t | fChainId |
TSingleDecay * | fDaughter |
TDecayFit * | fDecayFunc |
Double_t | fDetectionEfficiency |
TSingleDecay * | fFirstParent |
UInt_t | fGeneration {0} |
TSingleDecay * | fParent |
TDecayFit * | fTotalDecayFunc |
Int_t | fUnId {0} |
Static Private Attributes | |
static UInt_t | fCounter = 0 |
Friends | |
class | TDecay |
class | TDecayChain |
class | TDecayFit |
#include <TDecay.h>
TSingleDecay::TSingleDecay | ( | UInt_t | generation, |
TSingleDecay * | parent, | ||
Double_t | tlow = 0 , |
||
Double_t | thigh = 10 |
||
) |
Definition at line 179 of file TDecay.cxx.
References ActivityFunc(), fCounter, fDecayFunc, fFirstParent, fGeneration, FixIntensity(), fParent, fTotalDecayFunc, fUnId, GetIntensity(), GetParentDecay(), SetDaughterDecay(), TDecayFit::SetDecay(), SetName(), SetRange(), SetTotalDecayParameters(), and TDecayFit.
TSingleDecay::TSingleDecay | ( | TSingleDecay * | parent, |
Double_t | tlow = 0 , |
||
Double_t | thigh = 10 |
||
) |
Definition at line 136 of file TDecay.cxx.
References ActivityFunc(), fCounter, fDecayFunc, fFirstParent, fGeneration, FixIntensity(), fParent, fTotalDecayFunc, fUnId, GetIntensity(), GetParentDecay(), SetDaughterDecay(), TDecayFit::SetDecay(), SetName(), SetRange(), SetTotalDecayParameters(), and TDecayFit.
|
override |
Definition at line 228 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 374 of file TDecay.cxx.
References fGeneration, fTotalDecayFunc, GetEfficiency(), GetGeneration(), and GetParentDecay().
Referenced by TSingleDecay().
|
override |
Definition at line 354 of file TDecay.cxx.
References fTotalDecayFunc, and SetTotalDecayParameters().
|
virtualinherited |
Reimplemented in TDecay, and TDecayChain.
Definition at line 120 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 360 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 367 of file TDecay.cxx.
References fTotalDecayFunc.
Referenced by TDecayChain::ChainActivityFunc().
TFitResultPtr TSingleDecay::Fit | ( | TH1 * | fithist, |
Option_t * | opt = "" |
||
) |
Definition at line 426 of file TDecay.cxx.
References fFirstParent, TDecayFit::Fit(), fTotalDecayFunc, GetDaughterDecay(), SetDecayRate(), SetDecayRateError(), SetIntensity(), SetIntensityError(), and SetTotalDecayParameters().
void TSingleDecay::Fix | ( | ) |
Definition at line 455 of file TDecay.cxx.
References FixHalfLife(), and FixIntensity().
|
inline |
Definition at line 169 of file TDecay.h.
References fDecayFunc, and UpdateDecays().
|
inline |
Definition at line 174 of file TDecay.h.
References fDecayFunc, GetDecayRate(), and UpdateDecays().
|
inline |
Definition at line 159 of file TDecay.h.
References fDecayFunc, and UpdateDecays().
|
inline |
Definition at line 164 of file TDecay.h.
References fDecayFunc, GetHalfLife(), and UpdateDecays().
Referenced by Fix().
|
inline |
Definition at line 179 of file TDecay.h.
References fDecayFunc.
|
inline |
Definition at line 180 of file TDecay.h.
References fDecayFunc, and GetIntensity().
Referenced by Fix(), and TSingleDecay().
|
inline |
TSingleDecay * TSingleDecay::GetDaughterDecay | ( | ) |
Definition at line 349 of file TDecay.cxx.
References fDaughter.
Referenced by Fit(), TDecayChain::Fit(), SetTotalDecayParameters(), and UpdateDecays().
|
inline |
Definition at line 227 of file TDecay.h.
References fDecayFunc.
Referenced by SetTotalDecayParameters(), and UpdateDecays().
|
inline |
|
inline |
Definition at line 134 of file TDecay.h.
References fDecayFunc.
Referenced by FixDecayRate(), GetHalfLifeError(), SetTotalDecayParameters(), and UpdateDecays().
|
inline |
void TSingleDecay::GetDecayRateLimits | ( | Double_t & | low, |
Double_t & | high | ||
) | const |
Definition at line 339 of file TDecay.cxx.
References fDecayFunc.
|
inline |
Definition at line 136 of file TDecay.h.
References fDetectionEfficiency.
Referenced by ActivityFunc(), and Print().
|
inlineoverrideprivatevirtual |
Implements TVirtualDecay.
Definition at line 242 of file TDecay.h.
References fTotalDecayFunc, and SetTotalDecayParameters().
|
inline |
Definition at line 129 of file TDecay.h.
References fGeneration.
Referenced by ActivityFunc(), and UpdateDecays().
|
inline |
Definition at line 130 of file TDecay.h.
References fDecayFunc.
Referenced by FixHalfLife(), GetHalfLifeError(), and Print().
|
inline |
Definition at line 137 of file TDecay.h.
References GetDecayRate(), GetDecayRateError(), and GetHalfLife().
Referenced by Print().
void TSingleDecay::GetHalfLifeLimits | ( | Double_t & | low, |
Double_t & | high | ||
) | const |
Definition at line 321 of file TDecay.cxx.
References fDecayFunc.
|
inline |
Definition at line 135 of file TDecay.h.
References fDecayFunc.
Referenced by FixIntensity(), Print(), SetTotalDecayParameters(), TSingleDecay(), and UpdateDecays().
|
inline |
void TSingleDecay::GetIntensityLimits | ( | Double_t & | low, |
Double_t & | high | ||
) | const |
Definition at line 334 of file TDecay.cxx.
References fDecayFunc, and fFirstParent.
|
inline |
Definition at line 199 of file TDecay.h.
References fTotalDecayFunc.
TSingleDecay * TSingleDecay::GetParentDecay | ( | ) |
Definition at line 344 of file TDecay.cxx.
References fParent.
Referenced by ActivityFunc(), and TSingleDecay().
|
inline |
Definition at line 228 of file TDecay.h.
References fTotalDecayFunc, and SetTotalDecayParameters().
|
overridevirtual |
Implements TVirtualDecay.
Definition at line 473 of file TDecay.cxx.
References fDaughter, fFirstParent, fParent, GetDecayId(), GetEfficiency(), GetHalfLife(), GetHalfLifeError(), GetIntensity(), and GetIntensityError().
void TSingleDecay::Release | ( | ) |
Definition at line 461 of file TDecay.cxx.
References ReleaseHalfLife(), and ReleaseIntensity().
|
inline |
Definition at line 188 of file TDecay.h.
References fDecayFunc.
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
Definition at line 148 of file TDecay.h.
References fDecayFunc, and UpdateDecays().
Referenced by Fit(), and TDecayChain::Fit().
|
inlineprivate |
Definition at line 212 of file TDecay.h.
References fDecayFunc.
Referenced by Fit(), and TDecayChain::Fit().
void TSingleDecay::SetDecayRateLimits | ( | const Double_t & | low, |
const Double_t & | high | ||
) |
Definition at line 315 of file TDecay.cxx.
References fDecayFunc, and UpdateDecays().
|
inline |
Definition at line 158 of file TDecay.h.
References fDetectionEfficiency.
|
inline |
Definition at line 143 of file TDecay.h.
References fDecayFunc, and UpdateDecays().
void TSingleDecay::SetHalfLifeLimits | ( | const Double_t & | low, |
const Double_t & | high | ||
) |
Definition at line 298 of file TDecay.cxx.
References fDecayFunc, and UpdateDecays().
|
inline |
Definition at line 153 of file TDecay.h.
References fDecayFunc, and UpdateDecays().
Referenced by Fit(), and TDecayChain::Fit().
|
inlineprivate |
Definition at line 213 of file TDecay.h.
References fDecayFunc.
Referenced by Fit(), and TDecayChain::Fit().
void TSingleDecay::SetIntensityLimits | ( | const Double_t & | low, |
const Double_t & | high | ||
) |
Definition at line 309 of file TDecay.cxx.
References fDecayFunc, fFirstParent, and UpdateDecays().
|
inline |
Definition at line 198 of file TDecay.h.
References fTotalDecayFunc.
|
inline |
Definition at line 205 of file TDecay.h.
References fDecayFunc, and fTotalDecayFunc.
|
inline |
Definition at line 200 of file TDecay.h.
References fDecayFunc, and fTotalDecayFunc.
|
override |
Definition at line 237 of file TDecay.cxx.
References fDecayFunc, fGeneration, and fTotalDecayFunc.
Referenced by TSingleDecay().
|
inline |
void TSingleDecay::SetRange | ( | Double_t | tlow, |
Double_t | thigh | ||
) |
Definition at line 467 of file TDecay.cxx.
References fDecayFunc, and fTotalDecayFunc.
Referenced by TSingleDecay().
void TSingleDecay::SetTotalDecayParameters | ( | ) |
Sets the total fit function to know about the other parmaters in the decay chain.
Definition at line 244 of file TDecay.cxx.
References fFirstParent, fTotalDecayFunc, GetDaughterDecay(), GetDecayFunc(), GetDecayRate(), GetIntensity(), and UpdateDecays().
Referenced by Draw(), Eval(), Fit(), GetFitFunction(), GetTotalDecayFunc(), and TSingleDecay().
|
private |
Updates the other decays in the chain to know that they have potential updates.
Definition at line 269 of file TDecay.cxx.
References fDecayFunc, fFirstParent, fTotalDecayFunc, GetDaughterDecay(), GetDecayFunc(), GetDecayRate(), GetGeneration(), and GetIntensity().
Referenced by TDecayChain::Fit(), FixDecayRate(), FixHalfLife(), SetDecayRate(), SetDecayRateLimits(), SetHalfLife(), SetHalfLifeLimits(), SetIntensity(), SetIntensityLimits(), and SetTotalDecayParameters().
|
friend |
|
friend |
Definition at line 113 of file TDecay.h.
Referenced by TSingleDecay().
|
private |
Definition at line 258 of file TDecay.h.
Referenced by GetChainId(), and SetChainId().
|
staticprivate |
Definition at line 257 of file TDecay.h.
Referenced by TSingleDecay().
|
private |
Definition at line 254 of file TDecay.h.
Referenced by GetDaughterDecay(), Print(), and SetDaughterDecay().
|
private |
Definition at line 251 of file TDecay.h.
Referenced by FixDecayRate(), FixHalfLife(), FixIntensity(), GetDecayFunc(), GetDecayRate(), GetDecayRateError(), GetDecayRateLimits(), GetHalfLife(), GetHalfLifeLimits(), GetIntensity(), GetIntensityError(), GetIntensityLimits(), ReleaseDecayRate(), ReleaseHalfLife(), ReleaseIntensity(), SetDecayRate(), SetDecayRateError(), SetDecayRateLimits(), SetHalfLife(), SetHalfLifeLimits(), SetIntensity(), SetIntensityError(), SetIntensityLimits(), SetMaximum(), SetMinimum(), SetName(), SetRange(), TSingleDecay(), UpdateDecays(), and ~TSingleDecay().
|
private |
Definition at line 250 of file TDecay.h.
Referenced by GetEfficiency(), and SetEfficiency().
|
private |
Definition at line 255 of file TDecay.h.
Referenced by Fit(), GetIntensityLimits(), Print(), SetIntensityLimits(), SetTotalDecayParameters(), TSingleDecay(), and UpdateDecays().
|
private |
Definition at line 249 of file TDecay.h.
Referenced by ActivityFunc(), GetGeneration(), SetName(), and TSingleDecay().
|
private |
Definition at line 253 of file TDecay.h.
Referenced by GetParentDecay(), Print(), SetParentDecay(), and TSingleDecay().
|
private |
Definition at line 252 of file TDecay.h.
Referenced by ActivityFunc(), Draw(), Eval(), EvalPar(), Fit(), GetFitFunction(), GetLineColor(), GetTotalDecayFunc(), SetLineColor(), SetMaximum(), SetMinimum(), SetName(), SetRange(), SetTotalDecayParameters(), TSingleDecay(), UpdateDecays(), and ~TSingleDecay().
|
private |
Definition at line 256 of file TDecay.h.
Referenced by GetDecayId(), SetDecayId(), and TSingleDecay().