EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtDecayProb Class Reference

#include <EvtGenBase/EvtDecayProb.hh>

Inheritance diagram for EvtDecayProb:
EvtDecayBase EvtBsquark EvtDToKpienu EvtEtaLLPiPi EvtFlatQ2 EvtFourBodyPhsp EvtPi0Dalitz EvtY3SToY1SpipiMoxhay

Public Member Functions

void makeDecay (EvtParticle *p, bool recursive=true) override
void setProb (double prob)
double getProb ()
void setWeight (double weight)
Public Member Functions inherited from EvtDecayBase
virtual std::string getName () const =0
virtual void decay (EvtParticle *p)=0
virtual EvtDecayBase * clone () const =0
virtual void init ()
virtual void initProbMax ()
virtual std::string commandName ()
virtual void command (std::string cmd)
virtual std::string getParamName (int i)
virtual std::string getParamDefault (int i)
double getProbMax (double prob)
double resetProbMax (double prob)
 EvtDecayBase ()=default
virtual ~EvtDecayBase ()=default
virtual bool matchingDecay (const EvtDecayBase &other) const
EvtId getParentId () const
double getBranchingFraction () const
void disableCheckQ ()
void checkQ ()
int getNDaug () const
const EvtId * getDaugs () const
EvtId getDaug (int i) const
int getNArg () const
bool getFSR () const
void setFSR ()
void setVerbose ()
void setSummary ()
double * getArgs ()
std::string * getArgsStr ()
double getArg (unsigned int j)
double getStoredArg (int j) const
double getNStoredArg () const
std::string getArgStr (int j) const
std::string getModelName () const
int getDSum () const
bool summary () const
bool verbose () const
void saveDecayInfo (EvtId ipar, int ndaug, const EvtId *daug, int narg, std::vector< std::string > &args, std::string name, double brfr)
void printSummary () const
void printInfo () const
void setProbMax (double prbmx)
void noProbMax ()
void checkNArg (int a1, int a2=-1, int a3=-1, int a4=-1)
void checkNDaug (int d1, int d2=-1)
void checkSpinParent (EvtSpinType::spintype sp)
void checkSpinDaughter (int d1, EvtSpinType::spintype sp)
virtual int nRealDaughters () const

Private Attributes

double m_prob { 1.0 }
double m_weight { 1.0 }

Additional Inherited Members

Static Public Member Functions inherited from EvtDecayBase
static void findMasses (EvtParticle *p, int ndaugs, const EvtId daugs[10], double masses[10])
static void findMass (EvtParticle *p)
static double findMaxMass (EvtParticle *p)
Protected Member Functions inherited from EvtDecayBase
bool daugsDecayedByParentModel () const
Protected Attributes inherited from EvtDecayBase
bool m_daugsDecayedByParentModel

Detailed Description

Definition at line 28 of file EvtDecayProb.hh.

Member Function Documentation

◆ getProb()

double EvtDecayProb::getProb ( )
inline

Definition at line 33 of file EvtDecayProb.hh.

◆ makeDecay()

void EvtDecayProb::makeDecay ( EvtParticle * p,
bool recursive = true )
overridevirtual

Implements EvtDecayBase.

Definition at line 31 of file EvtDecayProb.cpp.

◆ setProb()

void EvtDecayProb::setProb ( double prob)
inline

Definition at line 32 of file EvtDecayProb.hh.

◆ setWeight()

void EvtDecayProb::setWeight ( double weight)
inline

Definition at line 34 of file EvtDecayProb.hh.

Member Data Documentation

◆ m_prob

double EvtDecayProb::m_prob { 1.0 }
private

Definition at line 37 of file EvtDecayProb.hh.

◆ m_weight

double EvtDecayProb::m_weight { 1.0 }
private

Definition at line 38 of file EvtDecayProb.hh.


The documentation for this class was generated from the following files: