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); }
58 const std::vector<Header> &
getHeaders()
const {
return headers; }
75 XSec() : value_(0.0), error_(0.0) {}
76 XSec(
double v,
double e): value_(v), error_(e){}
85 double brWeight = 1.0,
double matchWeight = 1.0);
89 std::pair<int, int> pdfSetTranslation()
const;
93 Counter() : n_(0), sum_(0.0), sum2_(0.0) {}
94 Counter(
unsigned int n1,
double sum1,
double sum21)
95 :n_(n1), sum_(sum1), sum2_(sum21) {}
102 unsigned int n()
const {
return n_;}
103 double sum()
const {
return sum_;}
104 double sum2()
const {
return sum2_;}
113 Process(): process_(-1), heprupIndex_(-1), nPassPos_(0), nPassNeg_(0), nTotalPos_(0), nTotalNeg_(0){}
114 Process(
int id): process_(id), heprupIndex_(-1), nPassPos_(0), nPassNeg_(0), nTotalPos_(0), nTotalNeg_(0){}
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)
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &)
#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)
Counter(unsigned int n1, double sum1, double sum21)
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
unsigned int heprupIndex_
const std::vector< Header > & getHeaders() const
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
void addAcceptedBr(double w)
std::vector< std::string > comments
void addAccepted(double w)
std::vector< Header > headers
Counter acceptedBr() const
unsigned int nPassNeg() const