#include <GenEventInfoProduct.h>
Definition at line 15 of file GenEventInfoProduct.h.
GenEventInfoProduct::GenEventInfoProduct |
( |
| ) |
|
GenEventInfoProduct::GenEventInfoProduct |
( |
const HepMC::GenEvent * |
evt | ) |
|
Definition at line 21 of file GenEventInfoProduct.cc.
References gen::PdfInfo::id, pdf(), gen::PdfInfo::scalePDF, setPDF(), gen::PdfInfo::x, and gen::PdfInfo::xPDF.
22 weights_(evt->weights().begin(), evt->weights().end()),
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());
35 pdf.scalePDF = hepPDF->scalePDF();
void setPDF(const PDF *pdf)
std::vector< double > weights_
unsigned int signalProcessID_
Definition at line 41 of file GenEventInfoProduct.cc.
References pdf(), and setPDF().
void setPDF(const PDF *pdf)
std::vector< double > weights_
std::vector< double > binningValues_
unsigned int signalProcessID_
GenEventInfoProduct::~GenEventInfoProduct |
( |
| ) |
|
|
virtual |
double GenEventInfoProduct::alphaQCD |
( |
| ) |
const |
|
inline |
double GenEventInfoProduct::alphaQED |
( |
| ) |
const |
|
inline |
const std::vector<double>& GenEventInfoProduct::binningValues |
( |
| ) |
const |
|
inline |
bool GenEventInfoProduct::hasBinningValues |
( |
| ) |
const |
|
inline |
bool GenEventInfoProduct::hasPDF |
( |
| ) |
const |
|
inline |
const PDF* GenEventInfoProduct::pdf |
( |
| ) |
const |
|
inline |
double GenEventInfoProduct::qScale |
( |
| ) |
const |
|
inline |
void GenEventInfoProduct::setBinningValues |
( |
const std::vector< double > & |
values | ) |
|
|
inline |
void GenEventInfoProduct::setPDF |
( |
const PDF * |
pdf | ) |
|
|
inline |
void GenEventInfoProduct::setScales |
( |
double |
q = -1. , |
|
|
double |
qcd = -1. , |
|
|
double |
qed = -1. |
|
) |
| |
|
inline |
void GenEventInfoProduct::setSignalProcessID |
( |
unsigned int |
procID | ) |
|
|
inline |
void GenEventInfoProduct::setWeights |
( |
const std::vector< double > & |
weights | ) |
|
|
inline |
unsigned int GenEventInfoProduct::signalProcessID |
( |
| ) |
const |
|
inline |
double GenEventInfoProduct::weight |
( |
void |
| ) |
const |
const std::vector<double>& GenEventInfoProduct::weights |
( |
| ) |
const |
|
inline |
double GenEventInfoProduct::alphaQCD_ |
|
private |
double GenEventInfoProduct::alphaQED_ |
|
private |
std::vector<double> GenEventInfoProduct::binningValues_ |
|
private |
std::auto_ptr<PDF> GenEventInfoProduct::pdf_ |
|
private |
double GenEventInfoProduct::qScale_ |
|
private |
unsigned int GenEventInfoProduct::signalProcessID_ |
|
private |
std::vector<double> GenEventInfoProduct::weights_ |
|
private |