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); }
85 double brWeight = 1.0,
double matchWeight = 1.0);
94 Counter(
unsigned int n1,
double sum1,
double sum21)
102 unsigned int n()
const {
return n_;}
180 #ifdef UNDEF_XERCES_CPP_NAMESPACE_QUALIFIER
181 # undef XERCES_CPP_NAMESPACE_QUALIFIER
184 #endif // GeneratorRunInfo_LHEInterface_LHERunInfo_h
unsigned int nTotalPos() const
const std::vector< std::string > & getComments() const
const int getHEPIDWTUP() const
unsigned int heprupIndex() const
void setLHEXSec(double value, double error)
void addNPassPos(unsigned int n=1)
void addNTotalNeg(unsigned int n=1)
#define XERCES_CPP_NAMESPACE_QUALIFIER
void addSelected(double w)
std::vector< Process > processes
void addNTotalPos(unsigned int n=1)
void addComment(const std::string &line)
const std::vector< Process > & getLumiProcesses() const
void addHeader(const Header &header)
bool operator!=(const LHERunInfo &other) const
Counter(unsigned int n1, double sum1, double sum21)
unsigned int heprupIndex_
const std::vector< Header > & getHeaders() const
LHERunInfo(std::istream &in)
unsigned int nTotalNeg() const
void addNPassNeg(unsigned int n=1)
void setHepRupIndex(int id)
unsigned int nPassPos() const
const HEPRUP * getHEPRUP() const
std::vector< Process > processesLumi
std::pair< int, int > pdfSetTranslation() const
void addAcceptedBr(double w)
std::vector< std::string > comments
void addAccepted(double w)
std::vector< Header > headers
Counter acceptedBr() const
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
unsigned int nPassNeg() const