#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) | |
bool | hasBinningValues () const |
bool | hasDJRValues () const |
bool | hasPDF () const |
int | nMEPartons () const |
int | nMEPartonsFiltered () const |
GenEventInfoProduct & | operator= (const 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::auto_ptr< PDF > | pdf_ |
double | qScale_ |
unsigned int | signalProcessID_ |
std::vector< double > | weights_ |
Definition at line 15 of file GenEventInfoProduct.h.
typedef gen::PdfInfo GenEventInfoProduct::PDF |
Definition at line 24 of file GenEventInfoProduct.h.
GenEventInfoProduct::GenEventInfoProduct | ( | ) |
Definition at line 16 of file GenEventInfoProduct.cc.
GenEventInfoProduct::GenEventInfoProduct | ( | const HepMC::GenEvent * | evt | ) |
Definition at line 22 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 43 of file GenEventInfoProduct.cc.
References pdf(), and setPDF().
|
virtual |
Definition at line 56 of file GenEventInfoProduct.cc.
|
inline |
Definition at line 38 of file GenEventInfoProduct.h.
Referenced by GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 39 of file GenEventInfoProduct.h.
Referenced by GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 44 of file GenEventInfoProduct.h.
Referenced by CaloMCTruthTreeProducer::analyze(), PFMCTruthTreeProducer::analyze(), JetTester::analyze(), and JetTester_HeavyIons::analyze().
|
inline |
Definition at line 47 of file GenEventInfoProduct.h.
|
inline |
Definition at line 45 of file GenEventInfoProduct.h.
Referenced by JetTester::analyze(), and JetTester_HeavyIons::analyze().
|
inline |
Definition at line 48 of file GenEventInfoProduct.h.
|
inline |
Definition at line 42 of file GenEventInfoProduct.h.
|
inline |
Definition at line 50 of file GenEventInfoProduct.h.
|
inline |
Definition at line 52 of file GenEventInfoProduct.h.
GenEventInfoProduct & GenEventInfoProduct::operator= | ( | const GenEventInfoProduct & | other | ) |
Definition at line 60 of file GenEventInfoProduct.cc.
References alphaQCD_, alphaQED_, binningValues_, DJRValues_, nMEPartons_, nMEPartonsFiltered_, pdf(), qScale_, setPDF(), signalProcessID_, and weights_.
|
inline |
Definition at line 41 of file GenEventInfoProduct.h.
Referenced by GenEventInfoProduct(), operator=(), heppy::PdfWeightProducerTool::processEvent(), PdfWeightProducer::produce(), and GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 37 of file GenEventInfoProduct.h.
Referenced by HLTBitAnalyzer::analyze(), RemovePileUpDominatedEventsGen::filter(), and GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 67 of file GenEventInfoProduct.h.
References MuonErrorMatrixValues_cff::values.
|
inline |
|
inline |
|
inline |
Definition at line 75 of file GenEventInfoProduct.h.
References gen::n.
|
inline |
Definition at line 65 of file GenEventInfoProduct.h.
Referenced by GenEventInfoProduct(), and operator=().
|
inline |
|
inline |
Definition at line 59 of file GenEventInfoProduct.h.
|
inline |
|
inline |
Definition at line 35 of file GenEventInfoProduct.h.
Referenced by GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 31 of file GenEventInfoProduct.h.
References mcverticesanalyzer_cfi::weightProduct.
Referenced by CMSDAS11DijetAnalyzer::analyze(), CMSDAS11DijetTestAnalyzer::analyze(), BTagPerformanceAnalyzerMC::analyze(), HLTBitAnalyzer::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), TTbar_GenJetAnalyzer::analyze(), TTbar_Kinematics::analyze(), PDFWeightsTest::analyze(), FSQDiJetAve::analyze(), RecAnalyzerMinbias::analyze(), IsoTrackCalibration::analyze(), StudyHLT::analyze(), IsoTrackCalib::analyze(), HcalIsoTrkAnalyzer::analyze(), StringBasedNTupler::fill(), tnp::BaseTreeFiller::init(), GenFilterEfficiencyProducer::produce(), GenWeightsTableProducer::produce(), MuScleFit::selectMuons(), and WeightManager::weight().
double GenEventInfoProduct::weightProduct | ( | ) | const |
|
inline |
Definition at line 28 of file GenEventInfoProduct.h.
Referenced by RivetAnalyzer::analyze(), GenWeightsTableProducer::fillLHEWeightTables(), GenWeightsTableProducer::fillOnlyPSWeightTable(), and GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 29 of file GenEventInfoProduct.h.
|
private |
Definition at line 86 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 86 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 98 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 99 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 100 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 101 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 89 of file GenEventInfoProduct.h.
|
private |
Definition at line 85 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 82 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 79 of file GenEventInfoProduct.h.
Referenced by operator=(), and weightProduct().