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 | |
float | computeWorstPFChargedIsolation (const reco::Photon &photon, const edm::View< reco::Candidate > &pfCands, const reco::VertexCollection &vertices, const reco::Vertex &pv, unsigned char options, bool isAOD) const |
void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
Private Attributes | |
const edm::EDGetTokenT < EcalRecHitCollection > | ebRecHits_ |
const EcalClusterLazyTools::ESGetTokens | ecalClusterToolsESGetTokens_ |
const edm::EDGetTokenT < EcalRecHitCollection > | eeRecHits_ |
const edm::EDGetTokenT < EcalRecHitCollection > | esRecHits_ |
const bool | isAOD_ |
const edm::EDGetToken | particleBasedIsolationToken_ |
const edm::EDGetTokenT < edm::View< reco::Candidate > > | pfCandsToken_ |
const edm::EDGetTokenT < edm::View< reco::Photon > > | src_ |
const bool | usesES_ |
const edm::EDGetTokenT < reco::VertexCollection > | vtxToken_ |
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) |
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) |
Definition at line 82 of file PhotonIDValueMapProducer.cc.
|
explicit |
Definition at line 161 of file PhotonIDValueMapProducer.cc.
References edm::EDConsumerBase::consumesCollector().
|
inlineoverride |
Definition at line 85 of file PhotonIDValueMapProducer.cc.
|
private |
Definition at line 360 of file PhotonIDValueMapProducer.cc.
References reco::deltaR2(), dRveto2Endcap, reco::PFCandidate::h, reco::Photon::isEB(), SiStripPI::max, ptMin, edm::View< T >::size(), and reco::Photon::superCluster().
Referenced by produce().
|
static |
Definition at line 344 of file PhotonIDValueMapProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.
|
overrideprivatevirtual |
Implements edm::global::EDProducerBase.
Definition at line 178 of file PhotonIDValueMapProducer.cc.
References SplitLinear::begin, computeWorstPFChargedIsolation(), reco::deltaR2(), DR_VETO, ebRecHits_, ecalClusterToolsESGetTokens_, eeRecHits_, dataset::end, esRecHits_, Exception, validate-o2o-wbm::f, reco::PFCandidate::gamma, EcalClusterLazyToolsBase::ESGetTokens::get(), edm::Event::getByToken(), edm::Event::getHandle(), reco::PFCandidate::h, reco::PFCandidate::h0, mps_fire::i, isAOD_, edm::isNotFinite(), eostools::move(), nVars_, AlCaHLTBitMon_ParallelJobs::options, particleBasedIsolationToken_, pfCandsToken_, edm::Event::put(), PV_CONSTRAINT, fileCollector::seed, mathSSE::sqrt(), alcazmumu_cfi::src, src_, ctpps_dqm_sourceclient-live_cfg::test, usesES_, beam_dqm_sourceclient-live_cfg::vertices, vtxToken_, reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
|
private |
Definition at line 110 of file PhotonIDValueMapProducer.cc.
Referenced by produce().
|
private |
Definition at line 117 of file PhotonIDValueMapProducer.cc.
Referenced by produce().
|
private |
Definition at line 111 of file PhotonIDValueMapProducer.cc.
Referenced by produce().
|
private |
Definition at line 112 of file PhotonIDValueMapProducer.cc.
Referenced by produce().
|
private |
Definition at line 119 of file PhotonIDValueMapProducer.cc.
Referenced by produce().
|
private |
Definition at line 115 of file PhotonIDValueMapProducer.cc.
Referenced by produce().
|
private |
Definition at line 114 of file PhotonIDValueMapProducer.cc.
Referenced by produce().
|
private |
Definition at line 109 of file PhotonIDValueMapProducer.cc.
Referenced by produce().
|
private |
Definition at line 106 of file PhotonIDValueMapProducer.cc.
Referenced by produce().
|
private |
Definition at line 113 of file PhotonIDValueMapProducer.cc.
Referenced by produce().