Classes | |
class | RecoStepInfo |
Public Member Functions | |
void | beginRun (edm::Run const &r, edm::EventSetup const &es) final |
void | endRun (edm::Run const &, edm::EventSetup const &) final |
GEDPhotonProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
void | fillPhotonCollection (edm::Event &evt, edm::EventSetup const &es, const edm::Handle< reco::PhotonCollection > &photonHandle, const edm::Handle< reco::PFCandidateCollection > pfCandidateHandle, const edm::Handle< reco::PFCandidateCollection > pfEGCandidateHandle, reco::VertexCollection const &pvVertices, reco::PhotonCollection &outputCollection, int &iSC, const edm::Handle< edm::ValueMap< float >> &chargedHadrons, const edm::Handle< edm::ValueMap< float >> &neutralHadrons, const edm::Handle< edm::ValueMap< float >> &photons, const edm::Handle< edm::ValueMap< float >> &chargedHadronsWorstVtx, const edm::Handle< edm::ValueMap< float >> &chargedHadronsWorstVtxGeomVeto, const edm::Handle< edm::ValueMap< float >> &chargedHadronsPFPV, const edm::Handle< edm::ValueMap< float >> &pfEcalClusters, const edm::Handle< edm::ValueMap< float >> &pfHcalClusters) |
void | fillPhotonCollection (edm::Event &evt, edm::EventSetup const &es, const edm::Handle< reco::PhotonCoreCollection > &photonCoreHandle, const CaloTopology *topology, const EcalRecHitCollection *ecalBarrelHits, const EcalRecHitCollection *ecalEndcapHits, const EcalRecHitCollection *preshowerHits, const ElectronHcalHelper *hcalHelperCone, const ElectronHcalHelper *hcalHelperBc, const reco::VertexCollection &pvVertices, reco::PhotonCollection &outputCollection, int &iSC, EcalPFRecHitThresholds const &thresholds) |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 50 of file GEDPhotonProducer.cc.
GEDPhotonProducer::GEDPhotonProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 201 of file GEDPhotonProducer.cc.
|
final |
Definition at line 363 of file GEDPhotonProducer.cc.
References GEDPhotonProducer::RecoStepInfo::isFinal(), photonEnergyCorrector_, and recoStep_.
|
inlinefinal |
Definition at line 55 of file GEDPhotonProducer.cc.
|
private |
Definition at line 867 of file GEDPhotonProducer.cc.
References candidateP4type_, reco::Photon::PflowIsolationVariables::chargedHadronIso, reco::Photon::PflowIsolationVariables::chargedHadronPFPVIso, reco::Photon::PflowIsolationVariables::chargedHadronWorstVtxGeomVetoIso, reco::Photon::PflowIsolationVariables::chargedHadronWorstVtxIso, reco::Photon::ecal_photons, EcalBarrel, EcalEndcap, EcalTools::isHGCalDet(), edm::Ref< C, T, F >::isNonnull(), GEDPhotonProducer::RecoStepInfo::isOOT(), edm::EDGetTokenT< T >::isUninitialized(), reco::Photon::PflowIsolationVariables::neutralHadronIso, gedPhotons_cfi::outputPhotonCollection, reco::Photon::p4(), phoPFECALClusIsolationToken_, phoPFHCALClusIsolationToken_, photonEnergyCorrector_, reco::Photon::PflowIsolationVariables::photonIso, preselCutValuesBarrel_, preselCutValuesEndcap_, ptFast(), recoStep_, reco::Photon::regression1, reco::Photon::regression2, reco::Photon::setCandidateP4type(), reco::Photon::setP4(), reco::Photon::setPflowIDVariables(), reco::Photon::setPflowIsolationVariables(), reco::Photon::PflowIsolationVariables::sumEcalClusterEt, reco::Photon::PflowIsolationVariables::sumHcalClusterEt, and spclusmultinvestigator_cfi::vertexCollection.
|
private |
fill shower shape block
fill extra shower shapes
fill full5x5 shower shape block
fill extra full5x5 shower shapes
get ecal photon specific corrected energy plus values from regressions and store them in the Photon
Pre-selection loose isolation cuts
Definition at line 548 of file GEDPhotonProducer.cc.
References Cluster2ndMoments::alpha, barrelEcalHits_, caloGeom_, candidateP4type_, EcalClusterToolsT< noZS >::cluster2ndMoments(), EcalClusterToolsT< noZS >::covariances(), EcalClusterToolsT< noZS >::e1x3(), reco::Photon::ShowerShape::e1x3, EgHLTOffHistBins_cfi::e1x5, EcalClusterToolsT< noZS >::e1x5(), reco::Photon::ShowerShape::e1x5, reco::Photon::ShowerShape::e2nd, EcalClusterToolsT< noZS >::e2nd(), EcalClusterToolsT< noZS >::e2x2(), reco::Photon::ShowerShape::e2x2, EgHLTOffHistBins_cfi::e2x5, reco::Photon::ShowerShape::e2x5, EcalClusterToolsT< noZS >::e2x5Bottom(), reco::Photon::ShowerShape::e2x5Bottom, EcalClusterToolsT< noZS >::e2x5Left(), reco::Photon::ShowerShape::e2x5Left, EcalClusterToolsT< noZS >::e2x5Max(), reco::Photon::ShowerShape::e2x5Max, EcalClusterToolsT< noZS >::e2x5Right(), reco::Photon::ShowerShape::e2x5Right, EcalClusterToolsT< noZS >::e2x5Top(), reco::Photon::ShowerShape::e2x5Top, EcalClusterToolsT< noZS >::e3x3(), reco::Photon::ShowerShape::e3x3, EcalClusterToolsT< noZS >::e5x5(), reco::Photon::ShowerShape::e5x5, EcalClusterToolsT< noZS >::eBottom(), reco::Photon::ShowerShape::eBottom, reco::Photon::ecal_photons, EcalBarrel, ecalClusterESGetTokens_, EcalEndcap, IOMC_cff::ecalRecHit, reco::Photon::ShowerShape::effSigmaRR, EcalClusterToolsT< noZS >::eLeft(), reco::Photon::ShowerShape::eLeft, cosmicPhotonAnalyzer_cfi::eMax, EcalClusterToolsT< noZS >::eMax(), endcapEcalHits_, EcalClusterToolsT< noZS >::eRight(), reco::Photon::ShowerShape::eRight, EcalClusterToolsT< noZS >::eTop(), reco::Photon::ShowerShape::eTop, flagsexclEB_, flagsexclEE_, HLT_FULL_cff::full5x5_sigmaIetaIeta, EcalClusterLazyToolsBase::ESGetTokens::get(), ElectronHcalHelper::hasActiveHcal(), ElectronHcalHelper::hcalESum(), reco::Photon::ShowerShape::hcalOverEcal, reco::Photon::ShowerShape::hcalOverEcalBc, ElectronHcalHelper::hcalTowersBehindClusters(), reco::Photon::ShowerShape::hcalTowersBehindClusters, highEt_, hfClusterShapes_cfi::hits, triggerObjects_cff::id, createfilelist::int, reco::Photon::ShowerShape::invalidHcal, reco::Photon::FiducialFlags::isEE, edm::isFinite(), EcalTools::isHGCalDet(), edm::Ref< C, T, F >::isNonnull(), reco::Photon::SaturationInfo::isSeedSaturated, EgammaLocalCovParamDefaults::kRelEnCut, EcalClusterToolsT< noZS >::localCovariances(), reco::Photon::ShowerShape::maxEnergyXtal, multThresEB_, multThresEE_, reco::Photon::SaturationInfo::nSaturatedXtals, gedPhotons_cfi::outputPhotonCollection, p4, MaterialEffects_cfi::photonEnergy, photonEnergyCorrector_, photonIsoCalculator_, photonMIPHaloTagger_, reco::Photon::ShowerShape::pre7DepthHcal, preselCutValuesBarrel_, preselCutValuesEndcap_, preshowerHits_, ptFast(), reco::Photon::regression1, reco::Photon::regression2, runMIPTagger_, reco::CaloCluster::seed(), severitiesexclEB_, severitiesexclEE_, electronIdCutBasedExt_cfi::sigmaEtaEta, reco::Photon::ShowerShape::sigmaEtaEta, reco::Photon::ShowerShape::sigmaIetaIeta, reco::Photon::ShowerShape::sigmaIetaIphi, reco::Photon::ShowerShape::sigmaIphiIphi, Cluster2ndMoments::sMaj, reco::Photon::ShowerShape::smAlpha, Cluster2ndMoments::sMin, reco::Photon::ShowerShape::smMajor, reco::Photon::ShowerShape::smMinor, mathSSE::sqrt(), particleFlowZeroSuppressionECAL_cff::thresholds, parallelization::uint, spclusmultinvestigator_cfi::vertexCollection, and extraflags_cff::vtx.
Referenced by produce().
|
override |
Definition at line 369 of file GEDPhotonProducer.cc.
References barrelEcalHits_, HLT_FULL_cff::barrelRecHits, caloGeom_, caloGeometryToken_, caloTopologyToken_, ecalPFRechitThresholdsToken_, endcapEcalHits_, HLT_FULL_cff::endcapRecHits, Exception, trigObjTnPSource_cfi::filler, fillPhotonCollection(), edm::Event::get(), edm::Event::getByToken(), edm::EventSetup::getData(), hcalHelperBc_, hcalHelperCone_, hcalRun2EffDepth_, GEDPhotonProducer::RecoStepInfo::isFinal(), GEDPhotonProducer::RecoStepInfo::isOOT(), edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), edm::InputTag::label(), eostools::move(), pfCandidates_, pfEgammaCandidates_, phoChargedIsolationToken_, phoChargedPFPVIsoToken_, phoChargedWorstVtxGeomVetoIsoToken_, phoChargedWorstVtxIsoToken_, phoNeutralHadronIsolationToken_, phoPFECALClusIsolationToken_, phoPFHCALClusIsolationToken_, phoPhotonIsolationToken_, photonCollection_, photonCoreProducerT_, photonEnergyCorrector_, photonProducer_, photonProducerT_, preshowerHits_, edm::Event::put(), recoStep_, particleFlowZeroSuppressionECAL_cff::thresholds, usePrimaryVertex_, valueMapPFCandPhoton_, contentValuesCheck::values, spclusmultinvestigator_cfi::vertexCollection, and vertexProducer_.
|
private |
Definition at line 108 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection(), and produce().
|
private |
Definition at line 155 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection(), and produce().
|
private |
Definition at line 167 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 166 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 164 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 145 of file GEDPhotonProducer.cc.
|
private |
Definition at line 128 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 168 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 109 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection(), and produce().
|
private |
Definition at line 137 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 138 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 113 of file GEDPhotonProducer.cc.
|
private |
Definition at line 172 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 171 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 173 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 146 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 144 of file GEDPhotonProducer.cc.
|
private |
Definition at line 147 of file GEDPhotonProducer.cc.
|
private |
Definition at line 148 of file GEDPhotonProducer.cc.
|
private |
Definition at line 142 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 143 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 116 of file GEDPhotonProducer.cc.
|
private |
Definition at line 112 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 111 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 118 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 123 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 122 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 121 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 119 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 125 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection(), and produce().
|
private |
Definition at line 126 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection(), and produce().
|
private |
Definition at line 120 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 103 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 106 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 163 of file GEDPhotonProducer.cc.
Referenced by beginRun(), fillPhotonCollection(), and produce().
|
private |
Definition at line 132 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 158 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 104 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 107 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 160 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 161 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 110 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection(), and produce().
|
private |
Definition at line 151 of file GEDPhotonProducer.cc.
Referenced by beginRun(), fillPhotonCollection(), and produce().
|
private |
Definition at line 149 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 139 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 140 of file GEDPhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 153 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 130 of file GEDPhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 114 of file GEDPhotonProducer.cc.
Referenced by produce().