1 #ifndef SimDataFormats_GeneratorProducts_GenEventInfoProduct_h 2 #define SimDataFormats_GeneratorProducts_GenEventInfoProduct_h 9 namespace HepMC {
class GenEvent; }
28 std::vector<double> &
weights() {
return weights_; }
29 const std::vector<double> &
weights()
const {
return weights_; }
31 double weight()
const {
return weights_.empty() ? 1.0 : weights_[0]; }
37 double qScale()
const {
return qScale_; }
41 const PDF *
pdf()
const {
return pdf_.get(); }
42 bool hasPDF()
const {
return pdf() != 0; }
44 const std::vector<double> &
binningValues()
const {
return binningValues_; }
47 const std::vector<float> &
DJRValues()
const {
return DJRValues_; }
60 { signalProcessID_ = procID; }
62 void setScales(
double q = -1.,
double qcd = -1.,
double qed = -1.)
63 { qScale_ =
q, alphaQCD_ = qcd, alphaQED_ = qed; }
65 void setPDF(
const PDF *pdf) { pdf_.reset(pdf ?
new PDF(*pdf) : 0); }
68 { binningValues_ =
values; }
104 #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_