10 #include "HepMC/GenEvent.h"
24 : fIsInitialized(
false) {
25 std::vector<std::string> extGenNames = pset.
getParameter<std::vector<std::string> >(
"parameterSets");
27 for (
unsigned int ip = 0; ip < extGenNames.size(); ++ip) {
29 if (curSet ==
"EvtGen") {
35 }
else if (curSet ==
"EvtGen1" || curSet ==
"EvtGen130") {
43 }
else if (curSet ==
"Tauola" || curSet ==
"Tauolapp" || curSet ==
"Tauolapp114") {
48 fPhotosInterface->configureOnlyFor(15);
49 fPhotosInterface->avoidTauLeptonicDecays();
52 }
else if (curSet ==
"Photos" || curSet ==
"Photos2155") {
58 }
else if (curSet ==
"Photospp" || curSet ==
"Photospp356") {
107 for (std::vector<int>::const_iterator
i =
fTauolaInterface->operatesOnParticles().begin();
115 for (std::vector<int>::const_iterator
i =
fEvtGenInterface->operatesOnParticles().begin();
119 for (
unsigned int iss = 0; iss <
fEvtGenInterface->specialSettings().size(); iss++) {
128 for (
unsigned int iss = 0; iss <
fPhotosInterface->specialSettings().size(); iss++) {
T getUntrackedParameter(std::string const &, T const &) const
std::unique_ptr< PhotosInterfaceBase > fPhotosInterface
ExternalDecayDriver(const edm::ParameterSet &, edm::ConsumesCollector)
static const std::string kTauola
static const std::string kPhotos
void init(const edm::EventSetup &)
static const std::string kPythia6
static const std::string kEvtGen
std::vector< std::string > exSharedResources
std::unique_ptr< EvtGenInterfaceBase > fEvtGenInterface
std::vector< std::string > fSpecialSettings
std::unique_ptr< TauolaInterfaceBase > fTauolaInterface
static const std::string kFortranInstance
HepMC::GenEvent * decay(HepMC::GenEvent *evt)
T getParameter(std::string const &) const
static const std::string kPythia8
void setRandomEngine(CLHEP::HepRandomEngine *)