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