10 #include "HepMC/GenEvent.h" 25 : fIsInitialized(
false)
27 std::vector<std::string> extGenNames =
28 pset.
getParameter< std::vector<std::string> >(
"parameterSets");
30 for (
unsigned int ip=0; ip<extGenNames.size(); ++ip ) {
32 if ( curSet ==
"EvtGen") {
38 else if( curSet ==
"EvtGen1" || curSet ==
"EvtGen130" ) {
46 else if ( curSet ==
"Tauola" || curSet ==
"Tauolapp" || curSet ==
"Tauolapp114" ) {
49 fPhotosInterface->configureOnlyFor( 15 );
50 fPhotosInterface->avoidTauLeptonicDecays();
54 else if ( curSet ==
"Photos" || curSet ==
"Photos2155" ) {
60 else if (curSet ==
"Photospp" || curSet ==
"Photospp356" ) {
83 if ( !evt )
return nullptr;
88 if ( !evt )
return nullptr;
93 if ( !evt )
return nullptr;
106 for ( std::vector<int>::const_iterator
i=
fTauolaInterface->operatesOnParticles().begin();
113 for ( std::vector<int>::const_iterator
i=
fEvtGenInterface->operatesOnParticles().begin();
116 for (
unsigned int iss=0; iss<
fEvtGenInterface->specialSettings().size(); iss++ ) {
126 for (
unsigned int iss=0; iss<
fPhotosInterface->specialSettings().size(); iss++ ){
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::unique_ptr< PhotosInterfaceBase > fPhotosInterface
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)
ExternalDecayDriver(const edm::ParameterSet &)
static const std::string kPythia8
void setRandomEngine(CLHEP::HepRandomEngine *)
T get(const Candidate &c)