Go to the documentation of this file. 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"
30 const std::vector<std::string> &
comments);
84 const std::shared_ptr<LHERunInfo>
runInfo;
87 std::unique_ptr<PDF>
pdf;
100 #endif // GeneratorEvent_LHEInterface_LHEEvent_h
const HEPEUP * getHEPEUP() const
void fillEventInfo(HepMC::GenEvent *hepmc) const
void setScales(const std::vector< float > &scales)
const std::vector< WGT > & weights() const
const std::shared_ptr< LHERunInfo > & getRunInfo() const
HepMC::GenParticle * makeHepMCParticle(unsigned int i) const
void fillPdfInfo(HepMC::PdfInfo *info) const
void setPDF(std::unique_ptr< PDF > pdf)
std::vector< WGT > weights_
static bool checkHepMCTree(const HepMC::GenEvent *event)
static const HepMC::GenVertex * findSignalVertex(const HepMC::GenEvent *event, bool status3=true)
double originalXWGTUP() const
std::vector< float > scales_
std::unique_ptr< PDF > pdf
const PDF * getPDF() const
const std::vector< std::string > & getComments() const
static void fixHepMCEventTimeOrdering(HepMC::GenEvent *event)
void addComment(const std::string &line)
LHEEvent(const std::shared_ptr< LHERunInfo > &runInfo, std::istream &in)
std::vector< std::string > comments
void addWeight(const WGT &wgt)
const std::vector< float > & scales() const
std::unique_ptr< HepMC::GenEvent > asHepMCEvent() const
void count(LHERunInfo::CountMode count, double weight=1.0, double matchWeight=1.0)
const std::shared_ptr< LHERunInfo > runInfo
void removeResonances(const std::vector< int > &ids)
const int getReadAttempts()
static void removeParticle(lhef::HEPEUP &hepeup, int index)
const HEPRUP * getHEPRUP() const