21 #include "EvtGen_i/EvtGenExternal/EvtExternalGenList.hh"
23 #include "EvtGen_i/EvtGenExternal/EvtExternalGenFactory.hh"
24 #include "EvtGen_i/EvtGenExternal/EvtPHOTOS.hh"
25 #include "EvtGen_i/EvtGenExternal/EvtPythia.hh"
26 #include "EvtGen_i/EvtGenExternal/EvtTauola.hh"
43 EvtExternalGenList::EvtExternalGenList(
bool convertPythiaCodes,
44 const std::string& pythiaXmlDir,
45 const std::string& photonType,
49 EvtExternalGenFactory* extFactory = EvtExternalGenFactory::getInstance_mutable();
52 extFactory->definePhotosGenerator( photonType, useEvtGenRandom );
54 std::string xmlDir = pythiaXmlDir;
55 if ( pythiaXmlDir.empty() ) {
59 char* pythiaDataDir =
getenv(
"PYTHIA8DATA" );
60 if ( pythiaDataDir != 0 ) {
61 xmlDir = pythiaDataDir;
65 extFactory->definePythiaGenerator( xmlDir, convertPythiaCodes,
68 extFactory->defineTauolaGenerator( useEvtGenRandom );
71 EvtExternalGenList::~EvtExternalGenList()
75 EvtAbsRadCorr* EvtExternalGenList::getPhotosModel()
78 EvtPHOTOS* photosModel =
new EvtPHOTOS();
82 std::list<EvtDecayBase*> EvtExternalGenList::getListOfModels()
85 EvtPythia* pythiaModel =
new EvtPythia();
86 EvtTauola* tauolaModel =
new EvtTauola();
100 std::list<EvtDecayBase*> extraModels;
101 extraModels.push_back(pythiaModel);
102 extraModels.push_back(tauolaModel);
103 extraModels.push_back(evtB0toKsKK);
104 extraModels.push_back(evtBCL);
105 extraModels.push_back(evtBGL);
106 extraModels.push_back(evtBSemiTauonic);
107 extraModels.push_back(evtBSemiTauonic2HDMType2);
108 extraModels.push_back(evtEtaFullDalitz);
109 extraModels.push_back(evtEtaPi0Dalitz);
110 extraModels.push_back(evtEtaPrimeDalitz);
111 extraModels.push_back(evtHQET3);
112 extraModels.push_back(evtLLSW);
113 extraModels.push_back(evtPHSPBMix);
114 extraModels.push_back(evtYmSToYnSpipiCLEOboost);