1 #ifndef SimDataFormats_GeneratorProducts_GenLumiInfoProduct_h 2 #define SimDataFormats_GeneratorProducts_GenLumiInfoProduct_h 44 operator double()
const {
return value_; }
59 unsigned int n()
const {
return n_; }
138 double wgt2 = useWeights ? iWeight : 1. / (iXSec.
error() * iXSec.
error());
140 double err = useWeights ? 0. : 1.0 /
std::sqrt(wgt1 + wgt2);
168 #endif // SimDataFormats_GeneratorProducts_GenLumiInfoProduct_h
void setNPassNeg(unsigned int n)
void add(const FinalStat &other)
void setTried(unsigned int n, double sum, double sum2)
void setNTotalNeg(unsigned int n)
bool operator!=(const XSec &other) const
void setSelected(unsigned int n, double sum, double sum2)
virtual ~GenLumiInfoProduct()
void mergeXSec(XSec const &iXSec, double iWeight)
void setKilled(unsigned int n, double sum, double sum2)
void swap(GenLumiInfoProduct &other)
XSec const & lheXSec() const
virtual bool isProductEqual(const GenLumiInfoProduct &other) const
FinalStat const & acceptedBr() const
FinalStat const & selected() const
void setAccepted(unsigned int n, double sum, double sum2)
const std::vector< ProcessInfo > & getProcessInfos() const
FinalStat(unsigned int n1, double sum1, double sum21)
void setAcceptedBr(unsigned int n, double sum, double sum2)
XSec(double v, double e=-1.)
unsigned int nTotalPos() const
FinalStat const & killed() const
unsigned int nPassNeg() const
FinalStat const & accepted() const
void setNTotalPos(unsigned int n)
const int getHEPIDWTUP() const
unsigned int nPassPos() const
bool operator==(const XSec &other) const
unsigned int nTotalNeg() const
virtual bool mergeProduct(const GenLumiInfoProduct &other)
void setLheXSec(double value, double err)
FinalStat const & tried() const
void setHEPIDWTUP(const int id)
bool operator!=(const FinalStat &other) const
bool operator==(const FinalStat &other) const
void setNPassPos(unsigned int n)
void addOthers(const ProcessInfo &other)
void setProcessInfo(const std::vector< ProcessInfo > &processes)
std::vector< ProcessInfo > internalProcesses_