#include <VersionedIdProducer.h>
Public Types | |
using | Collection = edm::View< PhysicsObjectType > |
using | PhysicsObjectType = typename PhysicsObjectPtr::value_type |
using | TokenType = edm::EDGetTokenT< Collection > |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
VersionedIdProducer (const edm::ParameterSet &) | |
~VersionedIdProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Attributes | |
std::vector< std::unique_ptr< SelectorType > > | ids_ |
TokenType | physicsObjectSrc_ |
bool | verbose_ |
Definition at line 27 of file VersionedIdProducer.h.
using VersionedIdProducer< PhysicsObjectPtr, SelectorType >::Collection = edm::View<PhysicsObjectType> |
Definition at line 31 of file VersionedIdProducer.h.
using VersionedIdProducer< PhysicsObjectPtr, SelectorType >::PhysicsObjectType = typename PhysicsObjectPtr::value_type |
Definition at line 29 of file VersionedIdProducer.h.
using VersionedIdProducer< PhysicsObjectPtr, SelectorType >::TokenType = edm::EDGetTokenT<Collection> |
Definition at line 32 of file VersionedIdProducer.h.
|
explicit |
Definition at line 61 of file VersionedIdProducer.h.
References constexpr, Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), edm::ParameterSet::getParameterSetVector(), edm::ParameterSet::getUntrackedParameter(), egmPatElectronIDs_cfi::idMD5, photons_cff::ids, VersionedIdProducer< PhysicsObjectPtr, SelectorType >::ids_, cutBasedElectronHLTPreselecition_Summer16_V1_cff::isPOGApproved, VersionedIdProducer< PhysicsObjectPtr, SelectorType >::physicsObjectSrc_, VersionedIdProducer< PhysicsObjectPtr, SelectorType >::produce(), AlCaHLTBitMon_QueryRunRegistry::string, and VersionedIdProducer< PhysicsObjectPtr, SelectorType >::verbose_.
|
inlineoverride |
Definition at line 35 of file VersionedIdProducer.h.
References VersionedIdProducer< PhysicsObjectPtr, SelectorType >::produce().
|
override |
Definition at line 133 of file VersionedIdProducer.h.
References constexpr, edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), mps_fire::i, triggerObjects_cff::id, VersionedIdProducer< PhysicsObjectPtr, SelectorType >::ids_, edm::helper::Filler< Map >::insert(), pat::UserData::make(), eostools::move(), VersionedIdProducer< PhysicsObjectPtr, SelectorType >::physicsObjectSrc_, edm::View< T >::ptrAt(), edm::Event::put(), edm::View< T >::size(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by VersionedIdProducer< PhysicsObjectPtr, SelectorType >::VersionedIdProducer(), and VersionedIdProducer< PhysicsObjectPtr, SelectorType >::~VersionedIdProducer().
|
private |
Definition at line 44 of file VersionedIdProducer.h.
Referenced by VersionedIdProducer< PhysicsObjectPtr, SelectorType >::produce(), and VersionedIdProducer< PhysicsObjectPtr, SelectorType >::VersionedIdProducer().
|
private |
Definition at line 42 of file VersionedIdProducer.h.
Referenced by VersionedIdProducer< PhysicsObjectPtr, SelectorType >::produce(), and VersionedIdProducer< PhysicsObjectPtr, SelectorType >::VersionedIdProducer().
|
private |
Definition at line 41 of file VersionedIdProducer.h.
Referenced by VersionedIdProducer< PhysicsObjectPtr, SelectorType >::VersionedIdProducer().