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.

#include <EvtGen/EvtGen.hh>

Public Member Functions

 EvtGen (const std::string &decayName, const std::string &pdtTableName, EvtRandomEngine *randomEngine=0, EvtAbsRadCorr *isrEngine=0, const std::list< EvtDecayBase * > *extraModels=0, int mixingType=1, bool useXml=false)
 
 EvtGen (const std::string &decayName, std::istream &pdtTableData, EvtRandomEngine *randomEngine=0, EvtAbsRadCorr *isrEngine=0, const std::list< EvtDecayBase * > *extraModels=0, int mixingType=1, bool useXml=false)
 
 ~EvtGen ()
 
void readUDecay (const std::string &udecay_name, bool useXml=false)
 
EvtHepMCEventgenerateDecay (int PDGid, EvtVector4R refFrameP4, EvtVector4R translation, EvtSpinDensity *spinDensity=0)
 
void generateDecay (EvtParticle *p)
 

Private Member Functions

void initialize (const std::string &decayName, std::istream &pdtTable, EvtRandomEngine *randomEngine=0, EvtAbsRadCorr *isrEngine=0, const std::list< EvtDecayBase * > *extraModels=0, int mixingType=1, bool useXml=false)
 

Private Attributes

EvtPDL _pdl
 
int _mixingType
 

Detailed Description

Definition at line 38 of file EvtGen.hh.

Constructor & Destructor Documentation

◆ EvtGen() [1/2]

EvtGen::EvtGen ( const std::string &  decayName,
const std::string &  pdtTableName,
EvtRandomEngine randomEngine = 0,
EvtAbsRadCorr isrEngine = 0,
const std::list< EvtDecayBase * > *  extraModels = 0,
int  mixingType = 1,
bool  useXml = false 
)

Definition at line 62 of file EvtGen.cpp.

◆ EvtGen() [2/2]

EvtGen::EvtGen ( const std::string &  decayName,
std::istream &  pdtTableData,
EvtRandomEngine randomEngine = 0,
EvtAbsRadCorr isrEngine = 0,
const std::list< EvtDecayBase * > *  extraModels = 0,
int  mixingType = 1,
bool  useXml = false 
)

Definition at line 78 of file EvtGen.cpp.

◆ ~EvtGen()

EvtGen::~EvtGen ( )

Definition at line 50 of file EvtGen.cpp.

Member Function Documentation

◆ generateDecay() [1/2]

EvtHepMCEvent * EvtGen::generateDecay ( int  PDGid,
EvtVector4R  refFrameP4,
EvtVector4R  translation,
EvtSpinDensity spinDensity = 0 
)

Definition at line 163 of file EvtGen.cpp.

◆ generateDecay() [2/2]

void EvtGen::generateDecay ( EvtParticle p)

Definition at line 186 of file EvtGen.cpp.

◆ initialize()

void EvtGen::initialize ( const std::string &  decayName,
std::istream &  pdtTable,
EvtRandomEngine randomEngine = 0,
EvtAbsRadCorr isrEngine = 0,
const std::list< EvtDecayBase * > *  extraModels = 0,
int  mixingType = 1,
bool  useXml = false 
)
private

Definition at line 87 of file EvtGen.cpp.

◆ readUDecay()

void EvtGen::readUDecay ( const std::string &  udecay_name,
bool  useXml = false 
)

Definition at line 139 of file EvtGen.cpp.

Member Data Documentation

◆ _mixingType

int EvtGen::_mixingType
private

Definition at line 69 of file EvtGen.hh.

◆ _pdl

EvtPDL EvtGen::_pdl
private

Definition at line 68 of file EvtGen.hh.


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