#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 26 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 54 of file EgammaRecHitIsolation.h.
References flags_, and findQualityFiles::v.
Referenced by ConversionTrackCandidateProducer::buildCollections(), and PhotonIsolationCalculator::calculateEcalRecHitIso().
|
inline |
Definition at line 47 of file EgammaRecHitIsolation.h.
References ecalBarHits_, FastTrackerRecHitMaskProducer_cfi::recHits, severitiesexcl_, and findQualityFiles::v.
Referenced by ConversionTrackCandidateProducer::buildCollections(), and PhotonIsolationCalculator::calculateEcalRecHitIso().
|
inline |
Definition at line 40 of file EgammaRecHitIsolation.h.
References getSum_().
Referenced by EgammaEcalRecHitIsolationProducer::produce().
|
inline |
|
inline |
Definition at line 39 of file EgammaRecHitIsolation.h.
References getSum_().
Referenced by ConversionTrackCandidateProducer::buildCollections(), PhotonIsolationCalculator::calculateEcalRecHitIso(), GsfElectronAlgo::createElectron(), and EgammaEcalRecHitIsolationProducer::produce().
|
inline |
|
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(), HCALHighEnergyHPDFilter_cfi::energy, CastorDataFrameFilter_impl::energySum(), EgHLTOffHistBins_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_, dqmiolumiharvest::j, EcalRecHit::kGood, phi, diffTwoXMLs::r2, severitiesexcl_, EcalSeverityLevelAlgo::severityLevel(), sevLevel_, mathSSE::sqrt(), subdet_, theCaloGeom_, useNumCrystals_, and vetoClustered_.
Referenced by getEnergySum(), and getEtSum().
|
private |
Definition at line 177 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(), HCALHighEnergyHPDFilter_cfi::energy, CastorDataFrameFilter_impl::energySum(), EgHLTOffHistBins_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_, dqmiolumiharvest::j, EcalRecHit::kGood, phi, reco::CaloCluster::position(), position, edm::ESHandle< T >::product(), diffTwoXMLs::r2, severitiesexcl_, EcalSeverityLevelAlgo::severityLevel(), sevLevel_, subdet_, theCaloGeom_, useNumCrystals_, and vetoClustered_.
|
inline |
Definition at line 45 of file EgammaRecHitIsolation.h.
References b, and useNumCrystals_.
Referenced by GsfElectronAlgo::beginEvent(), ConversionTrackCandidateProducer::buildCollections(), PhotonIsolationCalculator::calculateEcalRecHitIso(), and EgammaEcalRecHitIsolationProducer::produce().
|
inline |
Definition at line 46 of file EgammaRecHitIsolation.h.
References b, and vetoClustered_.
Referenced by ConversionTrackCandidateProducer::buildCollections(), PhotonIsolationCalculator::calculateEcalRecHitIso(), and EgammaEcalRecHitIsolationProducer::produce().
|
private |
Definition at line 74 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 79 of file EgammaRecHitIsolation.h.
Referenced by doSeverityChecks(), and getSum_().
|
private |
Definition at line 71 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 69 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 70 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 67 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 81 of file EgammaRecHitIsolation.h.
Referenced by doFlagChecks(), and getSum_().
|
private |
Definition at line 68 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 80 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 83 of file EgammaRecHitIsolation.h.
Referenced by EgammaRecHitIsolation(), and getSum_().
|
private |
Definition at line 73 of file EgammaRecHitIsolation.h.
Referenced by EgammaRecHitIsolation(), and getSum_().
|
private |
Definition at line 77 of file EgammaRecHitIsolation.h.
Referenced by getSum_(), and setUseNumCrystals().
|
private |
Definition at line 78 of file EgammaRecHitIsolation.h.
Referenced by getSum_(), and setVetoClustered().