Public Member Functions | |
PATTauIDEmbedder (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~PATTauIDEmbedder () 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 Types | |
typedef std::pair< edm::InputTag, std::vector< NameWPIdx > > | IDContainerData |
typedef std::pair< std::string, edm::InputTag > | NameTag |
typedef std::pair< std::string, int > | NameWPIdx |
Private Attributes | |
size_t | nNewPlainTauIds_ |
size_t | nNewTauIds_ |
std::vector< edm::EDGetTokenT< reco::TauDiscriminatorContainer > > | patTauIDContainerTokens_ |
std::vector< edm::EDGetTokenT< pat::PATTauDiscriminator > > | patTauIDTokens_ |
edm::EDGetTokenT< pat::TauCollection > | src_ |
std::vector< std::vector< NameWPIdx > > | tauIDSrcContainers_ |
std::vector< NameTag > | tauIDSrcs_ |
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 11 of file PATTauIDEmbedder.cc.
|
private |
Definition at line 24 of file PATTauIDEmbedder.cc.
|
private |
Definition at line 21 of file PATTauIDEmbedder.cc.
|
private |
Definition at line 22 of file PATTauIDEmbedder.cc.
|
explicit |
Definition at line 33 of file PATTauIDEmbedder.cc.
References looper::cfg, generateEDF::cont, first, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNamesForType(), Skims_PA_cff::name, names, nNewPlainTauIds_, nNewTauIds_, patTauIDContainerTokens_, patTauIDTokens_, src_, makeGlobalPositionRcd_cfg::tag, tauIDSrcContainers_, tauIDSrcs_, and edm::vector_transform().
|
inlineoverride |
Definition at line 14 of file PATTauIDEmbedder.cc.
|
override |
Definition at line 72 of file PATTauIDEmbedder.cc.
References edm::Event::get(), edm::Event::getByToken(), mps_fire::i, dqmiolumiharvest::j, eostools::move(), nNewPlainTauIds_, nNewTauIds_, patTauIDContainerTokens_, patTauIDTokens_, edm::Event::put(), PDWG_TauSkim_cff::rawValues, edm::second(), pat::Tau::setTauIDs(), src_, tauIDSrcContainers_, tauIDSrcs_, and PDWG_TauSkim_cff::workingPoints.
|
private |
Definition at line 29 of file PATTauIDEmbedder.cc.
Referenced by PATTauIDEmbedder(), and produce().
|
private |
Definition at line 30 of file PATTauIDEmbedder.cc.
Referenced by PATTauIDEmbedder(), and produce().
|
private |
Definition at line 28 of file PATTauIDEmbedder.cc.
Referenced by PATTauIDEmbedder(), and produce().
|
private |
Definition at line 27 of file PATTauIDEmbedder.cc.
Referenced by PATTauIDEmbedder(), and produce().
|
private |
Definition at line 20 of file PATTauIDEmbedder.cc.
Referenced by PATTauIDEmbedder(), and produce().
|
private |
Definition at line 26 of file PATTauIDEmbedder.cc.
Referenced by PATTauIDEmbedder(), and produce().
|
private |
Definition at line 25 of file PATTauIDEmbedder.cc.
Referenced by PATTauIDEmbedder(), and produce().