10 #include "HepMC/GenEvent.h"
23 fIsInitialized(
false),
29 std::vector<std::string> extGenNames = pset.
getParameter< std::vector<std::string> >(
"parameterSets");
32 if(!rng.isAvailable()) {
34 <<
"The RandomNumberProducer module requires the RandomNumberGeneratorService\n"
35 "which appears to be absent. Please add that service to your configuration\n"
36 "or remove the modules that require it." << std::endl;
40 for (
unsigned int ip=0; ip<extGenNames.size(); ++ip ){
41 std::string curSet = extGenNames[ip];
42 if ( curSet ==
"EvtGen" || curSet ==
"EvtGenLHC91"){
46 if ( curSet ==
"Tauola" || curSet ==
"Tauola271215" ){
50 if(curSet ==
"Tauolapp111a"){
58 if ( curSet ==
"Photos" || curSet ==
"Photos2155Legacy"){
64 if (curSet ==
"Photos2155"){
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
virtual void SetDecayRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine)
TauolaInterfaceBase * fTauolaInterface
CLHEP::HepRandomEngine * decayRandomEngine
virtual void init(const edm::EventSetup &)
PhotosInterfaceBase * fPhotosInterface
virtual void SetDecayRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine)
HepMC::GenEvent * decay(HepMC::GenEvent *)
virtual void statistics()
void init(const edm::EventSetup &)
virtual void configureOnlyFor(int)
virtual HepMC::GenEvent * apply(HepMC::GenEvent *evt)
virtual void SetPhotosDecayRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine)
virtual const std::vector< int > & operatesOnParticles()
std::vector< std::string > fSpecialSettings
EvtGenInterfaceBase * fEvtGenInterface
virtual void avoidTauLeptonicDecays()
ExternalDecayDriver(const edm::ParameterSet &)
virtual HepMC::GenEvent * decay(HepMC::GenEvent *evt)
virtual HepMC::GenEvent * decay(HepMC::GenEvent *evt)
virtual const std::vector< std::string > & specialSettings()
virtual const std::vector< int > & operatesOnParticles()
T get(const Candidate &c)