10 #include "HepMC/GenEvent.h" 27 : fIsInitialized(
false)
29 std::vector<std::string> extGenNames =
30 pset.
getParameter< std::vector<std::string> >(
"parameterSets");
32 for (
unsigned int ip=0; ip<extGenNames.size(); ++ip ) {
34 if ( curSet ==
"EvtGen") {
40 else if( curSet ==
"EvtGen1" || curSet ==
"EvtGen130" ) {
48 else if ( curSet ==
"Tauola" || curSet ==
"Tauolapp" || curSet ==
"Tauolapp114" ) {
51 fPhotosInterface->configureOnlyFor( 15 );
52 fPhotosInterface->avoidTauLeptonicDecays();
56 else if ( curSet ==
"Photos" || curSet ==
"Photos2155" ) {
62 else if (curSet ==
"Photospp" || curSet ==
"Photospp356" ) {
85 if ( !evt )
return nullptr;
90 if ( !evt )
return nullptr;
95 if ( !evt )
return nullptr;
108 for ( std::vector<int>::const_iterator
i=
fTauolaInterface->operatesOnParticles().begin();
115 for ( std::vector<int>::const_iterator
i=
fEvtGenInterface->operatesOnParticles().begin();
118 for (
unsigned int iss=0; iss<
fEvtGenInterface->specialSettings().size(); iss++ ) {
128 for (
unsigned int iss=0; iss<
fPhotosInterface->specialSettings().size(); iss++ ){
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
CLHEP::HepRandomEngine * decayRandomEngine
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)