1 #ifndef GeneratorInterface_LHEInterface_LHEEvent_h
2 #define GeneratorInterface_LHEInterface_LHEEvent_h
10 #include <boost/shared_ptr.hpp>
12 #include <HepMC/GenEvent.h>
13 #include <HepMC/GenVertex.h>
14 #include <HepMC/PdfInfo.h>
29 LHEEvent(
const boost::shared_ptr<LHERunInfo> &runInfo,
31 LHEEvent(
const boost::shared_ptr<LHERunInfo> &runInfo,
34 const std::vector<std::string> &
comments);
35 LHEEvent(
const boost::shared_ptr<LHERunInfo> &runInfo,
50 void setPDF(std::auto_ptr<PDF> pdf) { this->pdf =
pdf; }
61 double weight = 1.0,
double matchWeight = 1.0);
71 const HepMC::GenEvent *
event,
bool status3 =
true);
79 const boost::shared_ptr<LHERunInfo>
runInfo;
82 std::auto_ptr<PDF>
pdf;
92 #endif // GeneratorEvent_LHEInterface_LHEEvent_h
const PDF * getPDF() const
void addWeight(const WGT &wgt)
std::vector< std::string > comments
const HEPRUP * getHEPRUP() const
void fillEventInfo(HepMC::GenEvent *hepmc) const
static void fixHepMCEventTimeOrdering(HepMC::GenEvent *event)
void removeResonances(const std::vector< int > &ids)
void count(LHERunInfo::CountMode count, double weight=1.0, double matchWeight=1.0)
const int getReadAttempts()
const HEPEUP * getHEPEUP() const
LHEEvent(const boost::shared_ptr< LHERunInfo > &runInfo, std::istream &in)
void addComment(const std::string &line)
const std::vector< std::string > & getComments() const
const boost::shared_ptr< LHERunInfo > runInfo
HepMC::GenParticle * makeHepMCParticle(unsigned int i) const
static void removeParticle(lhef::HEPEUP &hepeup, int index)
void fillPdfInfo(HepMC::PdfInfo *info) const
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
const boost::shared_ptr< LHERunInfo > & getRunInfo() const
static const HepMC::GenVertex * findSignalVertex(const HepMC::GenEvent *event, bool status3=true)
double originalXWGTUP() const
void setPDF(std::auto_ptr< PDF > pdf)
static bool checkHepMCTree(const HepMC::GenEvent *event)
std::auto_ptr< HepMC::GenEvent > asHepMCEvent() const
const std::vector< WGT > & weights() const
std::vector< WGT > weights_