1 #ifndef SimDataFormats_GeneratorProducts_GenEventInfoProduct_h 2 #define SimDataFormats_GeneratorProducts_GenEventInfoProduct_h 9 namespace HepMC {
class GenEvent; }
30 std::vector<double> &
weights() {
return weights_; }
31 const std::vector<double> &
weights()
const {
return weights_; }
33 double weight()
const {
return weights_.empty() ? 1.0 : weights_[0]; }
39 double qScale()
const {
return qScale_; }
43 const PDF *
pdf()
const {
return pdf_.get(); }
44 bool hasPDF()
const {
return pdf() !=
nullptr; }
46 const std::vector<double> &
binningValues()
const {
return binningValues_; }
49 const std::vector<float> &
DJRValues()
const {
return DJRValues_; }
62 { signalProcessID_ = procID; }
64 void setScales(
double q = -1.,
double qcd = -1.,
double qed = -1.)
65 { qScale_ =
q, alphaQCD_ = qcd, alphaQED_ = qed; }
67 void setPDF(
const PDF *pdf) { pdf_.reset(pdf ?
new PDF(*pdf) :
nullptr); }
70 { binningValues_ =
values; }
106 #endif // SimDataFormats_GeneratorProducts_GenEventInfoProduct_h void setNMEPartonsFiltered(int n)
const std::vector< double > & binningValues() const
void setPDF(const PDF *pdf)
bool hasBinningValues() const
const std::vector< float > & DJRValues() const
void setNMEPartons(int n)
void setDJR(const std::vector< float > &values)
std::vector< float > DJRValues_
void setBinningValues(const std::vector< double > &values)
std::vector< double > weights_
bool hasDJRValues() const
void setScales(double q=-1., double qcd=-1., double qed=-1.)
std::auto_ptr< PDF > pdf_
std::vector< double > binningValues_
const std::vector< double > & weights() const
void setWeights(const std::vector< double > &weights)
void setSignalProcessID(unsigned int procID)
std::vector< double > & weights()
int nMEPartonsFiltered() const
unsigned int signalProcessID() const
unsigned int signalProcessID_