5 #include <HepMC/GenEvent.h>
6 #include <HepMC/WeightContainer.h>
7 #include <HepMC/PdfInfo.h>
17 signalProcessID_(0), qScale_(-1.), alphaQCD_(-1.), alphaQED_(-1.)
23 signalProcessID_(evt->signal_process_id()),
24 qScale_(evt->event_scale()),
25 alphaQCD_(evt->alphaQCD()),
26 alphaQED_(evt->alphaQED())
28 const HepMC::PdfInfo *hepPDF = evt->pdf_info();
32 pdf.
id = std::make_pair(hepPDF->id1(), hepPDF->id2());
33 pdf.
x = std::make_pair(hepPDF->x1(), hepPDF->x2());
34 pdf.
xPDF = std::make_pair(hepPDF->pdf1(), hepPDF->pdf2());
42 weights_(other.weights_),
43 signalProcessID_(other.signalProcessID_),
44 qScale_(other.qScale_),
45 alphaQCD_(other.alphaQCD_),
46 alphaQED_(other.alphaQED_),
47 binningValues_(other.binningValues_)
73 1., std::multiplies<double>());
void setPDF(const PDF *pdf)
std::pair< double, double > x
GenEventInfoProduct & operator=(const GenEventInfoProduct &other)
std::pair< double, double > xPDF
virtual ~GenEventInfoProduct()
std::vector< double > weights_
std::vector< double > binningValues_
unsigned int signalProcessID_