#include <EgammaRecHitIsolation.h>
Public Member Functions | |
void | doFlagChecks (const std::vector< int > &v) |
void | doSeverityChecks (const EcalRecHitCollection *const recHits, const std::vector< int > &v) |
EgammaRecHitIsolation (double extRadius, double intRadius, double etaSlice, double etLow, double eLow, edm::ESHandle< CaloGeometry >, const EcalRecHitCollection &, const EcalSeverityLevelAlgo *, DetId::Detector detector) | |
double | getEnergySum (const reco::Candidate *emObject, EcalPFRecHitThresholds const &thresholds) const |
double | getEnergySum (const reco::SuperCluster *emObject, EcalPFRecHitThresholds const &thresholds) const |
double | getEtSum (const reco::Candidate *emObject, EcalPFRecHitThresholds const &thresholds) const |
double | getEtSum (const reco::SuperCluster *emObject, EcalPFRecHitThresholds const &thresholds) const |
void | setUseNumCrystals (bool b=true) |
void | setVetoClustered (bool b=true) |
~EgammaRecHitIsolation () | |
Private Member Functions | |
double | getSum_ (const reco::Candidate *, bool returnEt, const EcalPFRecHitThresholds *thresholds) const |
double | getSum_ (const reco::SuperCluster *, bool returnEt, const EcalPFRecHitThresholds *thresholds) const |
Private Attributes | |
const EcalRecHitCollection & | caloHits_ |
const EcalRecHitCollection * | ecalBarHits_ |
double | eLow_ |
double | etaSlice_ |
double | etLow_ |
double | extRadius_ |
std::vector< int > | flags_ |
double | intRadius_ |
std::vector< int > | severitiesexcl_ |
const EcalSeverityLevelAlgo * | sevLevel_ |
const CaloSubdetectorGeometry * | subdet_ [2] |
edm::ESHandle< CaloGeometry > | theCaloGeom_ |
bool | useNumCrystals_ |
bool | vetoClustered_ |
Definition at line 28 of file EgammaRecHitIsolation.h.
EgammaRecHitIsolation::EgammaRecHitIsolation | ( | double | extRadius, |
double | intRadius, | ||
double | etaSlice, | ||
double | etLow, | ||
double | eLow, | ||
edm::ESHandle< CaloGeometry > | theCaloGeom, | ||
const EcalRecHitCollection & | caloHits, | ||
const EcalSeverityLevelAlgo * | sl, | ||
DetId::Detector | detector | ||
) |
Definition at line 32 of file EgammaRecHitIsolation.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, CaloGeometry::getSubdetectorGeometry(), edm::ESHandle< T >::product(), subdet_, and theCaloGeom_.
EgammaRecHitIsolation::~EgammaRecHitIsolation | ( | ) |
Definition at line 65 of file EgammaRecHitIsolation.cc.
|
inline |
Definition at line 64 of file EgammaRecHitIsolation.h.
References flags_, jetUpdater_cfi::sort, and findQualityFiles::v.
Referenced by PhotonIsolationCalculator::calculateEcalRecHitIso().
|
inline |
Definition at line 57 of file EgammaRecHitIsolation.h.
References ecalBarHits_, FastTrackerRecHitMaskProducer_cfi::recHits, severitiesexcl_, jetUpdater_cfi::sort, and findQualityFiles::v.
Referenced by PhotonIsolationCalculator::calculateEcalRecHitIso().
|
inline |
Definition at line 44 of file EgammaRecHitIsolation.h.
References getSum_(), and particleFlowZeroSuppressionECAL_cff::thresholds.
|
inline |
Definition at line 51 of file EgammaRecHitIsolation.h.
References getSum_(), and particleFlowZeroSuppressionECAL_cff::thresholds.
|
inline |
Definition at line 41 of file EgammaRecHitIsolation.h.
References getSum_(), and particleFlowZeroSuppressionECAL_cff::thresholds.
Referenced by PhotonIsolationCalculator::calculateEcalRecHitIso(), and GsfElectronAlgo::createElectron().
|
inline |
Definition at line 48 of file EgammaRecHitIsolation.h.
References getSum_(), and particleFlowZeroSuppressionECAL_cff::thresholds.
|
private |
Definition at line 67 of file EgammaRecHitIsolation.cc.
References caloHits_, reco::deltaPhi(), ecalBarHits_, eLow_, edm::SortedCollection< T, SORT >::empty(), edm::SortedCollection< T, SORT >::end(), hcalRecHitTable_cff::energy, CastorDataFrameFilter_impl::energySum(), l1tnanotables_cff::et, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), etaSlice_, etLow_, extRadius_, spr::find(), edm::SortedCollection< T, SORT >::find(), flags_, reco::Candidate::get(), edm::Ref< C, T, F >::get(), CaloSubdetectorGeometry::getCells(), CaloGeometry::getGeometry(), mps_fire::i, intRadius_, dqmiolumiharvest::j, EcalRecHit::kGood, phi, diffTwoXMLs::r2, severitiesexcl_, EcalSeverityLevelAlgo::severityLevel(), sevLevel_, mathSSE::sqrt(), subdet_, theCaloGeom_, particleFlowZeroSuppressionECAL_cff::thresholds, useNumCrystals_, and vetoClustered_.
Referenced by getEnergySum(), and getEtSum().
|
private |
Definition at line 183 of file EgammaRecHitIsolation.cc.
References caloHits_, reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), reco::deltaPhi(), ecalBarHits_, eLow_, edm::SortedCollection< T, SORT >::empty(), edm::SortedCollection< T, SORT >::end(), hcalRecHitTable_cff::energy, CastorDataFrameFilter_impl::energySum(), l1tnanotables_cff::et, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), etaSlice_, etLow_, extRadius_, spr::find(), edm::SortedCollection< T, SORT >::find(), flags_, CaloSubdetectorGeometry::getCells(), mps_fire::i, intRadius_, dqmiolumiharvest::j, EcalRecHit::kGood, phi, reco::CaloCluster::position(), position, edm::ESHandle< T >::product(), diffTwoXMLs::r2, severitiesexcl_, EcalSeverityLevelAlgo::severityLevel(), sevLevel_, subdet_, theCaloGeom_, particleFlowZeroSuppressionECAL_cff::thresholds, useNumCrystals_, and vetoClustered_.
|
inline |
Definition at line 55 of file EgammaRecHitIsolation.h.
References b, and useNumCrystals_.
Referenced by PhotonIsolationCalculator::calculateEcalRecHitIso().
|
inline |
Definition at line 56 of file EgammaRecHitIsolation.h.
References b, and vetoClustered_.
Referenced by PhotonIsolationCalculator::calculateEcalRecHitIso().
|
private |
Definition at line 84 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 89 of file EgammaRecHitIsolation.h.
Referenced by doSeverityChecks(), and getSum_().
|
private |
Definition at line 81 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 79 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 80 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 77 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 91 of file EgammaRecHitIsolation.h.
Referenced by doFlagChecks(), and getSum_().
|
private |
Definition at line 78 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 90 of file EgammaRecHitIsolation.h.
Referenced by doSeverityChecks(), and getSum_().
|
private |
Definition at line 85 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 93 of file EgammaRecHitIsolation.h.
Referenced by EgammaRecHitIsolation(), and getSum_().
|
private |
Definition at line 83 of file EgammaRecHitIsolation.h.
Referenced by EgammaRecHitIsolation(), and getSum_().
|
private |
Definition at line 87 of file EgammaRecHitIsolation.h.
Referenced by getSum_(), and setUseNumCrystals().
|
private |
Definition at line 88 of file EgammaRecHitIsolation.h.
Referenced by getSum_(), and setVetoClustered().