#include <EgammaRecHitIsolation.h>
Public Member Functions | |
void | doFlagChecks (const std::vector< int > v) |
void | doSpikeRemoval (const EcalRecHitCollection *const recHits, const EcalChannelStatus *const chStatus, const int &severityLevelCut=3, const float &sevRecHitThresh=5.0, const EcalSeverityLevelAlgo::SpikeId &id=EcalSeverityLevelAlgo::kSwissCross, const float &spIdThresh=0.95) |
EgammaRecHitIsolation (double extRadius, double intRadius, double etaSlice, double etLow, double eLow, edm::ESHandle< CaloGeometry >, CaloRecHitMetaCollectionV *, DetId::Detector detector) | |
double | getEnergySum (const reco::Candidate *emObject) const |
double | getEtSum (const reco::Candidate *emObject) const |
void | setUseNumCrystals (bool b=true) |
void | setVetoClustered (bool b=true) |
~EgammaRecHitIsolation () | |
Private Member Functions | |
double | getSum_ (const reco::Candidate *, bool returnEt) const |
Private Attributes | |
CaloRecHitMetaCollectionV * | caloHits_ |
const EcalChannelStatus * | chStatus_ |
const EcalRecHitCollection * | ecalBarHits_ |
double | eLow_ |
double | etaSlice_ |
double | etLow_ |
double | extRadius_ |
double | intRadius_ |
int | severityLevelCut_ |
float | severityRecHitThreshold_ |
EcalSeverityLevelAlgo::SpikeId | spId_ |
float | spIdThreshold_ |
const CaloSubdetectorGeometry * | subdet_ [2] |
edm::ESHandle< CaloGeometry > | theCaloGeom_ |
bool | useNumCrystals_ |
std::vector< int > | v_chstatus_ |
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, | ||
CaloRecHitMetaCollectionV * | caloHits, | ||
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 63 of file EgammaRecHitIsolation.cc.
|
inline |
Definition at line 57 of file EgammaRecHitIsolation.h.
References python.multivaluedict::sort(), and v_chstatus_.
Referenced by GsfElectronAlgo::beginEvent().
|
inline |
Definition at line 43 of file EgammaRecHitIsolation.h.
References chStatus_, ecalBarHits_, ExpressReco_HICollisions_FallBack::id, ExpressReco_HICollisions_FallBack::severityLevelCut, severityLevelCut_, severityRecHitThreshold_, spId_, and spIdThreshold_.
Referenced by GsfElectronAlgo::beginEvent(), and PhotonIsolationCalculator::calculateEcalRecHitIso().
|
inline |
Definition at line 40 of file EgammaRecHitIsolation.h.
References getSum_().
Referenced by EgammaHLTEcalRecIsolationProducer::produce(), and EgammaEcalRecHitIsolationProducer::produce().
|
inline |
Definition at line 39 of file EgammaRecHitIsolation.h.
References getSum_().
Referenced by PhotonIsolationCalculator::calculateEcalRecHitIso(), GsfElectronAlgo::createElectron(), egHLT::OffHelper::fillIsolData(), EgammaHLTEcalRecIsolationProducer::produce(), and EgammaEcalRecHitIsolationProducer::produce().
|
private |
Definition at line 67 of file EgammaRecHitIsolation.cc.
References caloHits_, chStatus_, reco::deltaPhi(), CaloRecHit::detid(), ecalBarHits_, eLow_, CaloRecHitMetaCollectionV::end(), CaloRecHit::energy(), relval_parameters_module::energy, CastorDataFrameFilter_impl::energySum(), ExpressReco_HICollisions_FallBack::et, PV3DBase< T, PVType, FrameType >::eta(), eta(), etaSlice_, etLow_, extRadius_, spr::find(), CaloRecHitMetaCollectionV::find(), 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(), EcalSeverityLevelAlgo::severityLevel(), severityLevelCut_, severityRecHitThreshold_, spId_, spIdThreshold_, mathSSE::sqrt(), subdet_, theCaloGeom_, useNumCrystals_, v_chstatus_, and vetoClustered_.
Referenced by getEnergySum(), and getEtSum().
|
inline |
Definition at line 41 of file EgammaRecHitIsolation.h.
References b, and useNumCrystals_.
Referenced by GsfElectronAlgo::beginEvent(), PhotonIsolationCalculator::calculateEcalRecHitIso(), EgammaHLTEcalRecIsolationProducer::produce(), and EgammaEcalRecHitIsolationProducer::produce().
|
inline |
Definition at line 42 of file EgammaRecHitIsolation.h.
References b, and vetoClustered_.
Referenced by GsfElectronAlgo::beginEvent(), PhotonIsolationCalculator::calculateEcalRecHitIso(), and EgammaEcalRecHitIsolationProducer::produce().
|
private |
Definition at line 77 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 82 of file EgammaRecHitIsolation.h.
Referenced by doSpikeRemoval(), and getSum_().
|
private |
Definition at line 81 of file EgammaRecHitIsolation.h.
Referenced by doSpikeRemoval(), and getSum_().
|
private |
Definition at line 73 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 71 of file EgammaRecHitIsolation.h.
Referenced by getSum_().
|
private |
Definition at line 72 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 83 of file EgammaRecHitIsolation.h.
Referenced by doSpikeRemoval(), and getSum_().
|
private |
Definition at line 84 of file EgammaRecHitIsolation.h.
Referenced by doSpikeRemoval(), and getSum_().
|
private |
Definition at line 85 of file EgammaRecHitIsolation.h.
Referenced by doSpikeRemoval(), and getSum_().
|
private |
Definition at line 86 of file EgammaRecHitIsolation.h.
Referenced by doSpikeRemoval(), and getSum_().
|
private |
Definition at line 90 of file EgammaRecHitIsolation.h.
Referenced by EgammaRecHitIsolation(), and getSum_().
|
private |
Definition at line 76 of file EgammaRecHitIsolation.h.
Referenced by EgammaRecHitIsolation(), and getSum_().
|
private |
Definition at line 79 of file EgammaRecHitIsolation.h.
Referenced by getSum_(), and setUseNumCrystals().
|
private |
Definition at line 87 of file EgammaRecHitIsolation.h.
Referenced by doFlagChecks(), and getSum_().
|
private |
Definition at line 80 of file EgammaRecHitIsolation.h.
Referenced by getSum_(), and setVetoClustered().