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> 32 struct HepMCTraits<
HepMC::GenEvent> :
public HepMCTraitsBase<HepMC::GenEvent,
43 class HepRandomEngine;
51 void setPEGRandomEngine(CLHEP::HepRandomEngine*);
60 void flushRandomNumberGenerator();
62 static std::unique_ptr<HepMC::GenEvent>
65 static double pthat(
const ThePEG::EventPtr &
event);
69 std::unique_ptr<HepMC::IO_BaseClass>
iobc_;
72 std::shared_ptr<Herwig::HerwigUIProvider>
HwUI_;
79 void callHerwigGenerator();
88 boost::shared_ptr<ThePEG::RandomEngineGlue::Proxy>
106 #endif // GeneratorInterface_Herwig7Interface_Herwig7Interface_h std::shared_ptr< Herwig::HerwigUIProvider > HwUI_
CLHEP::HepRandomEngine * randomEngine
const std::string dataLocation_
std::unique_ptr< HepMC::IO_BaseClass > iobc_
def convert(infile, ofile)
const std::string generator_
const unsigned int skipEvents_
boost::shared_ptr< ThePEG::RandomEngineGlue::Proxy > randomEngineGlueProxy_