#include <EgammaTowerIsolation.h>
Public Types | |
enum | HcalDepth { AllDepths =-1, Undefined =0, Depth1 =1, Depth2 =2 } |
Public Member Functions | |
EgammaTowerIsolation (float extRadiusI, float intRadiusI, float etLow, signed int depth, const CaloTowerCollection *towers) | |
double | getTowerESum (const reco::Candidate *cand, const std::vector< CaloTowerDetId > *detIdToExclude=0) const |
double | getTowerESum (reco::SuperCluster const *sc, const std::vector< CaloTowerDetId > *detIdToExclude=0) const |
double | getTowerEtSum (const reco::Candidate *cand, const std::vector< CaloTowerDetId > *detIdToExclude=0) const |
double | getTowerEtSum (reco::SuperCluster const *sc, const std::vector< CaloTowerDetId > *detIdToExclude=0) const |
Private Member Functions | |
double | getSum (bool et, reco::SuperCluster const &sc, const std::vector< CaloTowerDetId > *detIdToExclude) const |
Private Attributes | |
signed int | depth_ |
float | extRadius |
float | intRadius |
Static Private Attributes | |
static thread_local uint32_t | id15 =0 |
static thread_local EgammaTowerIsolationNew< 1 > * | newAlgo =nullptr |
static thread_local const CaloTowerCollection * | oldTowers =nullptr |
Definition at line 208 of file EgammaTowerIsolation.h.
EgammaTowerIsolation::EgammaTowerIsolation | ( | float | extRadiusI, |
float | intRadiusI, | ||
float | etLow, | ||
signed int | depth, | ||
const CaloTowerCollection * | towers | ||
) |
Definition at line 31 of file EgammaTowerIsolation.cc.
References extRadius, id15, intRadius, newAlgo, EgammaTowerIsolationNew< NC >::nt, oldTowers, and edm::SortedCollection< T, SORT >::size().
|
private |
Definition at line 52 of file EgammaTowerIsolation.cc.
References AllDepths, EgammaTowerIsolationNew< NC >::compute(), Depth1, Depth2, depth_, extRadius, EgammaTowerIsolationNew< NC >::h2, EgammaTowerIsolationNew< NC >::he, intRadius, newAlgo, and EgammaTowerIsolationNew< NC >::setRadius().
Referenced by getTowerESum(), and getTowerEtSum().
|
inline |
Definition at line 224 of file EgammaTowerIsolation.h.
References reco::Candidate::get(), and getSum().
Referenced by ConvertedPhotonProducer::buildCollections(), ConversionTrackCandidateProducer::buildCollections(), PhotonProducer::fillPhotonCollection(), GEDPhotonProducer::fillPhotonCollection(), ElectronHcalHelper::hcalESumDepth1(), and ElectronHcalHelper::hcalESumDepth2().
|
inline |
Definition at line 231 of file EgammaTowerIsolation.h.
References getSum().
|
inline |
Definition at line 220 of file EgammaTowerIsolation.h.
References reco::Candidate::get(), and getSum().
Referenced by PhotonIsolationCalculator::calculateHcalTowerIso(), GsfElectronAlgo::createElectron(), and EgammaHLTBcHcalIsolationProducersRegional::produce().
|
inline |
Definition at line 228 of file EgammaTowerIsolation.h.
References getSum().
|
private |
Definition at line 242 of file EgammaTowerIsolation.h.
Referenced by getSum().
|
private |
Definition at line 243 of file EgammaTowerIsolation.h.
Referenced by EgammaTowerIsolation(), and getSum().
|
staticprivate |
Definition at line 241 of file EgammaTowerIsolation.h.
Referenced by EgammaTowerIsolation().
|
private |
Definition at line 244 of file EgammaTowerIsolation.h.
Referenced by EgammaTowerIsolation(), and getSum().
|
staticprivate |
Definition at line 239 of file EgammaTowerIsolation.h.
Referenced by EgammaTowerIsolation(), and getSum().
|
staticprivate |
Definition at line 240 of file EgammaTowerIsolation.h.
Referenced by EgammaTowerIsolation().