6 #ifndef GeneratorInterface_Herwig7Interface_Herwig7Interface_h 7 #define GeneratorInterface_Herwig7Interface_Herwig7Interface_h 14 #include <boost/shared_ptr.hpp> 16 #include <HepMC/GenEvent.h> 17 #include <HepMC/PdfInfo.h> 18 #include <HepMC/IO_BaseClass.h> 20 #include <ThePEG/Repository/EventGenerator.h> 21 #include <ThePEG/EventRecord/Event.h> 22 #include <ThePEG/Vectors/HepMCTraits.h> 31 template<>
struct HepMCTraits<
HepMC::GenEvent> :
32 public HepMCTraitsBase<
33 HepMC::GenEvent, HepMC::GenParticle,
34 HepMC::GenVertex, HepMC::Polarization,
40 class HepRandomEngine;
48 void setPEGRandomEngine(CLHEP::HepRandomEngine*);
57 void flushRandomNumberGenerator();
59 static std::auto_ptr<HepMC::GenEvent>
62 static double pthat(
const ThePEG::EventPtr &
event);
66 std::auto_ptr<HepMC::IO_BaseClass>
iobc_;
69 std::shared_ptr<Herwig::HerwigUIProvider>
HwUI_;
76 void callHerwigGenerator();
85 boost::shared_ptr<ThePEG::RandomEngineGlue::Proxy>
103 #endif // GeneratorInterface_Herwig7Interface_Herwig7Interface_h std::shared_ptr< Herwig::HerwigUIProvider > HwUI_
std::auto_ptr< HepMC::IO_BaseClass > iobc_
CLHEP::HepRandomEngine * randomEngine
const std::string dataLocation_
def convert(infile, ofile)
const std::string generator_
const unsigned int skipEvents_
boost::shared_ptr< ThePEG::RandomEngineGlue::Proxy > randomEngineGlueProxy_