#include <GenEventInfoProduct.h>
Public Types | |
typedef gen::PdfInfo | |
Public Member Functions | |
double | alphaQCD () const |
double | alphaQED () const |
const std::vector< double > & | binningValues () const |
const std::vector< float > & | DJRValues () const |
GenEventInfoProduct () | |
GenEventInfoProduct (const HepMC::GenEvent *evt) | |
GenEventInfoProduct (const GenEventInfoProduct &other) | |
GenEventInfoProduct (GenEventInfoProduct &&other) | |
bool | hasBinningValues () const |
bool | hasDJRValues () const |
bool | hasPDF () const |
int | nMEPartons () const |
int | nMEPartonsFiltered () const |
GenEventInfoProduct & | operator= (const GenEventInfoProduct &other) |
GenEventInfoProduct & | operator= (GenEventInfoProduct &&other) |
const PDF * | pdf () const |
double | qScale () const |
void | setBinningValues (const std::vector< double > &values) |
void | setDJR (const std::vector< float > &values) |
void | setNMEPartons (int n) |
void | setNMEPartonsFiltered (int n) |
void | setPDF (const PDF *pdf) |
void | setScales (double q=-1., double qcd=-1., double qed=-1.) |
void | setSignalProcessID (unsigned int procID) |
void | setWeights (const std::vector< double > &weights) |
unsigned int | signalProcessID () const |
double | weight () const |
double | weightProduct () const |
std::vector< double > & | weights () |
const std::vector< double > & | weights () const |
virtual | ~GenEventInfoProduct () |
Private Attributes | |
double | alphaQCD_ |
double | alphaQED_ |
std::vector< double > | binningValues_ |
std::vector< float > | DJRValues_ |
int | nMEPartons_ |
int | nMEPartonsFiltered_ |
std::unique_ptr< PDF > | pdf_ |
double | qScale_ |
unsigned int | signalProcessID_ |
std::vector< double > | weights_ |
Definition at line 17 of file GenEventInfoProduct.h.
typedef gen::PdfInfo GenEventInfoProduct::PDF |
Definition at line 28 of file GenEventInfoProduct.h.
GenEventInfoProduct::GenEventInfoProduct | ( | ) |
Definition at line 16 of file GenEventInfoProduct.cc.
GenEventInfoProduct::GenEventInfoProduct | ( | const HepMC::GenEvent * | evt | ) |
Definition at line 19 of file GenEventInfoProduct.cc.
References gen::PdfInfo::id, pdf(), gen::PdfInfo::scalePDF, setPDF(), gen::PdfInfo::x, and gen::PdfInfo::xPDF.
GenEventInfoProduct::GenEventInfoProduct | ( | const GenEventInfoProduct & | other | ) |
Definition at line 40 of file GenEventInfoProduct.cc.
References trackingPlots::other, and setPDF().
GenEventInfoProduct::GenEventInfoProduct | ( | GenEventInfoProduct && | other | ) |
Definition at line 53 of file GenEventInfoProduct.cc.
|
virtual |
Definition at line 65 of file GenEventInfoProduct.cc.
|
inline |
Definition at line 42 of file GenEventInfoProduct.h.
References alphaQCD_.
Referenced by GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 43 of file GenEventInfoProduct.h.
References alphaQED_.
Referenced by GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 48 of file GenEventInfoProduct.h.
References binningValues_.
Referenced by CaloMCTruthTreeProducer::analyze(), PFMCTruthTreeProducer::analyze(), JetTester::analyze(), L1GenTreeProducer::analyze(), and JetTester_HeavyIons::analyze().
|
inline |
|
inline |
Definition at line 49 of file GenEventInfoProduct.h.
References binningValues_.
Referenced by JetTester::analyze(), L1GenTreeProducer::analyze(), and JetTester_HeavyIons::analyze().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 56 of file GenEventInfoProduct.h.
References nMEPartonsFiltered_.
GenEventInfoProduct & GenEventInfoProduct::operator= | ( | const GenEventInfoProduct & | other | ) |
Definition at line 67 of file GenEventInfoProduct.cc.
References alphaQCD_, alphaQED_, binningValues_, DJRValues_, nMEPartons_, nMEPartonsFiltered_, trackingPlots::other, qScale_, setPDF(), signalProcessID_, and weights_.
GenEventInfoProduct & GenEventInfoProduct::operator= | ( | GenEventInfoProduct && | other | ) |
Definition at line 83 of file GenEventInfoProduct.cc.
References alphaQCD_, alphaQED_, binningValues_, DJRValues_, eostools::move(), nMEPartons_, nMEPartonsFiltered_, trackingPlots::other, pdf_, qScale_, signalProcessID_, and weights_.
|
inline |
Definition at line 45 of file GenEventInfoProduct.h.
References pdf_.
Referenced by GenEventInfoProduct(), hasPDF(), heppy::PdfWeightProducerTool::processEvent(), GenParticles2HepMCConverter::produce(), and setPDF().
|
inline |
Definition at line 41 of file GenEventInfoProduct.h.
References qScale_.
Referenced by RemovePileUpDominatedEventsGen::filter(), and GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 68 of file GenEventInfoProduct.h.
References binningValues_, and contentValuesCheck::values.
|
inline |
Definition at line 70 of file GenEventInfoProduct.h.
References DJRValues_, and contentValuesCheck::values.
|
inline |
Definition at line 72 of file GenEventInfoProduct.h.
References dqmiodumpmetadata::n, and nMEPartons_.
|
inline |
Definition at line 74 of file GenEventInfoProduct.h.
References dqmiodumpmetadata::n, and nMEPartonsFiltered_.
|
inline |
Definition at line 66 of file GenEventInfoProduct.h.
Referenced by GenEventInfoProduct(), and operator=().
|
inline |
Definition at line 64 of file GenEventInfoProduct.h.
References alphaQCD_, alphaQED_, submitPVResolutionJobs::q, and qScale_.
|
inline |
Definition at line 62 of file GenEventInfoProduct.h.
References signalProcessID_.
|
inline |
|
inline |
Definition at line 39 of file GenEventInfoProduct.h.
References signalProcessID_.
Referenced by GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 35 of file GenEventInfoProduct.h.
References weights_.
Referenced by BTagPerformanceAnalyzerMC::analyze(), TTbar_GenJetAnalyzer::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), TTbar_Kinematics::analyze(), PDFWeightsTest::analyze(), L1GenTreeProducer::analyze(), FSQDiJetAve::analyze(), StringBasedNTupler::fill(), GenFilterEfficiencyProducer::produce(), GenWeightsTableProducer::produce(), and MuScleFit::selectMuons().
double GenEventInfoProduct::weightProduct | ( | ) | const |
|
inline |
Definition at line 32 of file GenEventInfoProduct.h.
References weights_.
Referenced by GenWeightsTableProducer::fillLHEPdfWeightTablesFromGenInfo(), GenWeightsTableProducer::fillLHEWeightTables(), GenWeightsTableProducer::fillOnlyPSWeightTable(), GenParticles2HepMCConverter::produce(), and setWeights().
|
inline |
|
private |
Definition at line 85 of file GenEventInfoProduct.h.
Referenced by alphaQCD(), operator=(), and setScales().
|
private |
Definition at line 85 of file GenEventInfoProduct.h.
Referenced by alphaQED(), operator=(), and setScales().
|
private |
Definition at line 97 of file GenEventInfoProduct.h.
Referenced by binningValues(), hasBinningValues(), operator=(), and setBinningValues().
|
private |
Definition at line 98 of file GenEventInfoProduct.h.
Referenced by DJRValues(), hasDJRValues(), operator=(), and setDJR().
|
private |
Definition at line 99 of file GenEventInfoProduct.h.
Referenced by nMEPartons(), operator=(), and setNMEPartons().
|
private |
Definition at line 100 of file GenEventInfoProduct.h.
Referenced by nMEPartonsFiltered(), operator=(), and setNMEPartonsFiltered().
|
private |
Definition at line 88 of file GenEventInfoProduct.h.
Referenced by operator=(), pdf(), and setPDF().
|
private |
Definition at line 84 of file GenEventInfoProduct.h.
Referenced by operator=(), qScale(), and setScales().
|
private |
Definition at line 81 of file GenEventInfoProduct.h.
Referenced by operator=(), setSignalProcessID(), and signalProcessID().
|
private |
Definition at line 78 of file GenEventInfoProduct.h.
Referenced by operator=(), setWeights(), weight(), weightProduct(), and weights().