GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
TDecayChain Class Reference

Definition at line 265 of file TDecay.h.

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 TDecayFitGetChainFunc ()
 
Int_t GetChainId () const
 
TSingleDecayGetDecay (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

TDecayFitfChainFunc
 
Int_t fChainId {0}
 
std::vector< TSingleDecay * > fDecayChain
 

Static Private Attributes

static UInt_t fChainCounter = 0
 

#include <TDecay.h>

+ Inheritance diagram for TDecayChain:
+ Collaboration diagram for TDecayChain:

Constructor & Destructor Documentation

◆ TDecayChain() [1/2]

TDecayChain::TDecayChain ( )

Definition at line 489 of file TDecay.cxx.

◆ TDecayChain() [2/2]

TDecayChain::TDecayChain ( UInt_t  generations)

◆ ~TDecayChain()

TDecayChain::~TDecayChain ( )
override

Definition at line 517 of file TDecay.cxx.

Member Function Documentation

◆ AddToChain()

void TDecayChain::AddToChain ( TSingleDecay decay)
private

Definition at line 578 of file TDecay.cxx.

References fDecayChain.

◆ ChainActivityFunc()

Double_t TDecayChain::ChainActivityFunc ( Double_t *  dim,
Double_t *  par 
)
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().

◆ Draw()

void TDecayChain::Draw ( Option_t *  opt = "")
override

Definition at line 557 of file TDecay.cxx.

References fChainFunc, and SetChainParameters().

◆ DrawComponents()

void TDecayChain::DrawComponents ( Option_t *  opt = "",
Bool_t  color_flag = true 
)
overridevirtual

Reimplemented from TVirtualDecay.

Definition at line 563 of file TDecay.cxx.

References fDecayChain, and SetChainParameters().

◆ Eval()

Double_t TDecayChain::Eval ( Double_t  t) const

Definition at line 552 of file TDecay.cxx.

References fChainFunc.

◆ EvalPar()

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().

◆ Fit()

◆ GetChainFunc()

const TDecayFit* TDecayChain::GetChainFunc ( )
inline

Definition at line 280 of file TDecay.h.

References fChainFunc, and SetChainParameters().

◆ GetChainId()

Int_t TDecayChain::GetChainId ( ) const
inline

Definition at line 289 of file TDecay.h.

References fChainId.

◆ GetDecay()

TSingleDecay * TDecayChain::GetDecay ( UInt_t  generation)

Definition at line 585 of file TDecay.cxx.

References fDecayChain, and SetChainParameters().

Referenced by ChainActivityFunc().

◆ GetFitFunction()

TDecayFit const* TDecayChain::GetFitFunction ( )
inlineoverrideprivatevirtual

Implements TVirtualDecay.

Definition at line 295 of file TDecay.h.

References fChainFunc, and SetChainParameters().

◆ Print()

void TDecayChain::Print ( Option_t *  option = "") const
overridevirtual

Implements TVirtualDecay.

Definition at line 595 of file TDecay.cxx.

References fDecayChain.

◆ SetChainParameters()

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().

◆ SetRange()

void TDecayChain::SetRange ( Double_t  xlow,
Double_t  xhigh 
)

Definition at line 644 of file TDecay.cxx.

References fChainFunc, and fDecayChain.

◆ Size()

Int_t TDecayChain::Size ( ) const
inline

Definition at line 274 of file TDecay.h.

References fDecayChain.

Member Data Documentation

◆ fChainCounter

UInt_t TDecayChain::fChainCounter = 0
staticprivate

Definition at line 294 of file TDecay.h.

Referenced by TDecayChain().

◆ fChainFunc

TDecayFit* TDecayChain::fChainFunc
private

◆ fChainId

Int_t TDecayChain::fChainId {0}
private

Definition at line 304 of file TDecay.h.

Referenced by GetChainId(), and TDecayChain().

◆ fDecayChain

std::vector<TSingleDecay*> TDecayChain::fDecayChain
private