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
EvtPythia Class Referencefinal

#include <EvtGenExternal/EvtPythia.hh>

Inheritance diagram for EvtPythia:
EvtDecayIncoherent EvtDecayBase

Public Member Functions

 EvtPythia ()=default
std::string getName () const override
EvtDecayBaseclone () const override
void initProbMax () override
void init () override
void decay (EvtParticle *p) override
std::string commandName () override
void command (std::string) 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 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 EvtIdgetDaugs () 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 Member Functions

void fixPolarisations (EvtParticle *p)

Private Attributes

EvtAbsExternalGenm_pythiaEngine { nullptr }
std::vector< std::string > m_commandList

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 37 of file EvtPythia.hh.

Constructor & Destructor Documentation

◆ EvtPythia()

EvtPythia::EvtPythia ( )
default

Member Function Documentation

◆ clone()

EvtDecayBase * EvtPythia::clone ( ) const
overridevirtual

Implements EvtDecayBase.

Definition at line 41 of file EvtPythia.cpp.

◆ command()

void EvtPythia::command ( std::string cmd)
overridevirtual

Reimplemented from EvtDecayBase.

Definition at line 134 of file EvtPythia.cpp.

◆ commandName()

std::string EvtPythia::commandName ( )
overridevirtual

Reimplemented from EvtDecayBase.

Definition at line 124 of file EvtPythia.cpp.

◆ decay()

void EvtPythia::decay ( EvtParticle * p)
overridevirtual

Implements EvtDecayBase.

Definition at line 58 of file EvtPythia.cpp.

◆ fixPolarisations()

void EvtPythia::fixPolarisations ( EvtParticle * p)
private

Definition at line 78 of file EvtPythia.cpp.

◆ getName()

std::string EvtPythia::getName ( ) const
overridevirtual

Implements EvtDecayBase.

Definition at line 36 of file EvtPythia.cpp.

◆ init()

void EvtPythia::init ( )
overridevirtual

Reimplemented from EvtDecayBase.

Definition at line 46 of file EvtPythia.cpp.

◆ initProbMax()

void EvtPythia::initProbMax ( )
overridevirtual

Reimplemented from EvtDecayBase.

Definition at line 53 of file EvtPythia.cpp.

Member Data Documentation

◆ m_commandList

std::vector<std::string> EvtPythia::m_commandList
private

Definition at line 59 of file EvtPythia.hh.

◆ m_pythiaEngine

EvtAbsExternalGen* EvtPythia::m_pythiaEngine { nullptr }
private

Definition at line 57 of file EvtPythia.hh.


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