1 #ifndef GeneratorInterface_LHEInterface_LHERunInfo_h
2 #define GeneratorInterface_LHEInterface_LHERunInfo_h
14 #ifndef XERCES_CPP_NAMESPACE_QUALIFIER
15 # define UNDEF_XERCES_CPP_NAMESPACE_QUALIFIER
16 # define XERCES_CPP_NAMESPACE_QUALIFIER dummy::
30 const std::vector<LHERunInfoProduct::Header> &
headers,
31 const std::vector<std::string> &
comments);
43 #ifndef UNDEF_XERCES_CPP_NAMESPACE_QUALIFIER
56 {
return !(*
this == other); }
81 double brWeight = 1.0,
double matchWeight = 1.0);
115 {
return this->process <
process; }
117 {
return this->process ==
process; }
130 #ifdef UNDEF_XERCES_CPP_NAMESPACE_QUALIFIER
131 # undef XERCES_CPP_NAMESPACE_QUALIFIER
134 #endif // GeneratorRunInfo_LHEInterface_LHERunInfo_h
const std::vector< std::string > & getComments() const
#define XERCES_CPP_NAMESPACE_QUALIFIER
std::vector< Process > processes
void addComment(const std::string &line)
bool operator<(const Process &other) const
void addHeader(const Header &header)
bool operator!=(const LHERunInfo &other) const
const std::vector< Header > & getHeaders() const
LHERunInfo(std::istream &in)
const HEPRUP * getHEPRUP() const
bool operator==(int process) const
std::pair< int, int > pdfSetTranslation() const
std::vector< std::string > comments
std::vector< Header > headers
void count(int process, CountMode count, double eventWeight=1.0, double brWeight=1.0, double matchWeight=1.0)
std::vector< std::string > findHeader(const std::string &tag) const
bool operator==(const LHERunInfo &other) const