![]() |
![]() |
#include <PhysicsTools/NanoAOD/plugins/IsoValueMapProducer.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
![]() | |
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 | |
![]() | |
typedef EDProducerBase | ModuleType |
![]() | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
![]() | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
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 75 of file IsoValueMapProducer.cc.
|
private |
Definition at line 135 of file IsoValueMapProducer.cc.
References chg, edm::helper::Filler< Map >::fill(), iEvent, edm::helper::Filler< Map >::insert(), SiStripPI::max, SiStripPI::min, electrons_cff::miniIsoAll, electrons_cff::miniIsoChg, eostools::move(), getGTfromDQMFile::obj, funct::pow(), dttmaxenums::R, ZElectronSkim_cff::rho, L1EGammaClusterEmuProducer_cfi::scale, and TrackRefitter_38T_cff::src.
|
private |
Definition at line 174 of file IsoValueMapProducer.cc.
|
private |
Definition at line 177 of file IsoValueMapProducer.cc.
|
private |
Definition at line 180 of file IsoValueMapProducer.cc.
References chg, edm::helper::Filler< Map >::fill(), iEvent, edm::helper::Filler< Map >::insert(), SiStripPI::max, eostools::move(), getGTfromDQMFile::obj, electrons_cff::PFIsoAll, electrons_cff::PFIsoAll04, electrons_cff::PFIsoChg, ZElectronSkim_cff::rho, L1EGammaClusterEmuProducer_cfi::scale, and TrackRefitter_38T_cff::src.
|
private |
Definition at line 225 of file IsoValueMapProducer.cc.
|
private |
Definition at line 228 of file IsoValueMapProducer.cc.
References chg, edm::helper::Filler< Map >::fill(), iEvent, edm::helper::Filler< Map >::insert(), SiStripPI::max, eostools::move(), getGTfromDQMFile::obj, electrons_cff::PFIsoAll, electrons_cff::PFIsoChg, ZElectronSkim_cff::rho, L1EGammaClusterEmuProducer_cfi::scale, and TrackRefitter_38T_cff::src.
|
static |
Definition at line 268 of file IsoValueMapProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, timingPdfMaker::modname, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 108 of file IsoValueMapProducer.cc.
References getGTfromDQMFile::obj.
|
private |
Definition at line 112 of file IsoValueMapProducer.cc.
References pat::Electron::superCluster().
|
private |
Definition at line 116 of file IsoValueMapProducer.cc.
References pat::Photon::superCluster().
|
overrideprivatevirtual |
Implements edm::global::EDProducerBase.
Definition at line 121 of file IsoValueMapProducer.cc.
References iEvent.
|
private |
Definition at line 88 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 89 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 90 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 91 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 92 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 85 of file IsoValueMapProducer.cc.
|
private |
Definition at line 86 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 87 of file IsoValueMapProducer.cc.
Referenced by IsoValueMapProducer< T >::IsoValueMapProducer().
|
private |
Definition at line 84 of file IsoValueMapProducer.cc.