#include <PhotonProducer.h>
Public Member Functions | |
void | beginRun (edm::Run const &r, edm::EventSetup const &es) final |
void | endRun (edm::Run const &, edm::EventSetup const &) final |
PhotonProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
~PhotonProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
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, const edm::Handle< CaloTowerCollection > &hcalTowersHandle, reco::VertexCollection &pvVertices, reco::PhotonCollection &outputCollection, int &iSC, const EcalSeverityLevelAlgo *sevLv) |
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 |
Definition at line 37 of file PhotonProducer.h.
PhotonProducer::PhotonProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 38 of file PhotonProducer.cc.
References barrelEcalHits_, candidateP4type_, conf_, endcapEcalHits_, flagsexclEB_, flagsexclEE_, edm::ParameterSet::getParameter(), hcalTowers_, highEt_, hOverEConeSize_, gedPhotons_cfi::isolationSumsCalculatorSet, minR9Barrel_, minR9Endcap_, gedPhotons_cfi::mipVariableSet, PhotonCollection_, photonCoreProducer_, cleanAndMergeSuperClusters_cfi::posCalcParameters, posCalculator_, preselCutValuesBarrel_, preselCutValuesEndcap_, runMIPTagger_, PhotonIsolationCalculator::setup(), PhotonMIPHaloTagger::setup(), severitiesexclEB_, severitiesexclEE_, AlCaHLTBitMon_QueryRunRegistry::string, thePhotonEnergyCorrector_, thePhotonIsolationCalculator_, thePhotonMIPHaloTagger_, usePrimaryVertex_, and vertexProducer_.
|
override |
Definition at line 150 of file PhotonProducer.cc.
References thePhotonEnergyCorrector_, thePhotonIsolationCalculator_, and thePhotonMIPHaloTagger_.
|
final |
Definition at line 160 of file PhotonProducer.cc.
References init, and thePhotonEnergyCorrector_.
|
final |
Definition at line 167 of file PhotonProducer.cc.
|
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 276 of file PhotonProducer.cc.
References PhotonEnergyCorrector::calculate(), PositionCalc::Calculate_Location(), candidateP4type_, EcalClusterToolsT< noZS >::covariances(), heepElectronID_HEEPV50_CSA14_25ns_cff::e1x5, EcalClusterToolsT< noZS >::e1x5(), reco::Photon::ShowerShape::e1x5, heepElectronID_HEEPV50_CSA14_25ns_cff::e2x5, reco::Photon::ShowerShape::e2x5, EcalClusterToolsT< noZS >::e2x5Max(), EcalClusterToolsT< noZS >::e3x3(), reco::Photon::ShowerShape::e3x3, heepElectronID_HEEPV50_CSA14_25ns_cff::e5x5, EcalClusterToolsT< noZS >::e5x5(), reco::Photon::ShowerShape::e5x5, DetId::Ecal, reco::Photon::ecal_photons, EcalBarrel, EcalEndcap, EcalPreshower, photonPostprocessing_cfi::eMax, EcalClusterToolsT< noZS >::eMax(), flagsexclEB_, flagsexclEE_, particleFlow_cfi::full5x5_sigmaIetaIeta, geometry, EgammaHadTower::getDepth1HcalESum(), EgammaHadTower::getDepth2HcalESum(), CaloGeometry::getSubdetectorGeometry(), EgammaTowerIsolation::getTowerESum(), reco::Photon::ShowerShape::hcalDepth1OverEcal, reco::Photon::ShowerShape::hcalDepth1OverEcalBc, reco::Photon::ShowerShape::hcalDepth2OverEcal, reco::Photon::ShowerShape::hcalDepth2OverEcalBc, reco::Photon::ShowerShape::hcalTowersBehindClusters, highEt_, hfClusterShapes_cfi::hits, hOverEConeSize_, createfilelist::int, EcalClusterToolsT< noZS >::localCovariances(), reco::Photon::ShowerShape::maxEnergyXtal, minR9Barrel_, minR9Endcap_, nullptr, p4, posCalculator_, preselCutValuesBarrel_, preselCutValuesEndcap_, edm::Handle< T >::product(), edm::ESHandle< T >::product(), electrons_cff::r9, reco::Photon::regression1, runMIPTagger_, EgammaHadTower::setTowerCollection(), severitiesexclEB_, severitiesexclEE_, electronIdCutBased_cfi::sigmaEtaEta, reco::Photon::ShowerShape::sigmaEtaEta, reco::Photon::ShowerShape::sigmaIetaIeta, mathSSE::sqrt(), theCaloGeom_, thePhotonEnergyCorrector_, thePhotonIsolationCalculator_, thePhotonMIPHaloTagger_, EgammaHadTower::towersOf(), and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by produce().
|
override |
Definition at line 171 of file PhotonProducer.cc.
References barrelEcalHits_, particleFlowSuperClusterOOTECAL_cff::barrelRecHits, endcapEcalHits_, particleFlowSuperClusterOOTECAL_cff::endcapRecHits, fillPhotonCollection(), edm::EventSetup::get(), edm::Event::getByToken(), hcalTowers_, edm::HandleBase::isValid(), eostools::move(), gedPhotons_cfi::outputPhotonCollection, PhotonCollection_, photonCoreProducer_, edm::Handle< T >::product(), edm::ESHandle< T >::product(), edm::Event::put(), theCaloGeom_, theCaloTopo_, ecaldqm::topology(), usePrimaryVertex_, particleFlowSuperClusterECAL_cfi::vertexCollection, and vertexProducer_.
|
private |
Definition at line 66 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 113 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 95 of file PhotonProducer.h.
Referenced by PhotonProducer().
|
private |
Definition at line 72 of file PhotonProducer.h.
|
private |
Definition at line 71 of file PhotonProducer.h.
|
private |
Definition at line 67 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 111 of file PhotonProducer.h.
|
private |
Definition at line 77 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 78 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 68 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 86 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 83 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 84 of file PhotonProducer.h.
|
private |
Definition at line 87 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 88 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 85 of file PhotonProducer.h.
|
private |
Definition at line 64 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 65 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 92 of file PhotonProducer.h.
|
private |
Definition at line 97 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 108 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 109 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 89 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 79 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 80 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 99 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and produce().
|
private |
Definition at line 100 of file PhotonProducer.h.
Referenced by produce().
|
private |
Definition at line 112 of file PhotonProducer.h.
Referenced by beginRun(), fillPhotonCollection(), PhotonProducer(), and ~PhotonProducer().
|
private |
Definition at line 103 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), PhotonProducer(), and ~PhotonProducer().
|
private |
Definition at line 106 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), PhotonProducer(), and ~PhotonProducer().
|
private |
Definition at line 94 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 91 of file PhotonProducer.h.
|
private |
Definition at line 102 of file PhotonProducer.h.
|
private |
Definition at line 69 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().