evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
EvtSingleParticle Class Reference

#include <EvtGenModels/EvtSingleParticle.hh>

Inheritance diagram for EvtSingleParticle:
EvtDecayIncoherent EvtDecayBase

Public Member Functions

std::string getName () override
 
EvtDecayBaseclone () override
 
void decay (EvtParticle *p) override
 
void init () override
 
- Public Member Functions inherited from EvtDecayIncoherent
void makeDecay (EvtParticle *p, bool recursive=true) override
 
virtual ~EvtDecayIncoherent ()
 
void setDaughterSpinDensity (int daughter)
 
int isDaughterSpinDensitySet (int daughter)
 
- Public Member Functions inherited from EvtDecayBase
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 ()
 
virtual ~EvtDecayBase ()=default
 
virtual bool matchingDecay (const EvtDecayBase &other) const
 
EvtId getParentId () const
 
double getBranchingFraction () const
 
void disableCheckQ ()
 
void checkQ ()
 
int getNDaug () const
 
EvtIdgetDaugs ()
 
EvtId getDaug (int i) const
 
int getNArg () const
 
int getPHOTOS () const
 
void setPHOTOS ()
 
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
 
int summary () const
 
int verbose () const
 
void saveDecayInfo (EvtId ipar, int ndaug, 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 ()
 

Private Attributes

double pmin
 
double pmax
 
double cthetamin
 
double cthetamax
 
double phimin
 
double phimax
 

Additional Inherited Members

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

Detailed Description

Definition at line 30 of file EvtSingleParticle.hh.

Member Function Documentation

◆ clone()

EvtDecayBase * EvtSingleParticle::clone ( )
overridevirtual

Implements EvtDecayBase.

Definition at line 39 of file EvtSingleParticle.cpp.

◆ decay()

void EvtSingleParticle::decay ( EvtParticle p)
overridevirtual

Implements EvtDecayBase.

Definition at line 107 of file EvtSingleParticle.cpp.

◆ getName()

std::string EvtSingleParticle::getName ( )
overridevirtual

Implements EvtDecayBase.

Definition at line 34 of file EvtSingleParticle.cpp.

◆ init()

void EvtSingleParticle::init ( )
overridevirtual

Reimplemented from EvtDecayBase.

Definition at line 44 of file EvtSingleParticle.cpp.

Member Data Documentation

◆ cthetamax

double EvtSingleParticle::cthetamax
private

Definition at line 42 of file EvtSingleParticle.hh.

◆ cthetamin

double EvtSingleParticle::cthetamin
private

Definition at line 42 of file EvtSingleParticle.hh.

◆ phimax

double EvtSingleParticle::phimax
private

Definition at line 43 of file EvtSingleParticle.hh.

◆ phimin

double EvtSingleParticle::phimin
private

Definition at line 43 of file EvtSingleParticle.hh.

◆ pmax

double EvtSingleParticle::pmax
private

Definition at line 41 of file EvtSingleParticle.hh.

◆ pmin

double EvtSingleParticle::pmin
private

Definition at line 41 of file EvtSingleParticle.hh.


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