1 #ifndef GeneratorInterface_ThePEGInterface_ThePEGInterface_h
2 #define GeneratorInterface_ThePEGInterface_ThePEGInterface_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>
37 static std::auto_ptr<HepMC::GenEvent>
43 const ThePEG::EventPtr &event);
45 static double pthat(
const ThePEG::EventPtr &event);
49 const std::string ¶mName)
const;
52 std::auto_ptr<HepMC::IO_BaseClass>
iobc_;
55 boost::shared_ptr<ThePEG::RandomEngineGlue::Proxy>
65 #endif // GeneratorInterface_ThePEGInterface_ThePEGInterface_h
void initRepository(const edm::ParameterSet ¶ms) const
ThePEGInterface(const edm::ParameterSet ¶ms)
static double pthat(const ThePEG::EventPtr &event)
std::string dataFile(const std::string &fileName) const
void flushRandomNumberGenerator()
std::auto_ptr< HepMC::IO_BaseClass > iobc_
const std::string dumpConfig_
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
static std::auto_ptr< HepMC::GenEvent > convert(const ThePEG::EventPtr &event)
const std::string generator_
virtual ~ThePEGInterface()
const unsigned int skipEvents_
const std::string dataLocation_
boost::shared_ptr< ThePEG::RandomEngineGlue::Proxy > randomEngineGlueProxy_
static void clearAuxiliary(HepMC::GenEvent *hepmc, HepMC::PdfInfo *pdf)
static void fillAuxiliary(HepMC::GenEvent *hepmc, HepMC::PdfInfo *pdf, const ThePEG::EventPtr &event)