Public Member Functions | |
PhotonProducer (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::PhotonCoreCollection > &photonCoreHandle, const CaloTopology *topology, const EcalRecHitCollection *ecalBarrelHits, const EcalRecHitCollection *ecalEndcapHits, ElectronHcalHelper const &hcalHelperCone, ElectronHcalHelper const &hcalHelperBc, reco::VertexCollection &pvVertices, reco::PhotonCollection &outputCollection, int &iSC) |
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 45 of file PhotonProducer.cc.
PhotonProducer::PhotonProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 118 of file PhotonProducer.cc.
References barrelEcalHits_, candidateP4type_, endcapEcalHits_, flagsexclEB_, flagsexclEE_, edm::ParameterSet::getParameter(), hbheRecHits_, hcalHelperBc_, hcalHelperCone_, hcalRun2EffDepth_, highEt_, ElectronHcalHelper::Configuration::hOverEConeSize, hOverEConeSize_, minR9Barrel_, minR9Endcap_, PhotonCollection_, photonCoreProducer_, photonIsolationCalculator_, photonMIPHaloTagger_, HLT_FULL_cff::posCalcParameters, posCalculator_, preselCutValuesBarrel_, preselCutValuesEndcap_, runMIPTagger_, runMVABasedHaloTagger_, PhotonMIPHaloTagger::setup(), PhotonIsolationCalculator::setup(), severitiesexclEB_, severitiesexclEE_, AlCaHLTBitMon_QueryRunRegistry::string, usePrimaryVertex_, and vertexProducer_.
|
private |
fill shower shape block
fill full5x5 shower shape block
get ecal photon specific corrected energy plus values from regressions and store them in the Photon
Pre-selection loose isolation cuts
Definition at line 330 of file PhotonProducer.cc.
References PhotonEnergyCorrector::calculate(), PhotonIsolationCalculator::calculate(), PositionCalc::Calculate_Location(), caloGeomToken_, candidateP4type_, EcalClusterToolsT< noZS >::covariances(), EcalClusterToolsT< noZS >::e1x5(), reco::Photon::ShowerShape::e1x5, reco::Photon::ShowerShape::e2x5, EcalClusterToolsT< noZS >::e2x5Max(), EcalClusterToolsT< noZS >::e3x3(), reco::Photon::ShowerShape::e3x3, EcalClusterToolsT< noZS >::e5x5(), reco::Photon::ShowerShape::e5x5, DetId::Ecal, reco::Photon::ecal_photons, EcalBarrel, EcalEndcap, EcalPreshower, EcalClusterToolsT< noZS >::eMax(), flagsexclEB_, flagsexclEE_, relativeConstraints::geometry, edm::EventSetup::getData(), CaloGeometry::getSubdetectorGeometry(), ElectronHcalHelper::hcalESum(), reco::Photon::ShowerShape::hcalOverEcal, reco::Photon::ShowerShape::hcalOverEcalBc, ElectronHcalHelper::hcalTowersBehindClusters(), reco::Photon::ShowerShape::hcalTowersBehindClusters, highEt_, gpuClustering::id, PhotonEnergyCorrector::init(), EcalClusterToolsT< noZS >::localCovariances(), reco::Photon::ShowerShape::maxEnergyXtal, minR9Barrel_, minR9Endcap_, PhotonMIPHaloTagger::MIPcalculate(), photonEnergyCorrector_, photonIsolationCalculator_, photonMIPHaloTagger_, posCalculator_, reco::Photon::ShowerShape::pre7DepthHcal, preselCutValuesBarrel_, preselCutValuesEndcap_, reco::Photon::regression1, runMIPTagger_, severitiesexclEB_, severitiesexclEE_, reco::Photon::ShowerShape::sigmaEtaEta, reco::Photon::ShowerShape::sigmaIetaIeta, mathSSE::sqrt(), and parallelization::uint().
Referenced by produce().
|
override |
Definition at line 243 of file PhotonProducer.cc.
References barrelEcalHits_, HLT_FULL_cff::barrelRecHits, endcapEcalHits_, HLT_FULL_cff::endcapRecHits, fillPhotonCollection(), edm::Event::getByToken(), edm::EventSetup::getData(), hcalHelperBc_, hcalHelperCone_, hcalRun2EffDepth_, eostools::move(), PhotonCollection_, photonCoreProducer_, edm::Event::put(), topologyToken_, usePrimaryVertex_, GoodVertex_cfg::vertexCollection, and vertexProducer_.
|
private |
Definition at line 67 of file PhotonProducer.cc.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 71 of file PhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 107 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 68 of file PhotonProducer.cc.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 77 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 78 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 69 of file PhotonProducer.cc.
Referenced by PhotonProducer().
|
private |
Definition at line 111 of file PhotonProducer.cc.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 110 of file PhotonProducer.cc.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 112 of file PhotonProducer.cc.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 83 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 82 of file PhotonProducer.cc.
Referenced by PhotonProducer().
|
private |
Definition at line 84 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 85 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 65 of file PhotonProducer.cc.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 66 of file PhotonProducer.cc.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 106 of file PhotonProducer.cc.
Referenced by fillPhotonCollection().
|
private |
Definition at line 96 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 99 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 101 of file PhotonProducer.cc.
|
private |
Definition at line 93 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 103 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 104 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 86 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 87 of file PhotonProducer.cc.
Referenced by PhotonProducer().
|
private |
Definition at line 79 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 80 of file PhotonProducer.cc.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 72 of file PhotonProducer.cc.
Referenced by produce().
|
private |
Definition at line 91 of file PhotonProducer.cc.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 89 of file PhotonProducer.cc.
|
private |
Definition at line 95 of file PhotonProducer.cc.
|
private |
Definition at line 70 of file PhotonProducer.cc.
Referenced by PhotonProducer(), and produce().