1 #ifndef gen_Py8InterfaceBase_h 2 #define gen_Py8InterfaceBase_h 11 #include "HepMC/IO_AsciiParticles.h" 13 #include <Pythia8/Pythia.h> 14 #include <Pythia8Plugins/HepMC2.h> 19 class HepRandomEngine;
31 virtual bool generatePartonsAndHadronize() = 0;
33 bool readSettings(
int );
34 virtual bool initializeForInternalPartons() = 0;
35 bool declareStableParticles(
const std::vector<int>& );
36 bool declareSpecialSettings(
const std::vector<std::string>& );
37 virtual void finalizeEvent() = 0;
39 virtual const char*
classname()
const = 0;
std::auto_ptr< Pythia8::Pythia > fMasterGen
~Py8InterfaceBase() override
std::auto_ptr< EvtGenDecays > evtgenDecays
HepMC::IO_AsciiParticles * ascii_io
void p8SetRandomEngine(CLHEP::HepRandomEngine *v)
bool pythiaHepMCVerbosityParticles
std::vector< std::string > evtgenUserFiles
P8RndmEngine p8RndmEngine_
unsigned int pythiaPylistVerbosity
P8RndmEngine & randomEngine()
std::string evtgenPdlFile
unsigned int maxEventsToPrint
std::auto_ptr< Pythia8::Pythia > fDecayer
bool pythiaHepMCVerbosity
std::string evtgenDecFile
HepMC::Pythia8ToHepMC toHepMC
edm::ParameterSet fParameters