#include <GenEventInfoProduct.h>
Definition at line 17 of file GenEventInfoProduct.h.
◆ PDF
◆ GenEventInfoProduct() [1/4]
GenEventInfoProduct::GenEventInfoProduct |
( |
| ) |
|
◆ GenEventInfoProduct() [2/4]
Definition at line 19 of file GenEventInfoProduct.cc.
20 :
weights_(evt->weights().begin(), evt->weights().end()),
27 const HepMC::PdfInfo *hepPDF = evt->pdf_info();
31 pdf.
id = std::make_pair(hepPDF->id1(), hepPDF->id2());
32 pdf.
x = std::make_pair(hepPDF->x1(), hepPDF->x2());
33 pdf.
xPDF = std::make_pair(hepPDF->pdf1(), hepPDF->pdf2());
References gen::PdfInfo::id, pdf(), gen::PdfInfo::scalePDF, setPDF(), gen::PdfInfo::x, and gen::PdfInfo::xPDF.
◆ GenEventInfoProduct() [3/4]
◆ GenEventInfoProduct() [4/4]
◆ ~GenEventInfoProduct()
GenEventInfoProduct::~GenEventInfoProduct |
( |
| ) |
|
|
virtual |
◆ alphaQCD()
double GenEventInfoProduct::alphaQCD |
( |
| ) |
const |
|
inline |
◆ alphaQED()
double GenEventInfoProduct::alphaQED |
( |
| ) |
const |
|
inline |
◆ binningValues()
const std::vector<double>& GenEventInfoProduct::binningValues |
( |
| ) |
const |
|
inline |
◆ DJRValues()
const std::vector<float>& GenEventInfoProduct::DJRValues |
( |
| ) |
const |
|
inline |
◆ hasBinningValues()
bool GenEventInfoProduct::hasBinningValues |
( |
| ) |
const |
|
inline |
◆ hasDJRValues()
bool GenEventInfoProduct::hasDJRValues |
( |
| ) |
const |
|
inline |
◆ hasPDF()
bool GenEventInfoProduct::hasPDF |
( |
| ) |
const |
|
inline |
◆ nMEPartons()
int GenEventInfoProduct::nMEPartons |
( |
| ) |
const |
|
inline |
◆ nMEPartonsFiltered()
int GenEventInfoProduct::nMEPartonsFiltered |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
Definition at line 67 of file GenEventInfoProduct.cc.
References alphaQCD_, alphaQED_, binningValues_, DJRValues_, nMEPartons_, nMEPartonsFiltered_, trackingPlots::other, qScale_, setPDF(), signalProcessID_, and weights_.
◆ operator=() [2/2]
Definition at line 83 of file GenEventInfoProduct.cc.
References alphaQCD_, alphaQED_, binningValues_, DJRValues_, eostools::move(), nMEPartons_, nMEPartonsFiltered_, trackingPlots::other, pdf_, qScale_, signalProcessID_, and weights_.
◆ pdf()
const PDF* GenEventInfoProduct::pdf |
( |
| ) |
const |
|
inline |
◆ qScale()
double GenEventInfoProduct::qScale |
( |
| ) |
const |
|
inline |
◆ setBinningValues()
void GenEventInfoProduct::setBinningValues |
( |
const std::vector< double > & |
values | ) |
|
|
inline |
◆ setDJR()
void GenEventInfoProduct::setDJR |
( |
const std::vector< float > & |
values | ) |
|
|
inline |
◆ setNMEPartons()
void GenEventInfoProduct::setNMEPartons |
( |
int |
n | ) |
|
|
inline |
◆ setNMEPartonsFiltered()
void GenEventInfoProduct::setNMEPartonsFiltered |
( |
int |
n | ) |
|
|
inline |
◆ setPDF()
void GenEventInfoProduct::setPDF |
( |
const PDF * |
pdf | ) |
|
|
inline |
◆ setScales()
void GenEventInfoProduct::setScales |
( |
double |
q = -1. , |
|
|
double |
qcd = -1. , |
|
|
double |
qed = -1. |
|
) |
| |
|
inline |
◆ setSignalProcessID()
void GenEventInfoProduct::setSignalProcessID |
( |
unsigned int |
procID | ) |
|
|
inline |
◆ setWeights()
void GenEventInfoProduct::setWeights |
( |
const std::vector< double > & |
weights | ) |
|
|
inline |
◆ signalProcessID()
unsigned int GenEventInfoProduct::signalProcessID |
( |
| ) |
const |
|
inline |
◆ weight()
double GenEventInfoProduct::weight |
( |
| ) |
const |
|
inline |
Definition at line 35 of file GenEventInfoProduct.h.
References weights_.
Referenced by CMSDAS11DijetAnalyzer::analyze(), CMSDAS11DijetTestAnalyzer::analyze(), BTagPerformanceAnalyzerMC::analyze(), TTbar_GenJetAnalyzer::analyze(), PDFWeightsTest::analyze(), TTbar_Kinematics::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), L1GenTreeProducer::analyze(), FSQDiJetAve::analyze(), StringBasedNTupler::fill(), GenFilterEfficiencyProducer::produce(), GenWeightsTableProducer::produce(), and MuScleFit::selectMuons().
◆ weightProduct()
double GenEventInfoProduct::weightProduct |
( |
| ) |
const |
◆ weights() [1/2]
std::vector<double>& GenEventInfoProduct::weights |
( |
| ) |
|
|
inline |
◆ weights() [2/2]
const std::vector<double>& GenEventInfoProduct::weights |
( |
| ) |
const |
|
inline |
◆ alphaQCD_
double GenEventInfoProduct::alphaQCD_ |
|
private |
◆ alphaQED_
double GenEventInfoProduct::alphaQED_ |
|
private |
◆ binningValues_
std::vector<double> GenEventInfoProduct::binningValues_ |
|
private |
◆ DJRValues_
std::vector<float> GenEventInfoProduct::DJRValues_ |
|
private |
◆ nMEPartons_
int GenEventInfoProduct::nMEPartons_ |
|
private |
◆ nMEPartonsFiltered_
int GenEventInfoProduct::nMEPartonsFiltered_ |
|
private |
◆ pdf_
std::unique_ptr<PDF> GenEventInfoProduct::pdf_ |
|
private |
◆ qScale_
double GenEventInfoProduct::qScale_ |
|
private |
◆ signalProcessID_
unsigned int GenEventInfoProduct::signalProcessID_ |
|
private |
◆ weights_
std::vector<double> GenEventInfoProduct::weights_ |
|
private |