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 <EvtGenExternal/EvtExternalGenFactory.hh>

Public Types

enum  genId { PythiaGenId = 0, PhotosGenId, TauolaGenId }
 

Public Member Functions

EvtAbsExternalGengetGenerator (int genId=0)
 
void initialiseAllGenerators ()
 
void definePythiaGenerator (std::string xmlDir, bool convertPhysCodes, bool useEvtGenRandom=true)
 
void definePhotosGenerator (std::string photonType="gamma", bool useEvtGenRandom=true)
 
void defineTauolaGenerator (bool useEvtGenRandom=true)
 

Static Public Member Functions

static EvtExternalGenFactorygetInstance ()
 

Protected Types

typedef std::map< int, EvtAbsExternalGen * > ExtGenMap
 
typedef std::map< int, std::map< std::string, std::vector< std::string > > > ExtGenCommandMap
 

Protected Member Functions

 EvtExternalGenFactory ()
 
 ~EvtExternalGenFactory ()
 

Private Member Functions

 EvtExternalGenFactory (const EvtExternalGenFactory &)
 

Private Attributes

ExtGenMap _extGenMap
 
ExtGenCommandMap _extGenCommandMap
 

Detailed Description

Definition at line 31 of file EvtExternalGenFactory.hh.

Member Typedef Documentation

◆ ExtGenCommandMap

typedef std::map<int, std::map<std::string, std::vector<std::string> > > EvtExternalGenFactory::ExtGenCommandMap
protected

Definition at line 61 of file EvtExternalGenFactory.hh.

◆ ExtGenMap

typedef std::map<int, EvtAbsExternalGen*> EvtExternalGenFactory::ExtGenMap
protected

Definition at line 60 of file EvtExternalGenFactory.hh.

Member Enumeration Documentation

◆ genId

Enumerator
PythiaGenId 
PhotosGenId 
TauolaGenId 

Definition at line 33 of file EvtExternalGenFactory.hh.

Constructor & Destructor Documentation

◆ EvtExternalGenFactory() [1/2]

EvtExternalGenFactory::EvtExternalGenFactory ( )
protected

Definition at line 41 of file EvtExternalGenFactory.cpp.

◆ ~EvtExternalGenFactory()

EvtExternalGenFactory::~EvtExternalGenFactory ( )
protected

Definition at line 46 of file EvtExternalGenFactory.cpp.

◆ EvtExternalGenFactory() [2/2]

EvtExternalGenFactory::EvtExternalGenFactory ( const EvtExternalGenFactory )
inlineprivate

Definition at line 64 of file EvtExternalGenFactory.hh.

Member Function Documentation

◆ definePhotosGenerator()

void EvtExternalGenFactory::definePhotosGenerator ( std::string  photonType = "gamma",
bool  useEvtGenRandom = true 
)

Definition at line 100 of file EvtExternalGenFactory.cpp.

◆ definePythiaGenerator()

void EvtExternalGenFactory::definePythiaGenerator ( std::string  xmlDir,
bool  convertPhysCodes,
bool  useEvtGenRandom = true 
)

Definition at line 68 of file EvtExternalGenFactory.cpp.

◆ defineTauolaGenerator()

void EvtExternalGenFactory::defineTauolaGenerator ( bool  useEvtGenRandom = true)

Definition at line 117 of file EvtExternalGenFactory.cpp.

◆ getGenerator()

EvtAbsExternalGen * EvtExternalGenFactory::getGenerator ( int  genId = 0)

Definition at line 131 of file EvtExternalGenFactory.cpp.

◆ getInstance()

EvtExternalGenFactory * EvtExternalGenFactory::getInstance ( )
static

Definition at line 57 of file EvtExternalGenFactory.cpp.

◆ initialiseAllGenerators()

void EvtExternalGenFactory::initialiseAllGenerators ( )

Definition at line 150 of file EvtExternalGenFactory.cpp.

Member Data Documentation

◆ _extGenCommandMap

ExtGenCommandMap EvtExternalGenFactory::_extGenCommandMap
private

Definition at line 67 of file EvtExternalGenFactory.hh.

◆ _extGenMap

ExtGenMap EvtExternalGenFactory::_extGenMap
private

Definition at line 64 of file EvtExternalGenFactory.hh.


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