#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 >, CaloRecHitMetaCollectionV *, 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 | |
CaloRecHitMetaCollectionV * | 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 27 of file EgammaRecHitIsolation.h.
EgammaRecHitIsolation::EgammaRecHitIsolation | ( | double | extRadius, |
double | intRadius, | ||
double | etaSlice, | ||
double | etLow, | ||
double | eLow, | ||
edm::ESHandle< CaloGeometry > | theCaloGeom, | ||
CaloRecHitMetaCollectionV * | caloHits, | ||
const EcalSeverityLevelAlgo * | sl, | ||
DetId::Detector | detector | ||
) |
Definition at line 32 of file EgammaRecHitIsolation.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, CaloGeometry::getSubdetectorGeometry(), edm::ESHandle< class >::product(), subdet_, and theCaloGeom_.
EgammaRecHitIsolation::~EgammaRecHitIsolation | ( | ) |
Definition at line 66 of file EgammaRecHitIsolation.cc.
|
inline |
Definition at line 57 of file EgammaRecHitIsolation.h.
References flags_, and python.multivaluedict::sort().
Referenced by GsfElectronAlgo::beginEvent(), ConversionTrackCandidateProducer::buildCollections(), and PhotonIsolationCalculator::calculateEcalRecHitIso().
|
inline |
Definition at line 49 of file EgammaRecHitIsolation.h.
References ecalBarHits_, severitiesexcl_, and python.multivaluedict::sort().
Referenced by GsfElectronAlgo::beginEvent(), ConversionTrackCandidateProducer::buildCollections(), and PhotonIsolationCalculator::calculateEcalRecHitIso().
|
inline |
Definition at line 42 of file EgammaRecHitIsolation.h.
References getSum_().
Referenced by EgammaHLTEcalRecIsolationProducer::produce(), and EgammaEcalRecHitIsolationProducer::produce().
|
inline |
Definition at line 45 of file EgammaRecHitIsolation.h.
References getSum_().
|
inline |
Definition at line 41 of file EgammaRecHitIsolation.h.
References getSum_().
Referenced by ConversionTrackCandidateProducer::buildCollections(), PhotonIsolationCalculator::calculateEcalRecHitIso(), GsfElectronAlgo::createElectron(), EgammaHLTEcalRecIsolationProducer::produce(), and EgammaEcalRecHitIsolationProducer::produce().
|
inline |
Definition at line 44 of file EgammaRecHitIsolation.h.
References getSum_().
|
private |
Definition at line 69 of file EgammaRecHitIsolation.cc.
References caloHits_, reco::deltaPhi(), cond::rpcobgas::detid, ecalBarHits_, eLow_, CaloRecHitMetaCollectionV::end(), CaloRecHit::energy(), relval_parameters_module::energy, CastorDataFrameFilter_impl::energySum(), PV3DBase< T, PVType, FrameType >::eta(), eta(), etaSlice_, etLow_, extRadius_, spr::find(), CaloRecHitMetaCollectionV::find(), flags_, reco::Candidate::get(), edm::Ref< C, T, F >::get(), CaloSubdetectorGeometry::getCells(), i, intRadius_, j, PV3DBase< T, PVType, FrameType >::mag(), PV3DBase< T, PVType, FrameType >::perp(), phi, PV3DBase< T, PVType, FrameType >::phi(), position, edm::ESHandle< class >::product(), diffTwoXMLs::r2, severitiesexcl_, EcalSeverityLevelAlgo::severityLevel(), sevLevel_, mathSSE::sqrt(), subdet_, theCaloGeom_, useNumCrystals_, and vetoClustered_.
Referenced by getEnergySum(), and getEtSum().
|
private |
Definition at line 181 of file EgammaRecHitIsolation.cc.
References caloHits_, reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), reco::deltaPhi(), cond::rpcobgas::detid, ecalBarHits_, eLow_, CaloRecHitMetaCollectionV::end(), CaloRecHit::energy(), relval_parameters_module::energy, CastorDataFrameFilter_impl::energySum(), PV3DBase< T, PVType, FrameType >::eta(), eta(), etaSlice_, etLow_, extRadius_, spr::find(), CaloRecHitMetaCollectionV::find(), flags_, CaloSubdetectorGeometry::getCells(), i, intRadius_, j, PV3DBase< T, PVType, FrameType >::mag(), PV3DBase< T, PVType, FrameType >::perp(), phi, PV3DBase< T, PVType, FrameType >::phi(), reco::CaloCluster::position(), position, edm::ESHandle< class >::product(), diffTwoXMLs::r2, severitiesexcl_, EcalSeverityLevelAlgo::severityLevel(), sevLevel_, mathSSE::sqrt(), subdet_, theCaloGeom_, useNumCrystals_, and vetoClustered_.
|
inline |
Definition at line 47 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 48 of file EgammaRecHitIsolation.h.
References b, and vetoClustered_.
Referenced by GsfElectronAlgo::beginEvent(), ConversionTrackCandidateProducer::buildCollections(), PhotonIsolationCalculator::calculateEcalRecHitIso(), and EgammaEcalRecHitIsolationProducer::produce().
|
private |
Definition at line 78 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 83 of file EgammaRecHitIsolation.h.
Referenced by doSeverityChecks(), and getSum_().
|
private |
Definition at line 74 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 72 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 73 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 70 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 90 of file EgammaRecHitIsolation.h.
Referenced by doFlagChecks(), and getSum_().
|
private |
Definition at line 71 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 85 of file EgammaRecHitIsolation.h.
Referenced by doSeverityChecks(), and getSum_().
|
private |
Definition at line 79 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 92 of file EgammaRecHitIsolation.h.
Referenced by EgammaRecHitIsolation(), and getSum_().
|
private |
Definition at line 77 of file EgammaRecHitIsolation.h.
Referenced by EgammaRecHitIsolation(), and getSum_().
|
private |
Definition at line 81 of file EgammaRecHitIsolation.h.
Referenced by getSum_(), and setUseNumCrystals().
|
private |
Definition at line 82 of file EgammaRecHitIsolation.h.
Referenced by getSum_(), and setVetoClustered().