#include <EgammaTowerIsolation.h>
Definition at line 206 of file EgammaTowerIsolation.h.
EgammaTowerIsolation::EgammaTowerIsolation |
( |
float |
extRadiusI, |
|
|
float |
intRadiusI, |
|
|
float |
etLow, |
|
|
signed int |
depth, |
|
|
const CaloTowerCollection * |
towers |
|
) |
| |
Definition at line 55 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.
57 if (
nullptr!=detIdToExclude) assert(0==
intRadius);
63 tls.newAlgo->compute(
et, sum,
sc,
64 (detIdToExclude==
nullptr) ?
nullptr : &((*detIdToExclude).front()),
65 (detIdToExclude==
nullptr) ?
nullptr : (&(*detIdToExclude).back())+1
69 case AllDepths:
return detIdToExclude==
nullptr ? sum.
he[0] : sum.
heBC[0];
70 case Depth1:
return detIdToExclude==
nullptr ? sum.
he[0]-sum.
h2[0] : sum.
heBC[0]-sum.
h2BC[0];
71 case Depth2:
return detIdToExclude==
nullptr ? sum.
h2[0] : sum.
h2BC[0];
et
define resolution functions of each parameter
Definition at line 222 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().
224 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 226 of file EgammaTowerIsolation.h.
227 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 |