Public Member Functions | |
void | beginRun (edm::Run const &iRun, edm::EventSetup const &) override |
GenParticles2HepMCConverter (const edm::ParameterSet &pset) | |
void | produce (edm::Event &event, const edm::EventSetup &eventSetup) override |
~GenParticles2HepMCConverter () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
HepMC::FourVector | FourVector (const reco::Candidate::Point &point) |
HepMC::FourVector | FourVector (const reco::Candidate::LorentzVector &lvec) |
Private Attributes | |
const double | cmEnergy_ |
edm::EDGetTokenT < GenEventInfoProduct > | genEventInfoToken_ |
edm::EDGetTokenT < reco::CandidateView > | genParticlesToken_ |
edm::EDGetTokenT < GenRunInfoProduct > | genRunInfoToken_ |
edm::ESGetToken < HepPDT::ParticleDataTable, PDTRecord > | pTable_ |
std::vector< int > | signalParticlePdgIds_ |
HepMC::GenCrossSection | xsec_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 27 of file GenParticles2HepMCConverter.cc.
|
explicit |
Definition at line 56 of file GenParticles2HepMCConverter.cc.
References genEventInfoToken_, genParticlesToken_, genRunInfoToken_, edm::ParameterSet::getParameter(), pTable_, and signalParticlePdgIds_.
|
inlineoverride |
Definition at line 30 of file GenParticles2HepMCConverter.cc.
|
override |
Definition at line 68 of file GenParticles2HepMCConverter.cc.
References genRunInfoToken_, edm::Run::getByToken(), and xsec_.
|
inlineprivate |
Definition at line 46 of file GenParticles2HepMCConverter.cc.
Referenced by produce().
|
inlineprivate |
Definition at line 50 of file GenParticles2HepMCConverter.cc.
References SiStripPI::max.
|
override |
Definition at line 75 of file GenParticles2HepMCConverter.cc.
References funct::abs(), cmEnergy_, reco::Candidate::daughter(), reco::Candidate::eta(), edm::EventID::event(), spr::find(), FourVector(), genEventInfoToken_, GenParticle::GenParticle, genParticlesToken_, edm::EventSetup::getData(), mps_fire::i, gen::PdfInfo::id, edm::EventBase::id(), dqmiolumiharvest::j, ResonanceBuilder::mass, reco::Candidate::mass(), reco::Candidate::mother(), eostools::move(), dqmiodumpmetadata::n, reco::Candidate::numberOfMothers(), or, AlCaHLTBitMon_ParallelJobs::p, reco::Candidate::p4(), reco::Candidate::pdgId(), pTable_, reco::Candidate::pz(), gen::PdfInfo::scalePDF, signalParticlePdgIds_, reco::Candidate::status(), findQualityFiles::v, reco::Candidate::vertex(), gen::PdfInfo::x, gen::PdfInfo::xPDF, and xsec_.
|
private |
Definition at line 42 of file GenParticles2HepMCConverter.cc.
Referenced by produce().
|
private |
Definition at line 37 of file GenParticles2HepMCConverter.cc.
Referenced by GenParticles2HepMCConverter(), and produce().
|
private |
Definition at line 36 of file GenParticles2HepMCConverter.cc.
Referenced by GenParticles2HepMCConverter(), and produce().
|
private |
Definition at line 38 of file GenParticles2HepMCConverter.cc.
Referenced by beginRun(), and GenParticles2HepMCConverter().
|
private |
Definition at line 39 of file GenParticles2HepMCConverter.cc.
Referenced by GenParticles2HepMCConverter(), and produce().
|
private |
Definition at line 41 of file GenParticles2HepMCConverter.cc.
Referenced by GenParticles2HepMCConverter(), and produce().
|
private |
Definition at line 43 of file GenParticles2HepMCConverter.cc.
Referenced by beginRun(), and produce().