#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) const |
double | getEnergySum (const reco::SuperCluster *emObject) const |
double | getEtSum (const reco::Candidate *emObject) const |
double | getEtSum (const reco::SuperCluster *emObject) const |
void | setUseNumCrystals (bool b=true) |
void | setVetoClustered (bool b=true) |
~EgammaRecHitIsolation () | |
Private Member Functions | |
double | getSum_ (const reco::Candidate *, bool returnEt) const |
double | getSum_ (const reco::SuperCluster *, bool returnEt) 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 | ( | ) |
|
inline |
Definition at line 58 of file EgammaRecHitIsolation.h.
References flags_, getSum_(), jetUpdater_cfi::sort, and ~EgammaRecHitIsolation().
Referenced by ConversionTrackCandidateProducer::buildCollections(), and PhotonIsolationCalculator::calculateEcalRecHitIso().
|
inline |
Definition at line 50 of file EgammaRecHitIsolation.h.
References ecalBarHits_, severitiesexcl_, and jetUpdater_cfi::sort.
Referenced by ConversionTrackCandidateProducer::buildCollections(), and PhotonIsolationCalculator::calculateEcalRecHitIso().
|
inline |
Definition at line 43 of file EgammaRecHitIsolation.h.
References getSum_().
Referenced by EgammaHLTEcalRecIsolationProducer::produce(), and EgammaEcalRecHitIsolationProducer::produce().
|
inline |
Definition at line 46 of file EgammaRecHitIsolation.h.
References getSum_().
|
inline |
Definition at line 42 of file EgammaRecHitIsolation.h.
References getSum_().
Referenced by ConversionTrackCandidateProducer::buildCollections(), PhotonIsolationCalculator::calculateEcalRecHitIso(), GsfElectronAlgo::createElectron(), EgammaHLTEcalRecIsolationProducer::produce(), and EgammaEcalRecHitIsolationProducer::produce().
|
inline |
Definition at line 45 of file EgammaRecHitIsolation.h.
References getSum_().
|
private |
Definition at line 69 of file EgammaRecHitIsolation.cc.
References caloHits_, reco::deltaPhi(), ecalBarHits_, eLow_, edm::SortedCollection< T, SORT >::empty(), edm::SortedCollection< T, SORT >::end(), CastorDataFrameFilter_impl::energySum(), stringResolutionProvider_cfi::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_, EcalRecHit::kGood, phi, diffTwoXMLs::r2, SimDataFormats::CaloAnalysis::sc, severitiesexcl_, EcalSeverityLevelAlgo::severityLevel(), sevLevel_, mathSSE::sqrt(), subdet_, theCaloGeom_, useNumCrystals_, and vetoClustered_.
Referenced by doFlagChecks(), getEnergySum(), and getEtSum().
|
private |
Definition at line 186 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(), CastorDataFrameFilter_impl::energySum(), stringResolutionProvider_cfi::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_, EcalRecHit::kGood, PV3DBase< T, PVType, FrameType >::mag(), PV3DBase< T, PVType, FrameType >::perp(), phi, PV3DBase< T, PVType, FrameType >::phi(), reco::CaloCluster::position(), position, edm::ESHandle< T >::product(), diffTwoXMLs::r2, severitiesexcl_, EcalSeverityLevelAlgo::severityLevel(), sevLevel_, subdet_, theCaloGeom_, useNumCrystals_, and vetoClustered_.
|
inline |
Definition at line 48 of file EgammaRecHitIsolation.h.
References b, and useNumCrystals_.
Referenced by GsfElectronAlgo::beginEvent(), ConversionTrackCandidateProducer::buildCollections(), PhotonIsolationCalculator::calculateEcalRecHitIso(), EgammaHLTEcalRecIsolationProducer::produce(), and EgammaEcalRecHitIsolationProducer::produce().
|
inline |
Definition at line 49 of file EgammaRecHitIsolation.h.
References b, and vetoClustered_.
Referenced by ConversionTrackCandidateProducer::buildCollections(), PhotonIsolationCalculator::calculateEcalRecHitIso(), and EgammaEcalRecHitIsolationProducer::produce().
|
private |
Definition at line 79 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 84 of file EgammaRecHitIsolation.h.
Referenced by doSeverityChecks(), and getSum_().
|
private |
Definition at line 75 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 73 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 74 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 71 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 72 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 86 of file EgammaRecHitIsolation.h.
Referenced by doSeverityChecks(), and getSum_().
|
private |
Definition at line 80 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 78 of file EgammaRecHitIsolation.h.
Referenced by EgammaRecHitIsolation(), and getSum_().
|
private |
Definition at line 82 of file EgammaRecHitIsolation.h.
Referenced by getSum_(), and setUseNumCrystals().
|
private |
Definition at line 83 of file EgammaRecHitIsolation.h.
Referenced by getSum_(), and setVetoClustered().