#include <EgammaTowerIsolation.h>
Definition at line 196 of file EgammaTowerIsolation.h.
EgammaTowerIsolation::EgammaTowerIsolation |
( |
float |
extRadiusI, |
|
|
float |
intRadiusI, |
|
|
float |
etLow, |
|
|
signed int |
depth, |
|
|
const CaloTowerCollection * |
towers |
|
) |
| |
Definition at line 51 of file EgammaTowerIsolation.cc.
References AllDepths, Depth1, Depth2, depth_, extRadius, EgammaTowerIsolationNew< NC >::Sum::h2, EgammaTowerIsolationNew< NC >::Sum::h2BC, EgammaTowerIsolationNew< NC >::Sum::he, EgammaTowerIsolationNew< NC >::Sum::heBC, and intRadius.
54 if (
nullptr != detIdToExclude)
61 tls.newAlgo->compute(
et,
64 (detIdToExclude ==
nullptr) ?
nullptr : &((*detIdToExclude).front()),
65 (detIdToExclude ==
nullptr) ?
nullptr : (&(*detIdToExclude).back()) + 1);
69 return detIdToExclude ==
nullptr ? sum.
he[0] : sum.
heBC[0];
71 return detIdToExclude ==
nullptr ? sum.
he[0] - sum.
h2[0] : sum.
heBC[0] - sum.
h2BC[0];
73 return detIdToExclude ==
nullptr ? sum.
h2[0] : sum.
h2BC[0];
Definition at line 208 of file EgammaTowerIsolation.h.
References reco::Candidate::get(), and SimDataFormats::CaloAnalysis::sc.
Referenced by ConvertedPhotonProducer::buildCollections(), ConversionTrackCandidateProducer::buildCollections(), PhotonProducer::fillPhotonCollection(), GEDPhotonProducer::fillPhotonCollection(), ElectronHcalHelper::hcalESumDepth1(), and ElectronHcalHelper::hcalESumDepth2().
210 return getSum(
false, sc, detIdToExclude);
double getSum(bool et, reco::SuperCluster const &sc, const std::vector< CaloTowerDetId > *detIdToExclude) const
T get() const
get a component
Definition at line 212 of file EgammaTowerIsolation.h.
214 return getSum(
true, *
sc, detIdToExclude);
double getSum(bool et, reco::SuperCluster const &sc, const std::vector< CaloTowerDetId > *detIdToExclude) const
signed int EgammaTowerIsolation::depth_ |
|
private |
float EgammaTowerIsolation::extRadius |
|
private |
float EgammaTowerIsolation::intRadius |
|
private |