1 #ifndef GeneratorInterface_LHEInterface_LHEEvent_h 2 #define GeneratorInterface_LHEInterface_LHEEvent_h 10 #include "HepMC/GenEvent.h" 11 #include "HepMC/GenVertex.h" 12 #include "HepMC/PdfInfo.h" 27 LHEEvent(
const std::shared_ptr<LHERunInfo> &runInfo,
29 LHEEvent(
const std::shared_ptr<LHERunInfo> &runInfo,
32 const std::vector<std::string> &
comments);
33 LHEEvent(
const std::shared_ptr<LHERunInfo> &runInfo,
43 const PDF *
getPDF()
const {
return pdf.get(); }
70 double weight = 1.0,
double matchWeight = 1.0);
88 const std::shared_ptr<LHERunInfo>
runInfo;
91 std::unique_ptr<PDF>
pdf;
105 #endif // GeneratorEvent_LHEInterface_LHEEvent_h const PDF * getPDF() const
LHEEvent(const std::shared_ptr< LHERunInfo > &runInfo, std::istream &in)
void addWeight(const WGT &wgt)
std::vector< std::string > comments
const HEPRUP * getHEPRUP() const
void fillEventInfo(HepMC::GenEvent *hepmc) const
const std::shared_ptr< LHERunInfo > runInfo
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
void addComment(const std::string &line)
const std::vector< std::string > & getComments() const
void setScales(const std::vector< float > &scales)
HepMC::GenParticle * makeHepMCParticle(unsigned int i) const
static void removeParticle(lhef::HEPEUP &hepeup, int index)
void fillPdfInfo(HepMC::PdfInfo *info) const
std::unique_ptr< HepMC::GenEvent > asHepMCEvent() const
const std::vector< float > & scales() const
static const HepMC::GenVertex * findSignalVertex(const HepMC::GenEvent *event, bool status3=true)
double originalXWGTUP() const
std::vector< float > scales_
std::unique_ptr< PDF > pdf
void setPDF(std::unique_ptr< PDF > pdf)
static bool checkHepMCTree(const HepMC::GenEvent *event)
const std::shared_ptr< LHERunInfo > & getRunInfo() const
const std::vector< WGT > & weights() const
std::vector< WGT > weights_