DecayChain Class Reference

Ratpac-two: RAT::DecayChain Class Reference
Ratpac-two
RAT::DecayChain Class Reference

Classes

struct  ParticleInfo_t
 

Public Member Functions

 DecayChain (const std::string Name)
 
void Reset ()
 
void Show ()
 
void AddElement (const std::string Name, int iLocation=1, int iDecay=DecayBeta, double tau=1., double wt=1.)
 
void RemoveElement (int iBranch)
 
void SetElementName (int iBranch, const std::string Name)
 
void SetElementNumber (int iBranch)
 
void SetElementBranch (int iBranch, int iLocation)
 
void SetElementWt (int iBranch, double wt=1.)
 
void SetElementDecay (int iBranch, int iDecay)
 
void SetLifetime (int iBranch, double tau)
 
bool ReadInputFile (const std::string dName)
 
const std::string GetElementName (int iBranch)
 
int GetElementBranch (int iBranch)
 
int GetElementDecay (int iBranch)
 
double GetElementWt (int iBranch)
 
double GetLifetime (int iBranch)
 
void SetInMiddleChain (bool inMiddle=false)
 
void SetAlphaDecayStart (bool alphaStart=false)
 
void SetGammaDecayStart (bool gammaStart=false)
 
void GenerateDecayElement (int iBranch)
 
void GenerateDecayElement (const std::string iElement)
 
void GenerateFullChain (const std::string iElement)
 
void GenerateFullChain (int iBranch=0)
 
void GenerateDecayChain (const std::string iNameStart)
 
void GenerateDecayChain (int iStart=0)
 
const std::string GetParentName (int iEvent)
 
const std::string GetDaughterName (int iEvent)
 
int GetEventID (int iEvent)
 
double GetEventEnergy (int iEvent)
 
double GetEventTime (int iEvent)
 
bool CheckParentMatch (int iEvent)
 
void SetDecaySequence ()
 
void SetElementProb (int iBranch, double prob)
 
void SetEventTime (int iEvent, double time)
 
double GetElementProb (int iBranch)
 
int CheckChainLevel (int iElement)
 
bool CheckInChain (int iElement, int jElement)
 
void SetParticleInfo (int iTag, int jTag, int kTag)
 
ParticleInfo_t AddDaughterInfo (int iTag)
 
ParticleInfo_t GetParticleInfo (int iEvent)
 
double GetRandomNumber (double rmin=0., double rmax=1.)
 
void SetVerbose (bool iSet=false)
 
void SetFileName (const std::string Name)
 
void SetChainName (const std::string Name)
 
void SetEquilibrium (bool iEq=true)
 
void SelectParent (const std::string iElement="ALL")
 
void SetNGenerated (int nP)
 
void IncludeDaughter (bool iSelect=true)
 
bool GetEquilibrium ()
 
int GetNElements ()
 
int GetElementNumber ()
 
int GetNGenerated ()
 
const std::string GetFileName ()
 
const std::string GetChainName ()
 

The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/include/RAT/DecayChain.hh
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/src/DecayChain.cc