#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_ |
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::ProducerBase | |
ProducesCollector | producesCollector () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 44 of file IsoValueMapProducer.cc.
|
inlineexplicit |
Definition at line 46 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 >::rho_miniiso_, and IsoValueMapProducer< T >::rho_pfiso_.
|
inlineoverride |
Definition at line 71 of file IsoValueMapProducer.cc.
References IsoValueMapProducer< T >::fillDescriptions(), and IsoValueMapProducer< T >::produce().
|
private |
Definition at line 131 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(), getGTfromDQMFile::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 170 of file IsoValueMapProducer.cc.
|
private |
Definition at line 173 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::produce().
|
private |
Definition at line 176 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(), getGTfromDQMFile::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 221 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::produce().
|
private |
Definition at line 224 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(), edm::helper::Filler< Map >::insert(), SiStripPI::max, eostools::move(), getGTfromDQMFile::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 264 of file IsoValueMapProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), timingPdfMaker::modname, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by IsoValueMapProducer< T >::~IsoValueMapProducer().
|
private |
Definition at line 104 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doMiniIso(), IsoValueMapProducer< T >::doPFIsoEle(), and IsoValueMapProducer< T >::doPFIsoPho().
|
private |
Definition at line 108 of file IsoValueMapProducer.cc.
References pat::Electron::superCluster().
|
private |
Definition at line 112 of file IsoValueMapProducer.cc.
References pat::Photon::superCluster().
|
overrideprivate |
Definition at line 117 of file IsoValueMapProducer.cc.
References IsoValueMapProducer< T >::doMiniIso(), IsoValueMapProducer< T >::doPFIsoEle(), and IsoValueMapProducer< T >::doPFIsoPho().
Referenced by IsoValueMapProducer< T >::~IsoValueMapProducer().
|
private |
Definition at line 84 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doMiniIso(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 85 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doPFIsoEle(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 86 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 >::doPFIsoPho(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 88 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doPFIsoPho(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 81 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doMiniIso(), IsoValueMapProducer< T >::doPFIsoEle(), and IsoValueMapProducer< T >::doPFIsoPho().
|
private |
Definition at line 82 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doMiniIso(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 83 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doPFIsoEle(), IsoValueMapProducer< T >::doPFIsoPho(), and IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 80 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::doMiniIso(), IsoValueMapProducer< T >::doPFIsoEle(), and IsoValueMapProducer< T >::doPFIsoPho().