#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::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 26 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().
GenEventInfoProduct::GenEventInfoProduct | ( | GenEventInfoProduct && | other | ) |
Definition at line 56 of file GenEventInfoProduct.cc.
|
virtual |
Definition at line 71 of file GenEventInfoProduct.cc.
|
inline |
Definition at line 40 of file GenEventInfoProduct.h.
Referenced by CompareGeneratorResultsAnalyzer::globalEndLuminosityBlock(), and GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 41 of file GenEventInfoProduct.h.
Referenced by CompareGeneratorResultsAnalyzer::globalEndLuminosityBlock(), and GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 46 of file GenEventInfoProduct.h.
Referenced by CaloMCTruthTreeProducer::analyze(), PFMCTruthTreeProducer::analyze(), JetTester::analyze(), L1GenTreeProducer::analyze(), JetTester_HeavyIons::analyze(), and CompareGeneratorResultsAnalyzer::globalEndLuminosityBlock().
|
inline |
Definition at line 49 of file GenEventInfoProduct.h.
Referenced by CompareGeneratorResultsAnalyzer::globalEndLuminosityBlock().
|
inline |
Definition at line 47 of file GenEventInfoProduct.h.
Referenced by JetTester::analyze(), L1GenTreeProducer::analyze(), and JetTester_HeavyIons::analyze().
|
inline |
Definition at line 50 of file GenEventInfoProduct.h.
|
inline |
Definition at line 44 of file GenEventInfoProduct.h.
|
inline |
Definition at line 52 of file GenEventInfoProduct.h.
Referenced by CompareGeneratorResultsAnalyzer::globalEndLuminosityBlock().
|
inline |
Definition at line 54 of file GenEventInfoProduct.h.
Referenced by CompareGeneratorResultsAnalyzer::globalEndLuminosityBlock().
GenEventInfoProduct & GenEventInfoProduct::operator= | ( | const GenEventInfoProduct & | other | ) |
Definition at line 75 of file GenEventInfoProduct.cc.
References alphaQCD_, alphaQED_, binningValues_, DJRValues_, nMEPartons_, nMEPartonsFiltered_, pdf(), qScale_, setPDF(), signalProcessID_, and weights_.
GenEventInfoProduct & GenEventInfoProduct::operator= | ( | GenEventInfoProduct && | other | ) |
Definition at line 92 of file GenEventInfoProduct.cc.
References alphaQCD_, alphaQED_, binningValues_, DJRValues_, eostools::move(), nMEPartons_, nMEPartonsFiltered_, trackingPlots::other, pdf_, qScale_, signalProcessID_, and weights_.
|
inline |
Definition at line 43 of file GenEventInfoProduct.h.
Referenced by GenEventInfoProduct(), operator=(), heppy::PdfWeightProducerTool::processEvent(), PdfWeightProducer::produce(), and GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 39 of file GenEventInfoProduct.h.
Referenced by HLTBitAnalyzer::analyze(), RemovePileUpDominatedEventsGen::filter(), CompareGeneratorResultsAnalyzer::globalEndLuminosityBlock(), and GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 69 of file GenEventInfoProduct.h.
References MuonErrorMatrixValues_cff::values.
|
inline |
|
inline |
|
inline |
Definition at line 77 of file GenEventInfoProduct.h.
References gen::n.
|
inline |
Definition at line 67 of file GenEventInfoProduct.h.
Referenced by GenEventInfoProduct(), and operator=().
|
inline |
|
inline |
Definition at line 61 of file GenEventInfoProduct.h.
|
inline |
|
inline |
Definition at line 37 of file GenEventInfoProduct.h.
Referenced by CompareGeneratorResultsAnalyzer::globalEndLuminosityBlock(), and GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 33 of file GenEventInfoProduct.h.
References mcverticesanalyzer_cfi::weightProduct.
Referenced by CMSDAS11DijetAnalyzer::analyze(), CMSDAS11DijetTestAnalyzer::analyze(), RivetAnalyzer::analyze(), BTagPerformanceAnalyzerMC::analyze(), HLTBitAnalyzer::analyze(), TTbar_GenJetAnalyzer::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), TTbar_Kinematics::analyze(), PDFWeightsTest::analyze(), L1GenTreeProducer::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 30 of file GenEventInfoProduct.h.
Referenced by RivetAnalyzer::analyze(), GenWeightsTableProducer::fillLHEPdfWeightTablesFromGenInfo(), GenWeightsTableProducer::fillLHEWeightTables(), GenWeightsTableProducer::fillOnlyPSWeightTable(), CompareGeneratorResultsAnalyzer::globalEndLuminosityBlock(), and GenParticles2HepMCConverter::produce().
|
inline |
Definition at line 31 of file GenEventInfoProduct.h.
|
private |
Definition at line 88 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 88 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 102 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 103 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 91 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 87 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 84 of file GenEventInfoProduct.h.
Referenced by operator=().
|
private |
Definition at line 81 of file GenEventInfoProduct.h.
Referenced by operator=(), and weightProduct().