Classes | |
class | DataFormat |
struct | DualToken |
Public Member Functions | |
ElectronHEEPIDValueMapProducer (const edm::ParameterSet &) | |
~ElectronHEEPIDValueMapProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
template<typename T > | |
void | setToken (DualToken< T > &token, const edm::ParameterSet &iPara, const std::string &tagAOD, const std::string &tagMiniAOD, DataFormat format) |
template<typename T > | |
void | setToken (edm::EDGetTokenT< T > &token, const edm::ParameterSet &iPara, const std::string &tag) |
template<typename T > | |
void | setToken (edm::EDGetTokenT< T > &token, edm::InputTag tag) |
template<typename T > | |
void | setToken (std::vector< DualToken< T >> &tokens, const edm::ParameterSet &iPara, const std::string &tagAOD, const std::string &tagMiniAOD, DataFormat format) |
template<typename T > | |
void | setToken (std::vector< edm::EDGetTokenT< T >> &tokens, const edm::ParameterSet &iPara, const std::string &tagName) |
Static Private Member Functions | |
static float | calTrkIso (const reco::GsfElectron &ele, IsolationCalculators const &isolationCalculators) |
template<typename T > | |
static edm::Handle< T > | getHandle (const edm::Event &iEvent, const DualToken< T > &token) |
template<typename T > | |
static std::vector< edm::Handle< T > > | getHandles (const edm::Event &iEvent, const std::vector< DualToken< T >> &tokens) |
template<typename T > | |
static bool | isEventAOD (const edm::Event &iEvent, const DualToken< T > &token) |
static int | nrSaturatedCrysIn5x5 (const reco::GsfElectron &ele, edm::Handle< EcalRecHitCollection > &ebHits, edm::Handle< EcalRecHitCollection > &eeHits, edm::ESHandle< CaloTopology > &caloTopo) |
template<typename T > | |
static void | writeValueMap (edm::Event &iEvent, const edm::Handle< edm::View< reco::GsfElectron >> &handle, const std::vector< T > &values, const std::string &label) |
Static Private Attributes | |
static const std::string | eleNrSaturateIn5x5Label_ = "eleNrSaturateIn5x5" |
static const std::string | eleTrkPtIso04Label_ = "eleTrkPtIso04" |
static const std::string | eleTrkPtIsoLabel_ = "eleTrkPtIso" |
Additional Inherited Members | |
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 |
Definition at line 33 of file ElectronHEEPIDValueMapProducer.cc.
|
explicit |
Definition at line 191 of file ElectronHEEPIDValueMapProducer.cc.
References beamSpotToken_, caloTopoToken_, candTokens_, candVetosAOD_, candVetosMiniAOD_, dataFormat_, ebRecHitToken_, eeRecHitToken_, eleNrSaturateIn5x5Label_, eleToken_, eleTrkPtIso04Label_, eleTrkPtIsoLabel_, DeDxTools::esConsumes(), Exception, edm::ParameterSet::getParameter(), recoMuon::in, makeTrkIso04_, MillePedeFileConverter_cfg::out, EleTkIsolFromCands::pidVetoFromStr(), setToken(), findQualityFiles::size, and HcalDetIdTransform::transform().
|
override |
Definition at line 224 of file ElectronHEEPIDValueMapProducer.cc.
|
staticprivate |
Definition at line 280 of file ElectronHEEPIDValueMapProducer.cc.
References reco::GsfElectron::gsfTrack(), edm::Ref< C, T, F >::isNull(), and SiStripPI::max.
Referenced by produce().
|
static |
Definition at line 305 of file ElectronHEEPIDValueMapProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and EleTkIsolFromCands::pSetDescript().
|
inlinestaticprivate |
Definition at line 129 of file ElectronHEEPIDValueMapProducer.cc.
References patZpeak::handle, iEvent, and unpackBuffers-CaloStage2::token.
Referenced by produce().
|
inlinestaticprivate |
Definition at line 139 of file ElectronHEEPIDValueMapProducer.cc.
References iEvent, HLTEGTnPMonitor_cfi::isAOD, PAT_cff::miniAOD, and unpackBuffers-CaloStage2::token.
Referenced by produce().
|
inlinestaticprivate |
Definition at line 158 of file ElectronHEEPIDValueMapProducer.cc.
References patZpeak::handle, iEvent, and unpackBuffers-CaloStage2::token.
Referenced by produce().
|
staticprivate |
Definition at line 271 of file ElectronHEEPIDValueMapProducer.cc.
References EcalBarrel, EcalClusterToolsT< noZS >::nrSaturatedCrysIn5x5(), edm::Handle< T >::product(), edm::ESHandle< T >::product(), FastTrackerRecHitMaskProducer_cfi::recHits, and reco::GsfElectron::superCluster().
Referenced by produce().
|
overrideprivate |
Definition at line 226 of file ElectronHEEPIDValueMapProducer.cc.
References beamSpotToken_, caloTopoToken_, calTrkIso(), candTokens_, candVetosAOD_, candVetosMiniAOD_, ebRecHitToken_, eeRecHitToken_, eleNrSaturateIn5x5Label_, eleToken_, eleTrkPtIso04Label_, eleTrkPtIsoLabel_, getHandle(), edm::EventSetup::getHandle(), getHandles(), patZpeak::handle, iEvent, HLTEGTnPMonitor_cfi::isAOD, isEventAOD(), makeTrkIso04_, nrSaturatedCrysIn5x5(), trkIso04CalcCfg_, trkIsoCalcCfg_, and writeValueMap().
|
inlineprivate |
Definition at line 95 of file ElectronHEEPIDValueMapProducer.cc.
References edm::ParameterSet::getParameter(), and unpackBuffers-CaloStage2::token.
|
inlineprivate |
Definition at line 82 of file ElectronHEEPIDValueMapProducer.cc.
References edm::ParameterSet::getParameter(), GlobalPosition_Frontier_DevDB_cff::tag, and unpackBuffers-CaloStage2::token.
|
inlineprivate |
Definition at line 78 of file ElectronHEEPIDValueMapProducer.cc.
References GlobalPosition_Frontier_DevDB_cff::tag, and unpackBuffers-CaloStage2::token.
Referenced by ElectronHEEPIDValueMapProducer(), and setToken().
|
inlineprivate |
Definition at line 106 of file ElectronHEEPIDValueMapProducer.cc.
References edm::ParameterSet::getParameter(), SiStripPI::max, reco_skim_cfg_mod::maxSize, PAT_cff::miniAOD, and setToken().
|
inlineprivate |
Definition at line 86 of file ElectronHEEPIDValueMapProducer.cc.
References edm::ParameterSet::getParameter(), setToken(), GlobalPosition_Frontier_DevDB_cff::tag, JetPartonCorrections_cff::tagName, triggerMatcherToHLTDebug_cfi::tags, and unpackBuffers-CaloStage2::token.
|
staticprivate |
Definition at line 294 of file ElectronHEEPIDValueMapProducer.cc.
References trigObjTnPSource_cfi::filler, patZpeak::handle, iEvent, label, eostools::move(), and contentValuesCheck::values.
Referenced by produce().
|
private |
Definition at line 172 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by ElectronHEEPIDValueMapProducer(), and produce().
|
private |
Definition at line 173 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by ElectronHEEPIDValueMapProducer(), and produce().
|
private |
Definition at line 171 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by ElectronHEEPIDValueMapProducer(), and produce().
|
private |
Definition at line 179 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by ElectronHEEPIDValueMapProducer(), and produce().
|
private |
Definition at line 180 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by ElectronHEEPIDValueMapProducer(), and produce().
|
private |
Definition at line 178 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by ElectronHEEPIDValueMapProducer().
|
private |
Definition at line 168 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by ElectronHEEPIDValueMapProducer(), and produce().
|
private |
Definition at line 169 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by ElectronHEEPIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 184 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by ElectronHEEPIDValueMapProducer(), and produce().
|
private |
Definition at line 170 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by ElectronHEEPIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 183 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by ElectronHEEPIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 182 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by ElectronHEEPIDValueMapProducer(), and produce().
|
private |
Definition at line 177 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by ElectronHEEPIDValueMapProducer(), and produce().
|
private |
Definition at line 176 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by produce().
|
private |
Definition at line 175 of file ElectronHEEPIDValueMapProducer.cc.
Referenced by produce().