1 #ifndef SimDataFormats_GeneratorProducts_GenLumiInfoProduct_h
2 #define SimDataFormats_GeneratorProducts_GenLumiInfoProduct_h
46 operator double()
const {
return value_; }
47 operator bool()
const {
return isSet(); }
62 unsigned int n()
const {
return n_; }
68 if (other.
n() != 0 and other.
sum_ != -1. and other.
sum2() != -1.) {
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)
const std::vector< ProcessInfo > & getProcessInfos() const
list processes
Run mode ##.
void add(const FinalStat &other)
void setTried(unsigned int n, double sum, double sum2)
void setNTotalNeg(unsigned int n)
unsigned int nTotalNeg() const
bool operator!=(const XSec &other) const
void setSelected(unsigned int n, double sum, double sum2)
uint16_t *__restrict__ id
virtual ~GenLumiInfoProduct()
unsigned int nPassPos() const
void mergeXSec(XSec const &iXSec, double iWeight)
void setKilled(unsigned int n, double sum, double sum2)
bool operator!=(const FinalStat &other) const
void swap(GenLumiInfoProduct &other)
bool operator==(const FinalStat &other) const
unsigned int nPassNeg() const
FinalStat const & tried() const
XSec const & lheXSec() const
void setAccepted(unsigned int n, double sum, double sum2)
FinalStat(unsigned int n1, double sum1, double sum21)
void setAcceptedBr(unsigned int n, double sum, double sum2)
XSec(double v, double e=-1.)
void setNTotalPos(unsigned int n)
virtual bool isProductEqual(const GenLumiInfoProduct &other) const
FinalStat const & killed() const
virtual bool mergeProduct(const GenLumiInfoProduct &other)
void setLheXSec(double value, double err)
void setHEPIDWTUP(const int id)
bool operator==(const XSec &other) const
FinalStat const & accepted() const
void setNPassPos(unsigned int n)
FinalStat const & acceptedBr() const
void addOthers(const ProcessInfo &other)
unsigned int nTotalPos() const
FinalStat(const FinalStat &other)
void setProcessInfo(const std::vector< ProcessInfo > &processes)
std::vector< ProcessInfo > internalProcesses_
const int getHEPIDWTUP() const
FinalStat const & selected() const