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) |
const reco::Track * | getTrackPointer (const edm::Ptr< reco::Candidate > candidate, bool isAOD) |
virtual 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" |
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 | |
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 135 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_, src_, srcMiniAOD_, usesES_, vtxToken_, and vtxTokenMiniAOD_.
PhotonIDValueMapProducer::~PhotonIDValueMapProducer | ( | ) |
Definition at line 199 of file PhotonIDValueMapProducer.cc.
|
private |
Definition at line 515 of file PhotonIDValueMapProducer.cc.
References funct::abs(), reco::PFCandidate::gamma, reco::PFCandidate::h, reco::PFCandidate::h0, cosmictrackingParticleSelector_cfi::pdgId, and reco::PFCandidate::X.
Referenced by computeWorstPFChargedIsolation(), and produce().
|
private |
Definition at line 448 of file PhotonIDValueMapProducer.cc.
References candidatePdgId(), reco::deltaR2(), particleFlowDisplacedVertexCandidate_cfi::dxy, reco::TrackBase::dxy(), allConversions_cfi::dz, reco::TrackBase::dz(), AlignmentTrackSelector_cfi::dzMax, getTrackPointer(), reco::PFCandidate::h, mps_fire::i, ALCARECOTkAlBeamHalo_cff::ptMin, and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by fillDescriptions(), and produce().
|
static |
Definition at line 436 of file PhotonIDValueMapProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), computeWorstPFChargedIsolation(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 536 of file PhotonIDValueMapProducer.cc.
References DEFINE_FWK_MODULE.
Referenced by computeWorstPFChargedIsolation(), and produce().
|
overrideprivatevirtual |
Definition at line 202 of file PhotonIDValueMapProducer.cc.
References candidatePdgId(), computeWorstPFChargedIsolation(), reco::deltaR2(), particleFlowDisplacedVertexCandidate_cfi::dxy, reco::TrackBase::dxy(), allConversions_cfi::dz, reco::TrackBase::dz(), AlignmentTrackSelector_cfi::dzMax, heepElectronID_HEEPV50_CSA14_25ns_cff::e5x5, ebReducedRecHitCollection_, ebReducedRecHitCollectionMiniAOD_, eeReducedRecHitCollection_, eeReducedRecHitCollectionMiniAOD_, esReducedRecHitCollection_, esReducedRecHitCollectionMiniAOD_, Exception, reco::PFCandidate::gamma, edm::Event::getByToken(), getTrackPointer(), 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_, reco::Vertex::position(), MetAnalyzer::pv(), mathSSE::sqrt(), TrackRefitter_38T_cff::src, src_, srcMiniAOD_, PFTauMVAInputDiscriminatorTranslator_cfi::test, usesES_, ecalDrivenElectronSeedsParameters_cff::vertices, vtxToken_, vtxTokenMiniAOD_, writeValueMap(), reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
|
private |
Definition at line 422 of file PhotonIDValueMapProducer.cc.
References objects.autophobj::filler, cmsBatch::handle, eostools::move(), and edm::Event::put().
Referenced by produce().
|
private |
Definition at line 85 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 94 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and 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 82 of file PhotonIDValueMapProducer.cc.
Referenced by produce().
|
private |
Definition at line 89 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 98 of file PhotonIDValueMapProducer.cc.
|
private |
Definition at line 90 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
private |
Definition at line 99 of file PhotonIDValueMapProducer.cc.
Referenced by PhotonIDValueMapProducer(), and produce().
|
staticprivate |
Definition at line 114 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 108 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 106 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 115 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().
|
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().
|
private |
Definition at line 103 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().