Count candidates near to another candidate, write result in ValueMap. More...
Public Member Functions | |
NearbyCandCountComputer (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~NearbyCandCountComputer () 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 Attributes | |
double | deltaR2_ |
StringCutObjectSelector< reco::Candidate, true > | objCut_ |
edm::EDGetTokenT< edm::View< reco::Candidate > > | objectsToken_ |
StringCutObjectSelector< pat::DiObjectProxy, true > | pairCut_ |
edm::EDGetTokenT< edm::View< reco::Candidate > > | probesToken_ |
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 |
Count candidates near to another candidate, write result in ValueMap.
Implementation notice: not templated, because we want to allow cuts on the pair through PATDiObjectProxy
Definition at line 29 of file NearbyCandCountComputer.cc.
|
explicit |
Definition at line 45 of file NearbyCandCountComputer.cc.
|
override |
Definition at line 57 of file NearbyCandCountComputer.cc.
|
override |
Definition at line 59 of file NearbyCandCountComputer.cc.
References submitPVResolutionJobs::count, HLTMuonOfflineAnalyzer_cfi::deltaR2, deltaR2_, trigObjTnPSource_cfi::filler, iEvent, eostools::move(), objCut_, default_text_conditions_cfi::object, L1TPhase2Offline_cfi::objects, objectsToken_, pairCut_, probesToken_, and contentValuesCheck::values.
|
private |
Definition at line 39 of file NearbyCandCountComputer.cc.
Referenced by produce().
|
private |
Definition at line 41 of file NearbyCandCountComputer.cc.
Referenced by produce().
|
private |
Definition at line 38 of file NearbyCandCountComputer.cc.
Referenced by produce().
|
private |
Definition at line 42 of file NearbyCandCountComputer.cc.
Referenced by produce().
|
private |
Definition at line 37 of file NearbyCandCountComputer.cc.
Referenced by produce().