5 #include <HepMC/GenEvent.h>
6 #include <HepMC/WeightContainer.h>
7 #include <HepMC/PdfInfo.h>
17 signalProcessID_(0), qScale_(-1.), alphaQCD_(-1.), alphaQED_(-1.),
18 nMEPartons_(-1), nMEPartonsFiltered_(-1)
24 signalProcessID_(evt->signal_process_id()),
25 qScale_(evt->event_scale()),
26 alphaQCD_(evt->alphaQCD()),
27 alphaQED_(evt->alphaQED()),
28 nMEPartons_(-1), nMEPartonsFiltered_(-1)
30 const HepMC::PdfInfo *hepPDF = evt->pdf_info();
34 pdf.
id = std::make_pair(hepPDF->id1(), hepPDF->id2());
35 pdf.
x = std::make_pair(hepPDF->x1(), hepPDF->x2());
36 pdf.
xPDF = std::make_pair(hepPDF->pdf1(), hepPDF->pdf2());
44 weights_(other.weights_),
45 signalProcessID_(other.signalProcessID_),
46 qScale_(other.qScale_),
47 alphaQCD_(other.alphaQCD_),
48 alphaQED_(other.alphaQED_),
49 binningValues_(other.binningValues_),
50 DJRValues_(other.DJRValues_),
51 nMEPartons_(other.nMEPartons_), nMEPartonsFiltered_(other.nMEPartons_)
80 1., std::multiplies<double>());
void setPDF(const PDF *pdf)
std::pair< double, double > x
GenEventInfoProduct & operator=(const GenEventInfoProduct &other)
std::pair< double, double > xPDF
std::vector< float > DJRValues_
virtual ~GenEventInfoProduct()
std::vector< double > weights_
std::vector< double > binningValues_
unsigned int signalProcessID_