#include <EgammaTowerIsolation.h>
Definition at line 197 of file EgammaTowerIsolation.h.
◆ HcalDepth
◆ EgammaTowerIsolation()
EgammaTowerIsolation::EgammaTowerIsolation |
( |
float |
extRadiusI, |
|
|
float |
intRadiusI, |
|
|
float |
etLow, |
|
|
signed int |
depth, |
|
|
const CaloTowerCollection * |
towers |
|
) |
| |
◆ getSum()
Definition at line 51 of file EgammaTowerIsolation.cc.
54 if (
nullptr != detIdToExclude)
61 if (detIdToExclude ==
nullptr) {
63 et, sum, sc, static_cast<CaloTowerDetId const*>(
nullptr), static_cast<CaloTowerDetId const*>(
nullptr));
65 tls.newAlgo->compute(
et, sum, sc, detIdToExclude->cbegin(), detIdToExclude->cend());
70 return detIdToExclude ==
nullptr ? sum.
he[0] : sum.
heBC[0];
72 return detIdToExclude ==
nullptr ? sum.
he[0] - sum.
h2[0] : sum.
heBC[0] - sum.
h2BC[0];
74 return detIdToExclude ==
nullptr ? sum.
h2[0] : sum.
h2BC[0];
References AllDepths, cms::cuda::assert(), Depth1, Depth2, depth_, EgHLTOffHistBins_cfi::et, extRadius, EgammaTowerIsolationNew< NC >::Sum::h2, EgammaTowerIsolationNew< NC >::Sum::h2BC, EgammaTowerIsolationNew< NC >::Sum::he, EgammaTowerIsolationNew< NC >::Sum::heBC, and intRadius.
Referenced by getTowerESum(), and getTowerEtSum().
◆ getTowerESum() [1/2]
◆ getTowerESum() [2/2]
◆ getTowerEtSum() [1/2]
double EgammaTowerIsolation::getTowerEtSum |
( |
const reco::Candidate * |
cand, |
|
|
const std::vector< CaloTowerDetId > * |
detIdToExclude = nullptr |
|
) |
| const |
|
inline |
◆ getTowerEtSum() [2/2]
◆ depth_
signed int EgammaTowerIsolation::depth_ |
|
private |
◆ extRadius
float EgammaTowerIsolation::extRadius |
|
private |
◆ intRadius
float EgammaTowerIsolation::intRadius |
|
private |