#include <PhysicsTools/NanoAOD/plugins/IsoValueMapProducer.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | doMiniIso (edm::Event &) const |
template<> | |
void | doMiniIso (edm::Event &iEvent) const |
void | doPFIsoEle (edm::Event &) const |
template<> | |
void | doPFIsoEle (edm::Event &iEvent) const |
void | doPFIsoPho (edm::Event &) const |
template<> | |
void | doPFIsoPho (edm::Event &iEvent) const |
float | getEtaForEA (const T *) const |
template<> | |
float | getEtaForEA (const pat::Electron *el) const |
template<> | |
float | getEtaForEA (const pat::Photon *ph) const |
void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
Private Attributes | |
std::unique_ptr< EffectiveAreas > | ea_miniiso_ |
std::unique_ptr< EffectiveAreas > | ea_pfiso_ |
std::unique_ptr< EffectiveAreas > | ea_pfiso_chg_ |
std::unique_ptr< EffectiveAreas > | ea_pfiso_neu_ |
std::unique_ptr< EffectiveAreas > | ea_pfiso_pho_ |
edm::EDGetTokenT< edm::ValueMap< float > > | mapIsoChg_ |
edm::EDGetTokenT< edm::ValueMap< float > > | mapIsoNeu_ |
edm::EDGetTokenT< edm::ValueMap< float > > | mapIsoPho_ |
bool | relative_ |
edm::EDGetTokenT< double > | rho_miniiso_ |
edm::EDGetTokenT< double > | rho_pfiso_ |
edm::EDGetTokenT< edm::View< T > > | src_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 45 of file IsoValueMapProducer.cc.
|
inlineexplicit |
Definition at line 47 of file IsoValueMapProducer.cc.
References IsoValueMapProducer< T >::ea_miniiso_, IsoValueMapProducer< T >::ea_pfiso_, IsoValueMapProducer< T >::ea_pfiso_chg_, IsoValueMapProducer< T >::ea_pfiso_neu_, IsoValueMapProducer< T >::ea_pfiso_pho_, edm::ParameterSet::getParameter(), IsoValueMapProducer< T >::mapIsoChg_, IsoValueMapProducer< T >::mapIsoNeu_, IsoValueMapProducer< T >::mapIsoPho_, IsoValueMapProducer< T >::rho_miniiso_, and IsoValueMapProducer< T >::rho_pfiso_.
|
inlineoverride |
Definition at line 76 of file IsoValueMapProducer.cc.
References IsoValueMapProducer< T >::fillDescriptions(), and IsoValueMapProducer< T >::produce().
|
private |
Definition at line 137 of file IsoValueMapProducer.cc.
References chg, IsoValueMapProducer< T >::ea_miniiso_, edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), IsoValueMapProducer< T >::getEtaForEA(), edm::helper::Filler< Map >::insert(), SiStripPI::max, min(), electrons_cff::miniIsoAll, electrons_cff::miniIsoChg, eostools::move(), NewMuonAssociatorByHits_cfi::obj, funct::pow(), edm::Event::put(), dttmaxenums::R, IsoValueMapProducer< T >::relative_, rho, IsoValueMapProducer< T >::rho_miniiso_, Scenarios_cff::scale, TrackRefitter_38T_cff::src, and IsoValueMapProducer< T >::src_.
Referenced by IsoValueMapProducer< T >::produce().
|
private |
Definition at line 178 of file IsoValueMapProducer.cc.
|
private |
Definition at line 183 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::produce().
|
private |
Definition at line 187 of file IsoValueMapProducer.cc.
References chg, IsoValueMapProducer< T >::ea_pfiso_, edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), IsoValueMapProducer< T >::getEtaForEA(), edm::helper::Filler< Map >::insert(), SiStripPI::max, eostools::move(), NewMuonAssociatorByHits_cfi::obj, electrons_cff::PFIsoAll, electrons_cff::PFIsoAll04, electrons_cff::PFIsoChg, edm::Event::put(), IsoValueMapProducer< T >::relative_, rho, IsoValueMapProducer< T >::rho_pfiso_, Scenarios_cff::scale, TrackRefitter_38T_cff::src, and IsoValueMapProducer< T >::src_.
|
private |
Definition at line 234 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::produce().
|
private |
Definition at line 238 of file IsoValueMapProducer.cc.
References chg, IsoValueMapProducer< T >::ea_pfiso_chg_, IsoValueMapProducer< T >::ea_pfiso_neu_, IsoValueMapProducer< T >::ea_pfiso_pho_, edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), IsoValueMapProducer< T >::getEtaForEA(), mps_fire::i, edm::helper::Filler< Map >::insert(), photons_cff::mapIsoChg, IsoValueMapProducer< T >::mapIsoChg_, photons_cff::mapIsoNeu, IsoValueMapProducer< T >::mapIsoNeu_, photons_cff::mapIsoPho, IsoValueMapProducer< T >::mapIsoPho_, SiStripPI::max, eostools::move(), NewMuonAssociatorByHits_cfi::obj, electrons_cff::PFIsoAll, electrons_cff::PFIsoChg, edm::Event::put(), IsoValueMapProducer< T >::relative_, rho, IsoValueMapProducer< T >::rho_pfiso_, Scenarios_cff::scale, TrackRefitter_38T_cff::src, and IsoValueMapProducer< T >::src_.
|
static |
Definition at line 289 of file IsoValueMapProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by IsoValueMapProducer< T >::~IsoValueMapProducer().
|
private |
Definition at line 114 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doMiniIso(), IsoValueMapProducer< T >::doPFIsoEle(), and IsoValueMapProducer< T >::doPFIsoPho().
|
private |
Definition at line 117 of file IsoValueMapProducer.cc.
References pat::Electron::superCluster().
|
private |
Definition at line 120 of file IsoValueMapProducer.cc.
References pat::Photon::superCluster().
|
overrideprivate |
Definition at line 126 of file IsoValueMapProducer.cc.
References IsoValueMapProducer< T >::doMiniIso(), IsoValueMapProducer< T >::doPFIsoEle(), and IsoValueMapProducer< T >::doPFIsoPho().
Referenced by IsoValueMapProducer< T >::~IsoValueMapProducer().
|
private |
Definition at line 93 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doMiniIso(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 94 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doPFIsoEle(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 95 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doPFIsoPho(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 96 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doPFIsoPho(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 97 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doPFIsoPho(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 90 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doPFIsoPho(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 91 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doPFIsoPho(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 92 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doPFIsoPho(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 87 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doMiniIso(), IsoValueMapProducer< T >::doPFIsoEle(), and IsoValueMapProducer< T >::doPFIsoPho().
|
private |
Definition at line 88 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doMiniIso(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 89 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doPFIsoEle(), IsoValueMapProducer< T >::doPFIsoPho(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 86 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doMiniIso(), IsoValueMapProducer< T >::doPFIsoEle(), and IsoValueMapProducer< T >::doPFIsoPho().