Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
reco::PFCandidate::ParticleType | candidatePdgId (const edm::Ptr< reco::Candidate > candidate, bool isAOD) |
template<class T , class U > | |
float | computeWorstPFChargedIsolation (const T &photon, const U &pfCandidates, const edm::Handle< reco::VertexCollection > vertices, bool isAOD, float dRmax, float dxyMax, float dzMax, float dRvetoBarrel, float dRvetoEndcap, float ptMin) |
std::pair< float, float > | getTrackDxyDz (const edm::Ptr< reco::Candidate > &candidate, const reco::Particle::Point &vtxpos, bool isAOD) |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | writeValueMap (edm::Event &iEvent, const edm::Handle< edm::View< reco::Photon > > &handle, const std::vector< float > &values, const std::string &label) const |
Static Private Attributes | |
static char | phoChargedIsolation_ [] = "phoChargedIsolation" |
static char | phoESEffSigmaRR_ [] = "phoESEffSigmaRR" |
static char | phoFull5x5E1x3_ [] = "phoFull5x5E1x3" |
static char | phoFull5x5E2x2_ [] = "phoFull5x5E2x2" |
static char | phoFull5x5E2x5Max_ [] = "phoFull5x5E2x5Max" |
static char | phoFull5x5E5x5_ [] = "phoFull5x5E5x5" |
static char | phoFull5x5SigmaIEtaIEta_ [] = "phoFull5x5SigmaIEtaIEta" |
static char | phoFull5x5SigmaIEtaIPhi_ [] = "phoFull5x5SigmaIEtaIPhi" |
static char | phoNeutralHadronIsolation_ [] = "phoNeutralHadronIsolation" |
static char | phoPhotonIsolation_ [] = "phoPhotonIsolation" |
static char | phoWorstChargedIsolation_ [] = "phoWorstChargedIsolation" |
static char | phoWorstChargedIsolationWithConeVeto_ [] = "phoWorstChargedIsolationWithConeVeto" |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | 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) |
Definition at line 40 of file PhotonIDValueMapProducer.cc.
|
explicit |
Definition at line 138 of file PhotonIDValueMapProducer.cc.
References ebReducedRecHitCollection_, ebReducedRecHitCollectionMiniAOD_, eeReducedRecHitCollection_, eeReducedRecHitCollectionMiniAOD_, esReducedRecHitCollection_, esReducedRecHitCollectionMiniAOD_, edm::ParameterSet::getParameter(), edm::InputTag::label(), diffTwoXMLs::label, particleBasedIsolationToken_, pfCandidatesToken_, pfCandidatesTokenMiniAOD_, phoChargedIsolation_, phoESEffSigmaRR_, phoFull5x5E1x3_, phoFull5x5E2x2_, phoFull5x5E2x5Max_, phoFull5x5E5x5_, phoFull5x5SigmaIEtaIEta_, phoFull5x5SigmaIEtaIPhi_, phoNeutralHadronIsolation_, phoPhotonIsolation_, phoWorstChargedIsolation_, phoWorstChargedIsolationWithConeVeto_, src_, srcMiniAOD_, usesES_, vtxToken_, and vtxTokenMiniAOD_.
|
override |
Definition at line 203 of file PhotonIDValueMapProducer.cc.
|
private |
Definition at line 529 of file PhotonIDValueMapProducer.cc.
References funct::abs(), reco::PFCandidate::gamma, reco::PFCandidate::h, reco::PFCandidate::h0, common_cff::pdgId, and reco::PFCandidate::X.
Referenced by computeWorstPFChargedIsolation(), and produce().
|
private |
Definition at line 469 of file PhotonIDValueMapProducer.cc.
References candidatePdgId(), reco::deltaR2(), AlignmentTrackSelector_cfi::dzMax, getTrackDxyDz(), reco::PFCandidate::h, mps_fire::i, ALCARECOTkAlBeamHalo_cff::ptMin, and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by fillDescriptions(), and produce().
|
static |
Definition at line 457 of file PhotonIDValueMapProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), computeWorstPFChargedIsolation(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 550 of file PhotonIDValueMapProducer.cc.
References DEFINE_FWK_MODULE, reco::TrackBase::dxy(), pat::PackedCandidate::dxy(), reco::TrackBase::dz(), and pat::PackedCandidate::dz().
Referenced by computeWorstPFChargedIsolation(), and produce().
|
overrideprivate |
Definition at line 206 of file PhotonIDValueMapProducer.cc.
References candidatePdgId(), computeWorstPFChargedIsolation(), reco::deltaR2(), AlignmentTrackSelector_cfi::dzMax, heepElectronID_HEEPV50_CSA14_25ns_cff::e5x5, ebReducedRecHitCollection_, ebReducedRecHitCollectionMiniAOD_, eeReducedRecHitCollection_, eeReducedRecHitCollectionMiniAOD_, esReducedRecHitCollection_, esReducedRecHitCollectionMiniAOD_, Exception, reco::PFCandidate::gamma, edm::Event::getByToken(), getTrackDxyDz(), reco::PFCandidate::h, reco::PFCandidate::h0, iEvent, isInFootprint(), edm::detail::isnan(), edm::HandleBase::isValid(), lazyToolnoZS, particleBasedIsolationToken_, pfCandidatesToken_, pfCandidatesTokenMiniAOD_, egammaObjectModificationsInMiniAOD_cff::phoChargedIsolation, phoChargedIsolation_, phoESEffSigmaRR_, phoFull5x5E1x3_, phoFull5x5E2x2_, phoFull5x5E2x5Max_, phoFull5x5E5x5_, phoFull5x5SigmaIEtaIEta_, phoFull5x5SigmaIEtaIPhi_, egammaObjectModificationsInMiniAOD_cff::phoNeutralHadronIsolation, phoNeutralHadronIsolation_, egammaObjectModificationsInMiniAOD_cff::phoPhotonIsolation, phoPhotonIsolation_, egammaObjectModificationsInMiniAOD_cff::phoWorstChargedIsolation, phoWorstChargedIsolation_, phoWorstChargedIsolationWithConeVeto_, reco::Vertex::position(), ALCARECOTkAlBeamHalo_cff::ptMin, MetAnalyzer::pv(), mathSSE::sqrt(), TrackRefitter_38T_cff::src, src_, srcMiniAOD_, PFTauMVAInputDiscriminatorTranslator_cfi::test, usesES_, electrons_cff::vertices, vtxToken_, vtxTokenMiniAOD_, writeValueMap(), reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
|
private |
Definition at line 443 of file PhotonIDValueMapProducer.cc.
References objects.autophobj::filler, cmsBatch::handle, eostools::move(), and edm::Event::put().
Referenced by produce().
|
private |
Definition at line 86 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 95 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 87 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 96 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 88 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 97 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 83 of file PhotonIDValueMapProducer.cc.
Referenced by produce().
|
private |
Definition at line 90 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 99 of file PhotonIDValueMapProducer.cc.
|
private |
Definition at line 91 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 100 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 115 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 113 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 109 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 110 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 111 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 112 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 107 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 108 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 116 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 117 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 118 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 119 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 92 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 101 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 104 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 89 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 98 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().