Public Member Functions | |
GenParticleDecaySelector (const edm::ParameterSet &) | |
constructor More... | |
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 |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
std::pair< reco::GenParticleRef, reco::GenParticle * > | add (reco::GenParticleCollection &, const reco::GenParticle &, reco::GenParticleRefProd) |
recursively add a new particle to the output collection More... | |
void | produce (edm::Event &e, const edm::EventSetup &) override |
process one event More... | |
Private Attributes | |
bool | firstEvent_ |
PdtEntry | particle_ |
edm::EDGetTokenT< reco::GenParticleCollection > | srcToken_ |
source collection name More... | |
int | status_ |
particle status More... | |
edm::ESGetToken< HepPDT::ParticleDataTable, edm::DefaultRecord > | tableToken_ |
particle type More... | |
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 16 of file GenParticleDecaySelector.cc.
GenParticleDecaySelector::GenParticleDecaySelector | ( | const edm::ParameterSet & | cfg | ) |
constructor
Definition at line 51 of file GenParticleDecaySelector.cc.
|
private |
recursively add a new particle to the output collection
Definition at line 88 of file GenParticleDecaySelector.cc.
References ztail::d, PA_ZEESkim_cff::decay, g, runTauDisplay::gp, mps_fire::i, heavyIonCSV_trainingSettings::idx, dqmiodumpmetadata::n, AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::r.
Referenced by produce(), and counter.Counter::register().
|
static |
Definition at line 60 of file GenParticleDecaySelector.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
overrideprivate |
process one event
Definition at line 71 of file GenParticleDecaySelector.cc.
References add(), PA_ZEESkim_cff::decay, firstEvent_, g, AJJGenJetFilter_cfi::genParticles, edm::Event::getByToken(), edm::EventSetup::getData(), edm::Event::getRefBeforePut(), eostools::move(), particle_, PdtEntry::pdgId(), edm::Event::put(), PdtEntry::setup(), srcToken_, status_, and tableToken_.
|
private |
Definition at line 26 of file GenParticleDecaySelector.cc.
Referenced by produce().
|
private |
Definition at line 31 of file GenParticleDecaySelector.cc.
Referenced by produce().
|
private |
source collection name
Definition at line 28 of file GenParticleDecaySelector.cc.
Referenced by produce().
|
private |
|
private |