36 extRadius(extRadiusI),
46 id15 = (*towers)[15].id();
53 if (0!=detIdToExclude) assert(0==
intRadius);
60 (detIdToExclude==0) ?
nullptr : &((*detIdToExclude).front()),
61 (detIdToExclude==0) ?
nullptr : (&(*detIdToExclude).back())+1
65 case AllDepths:
return detIdToExclude==0 ? sum.
he[0] : sum.heBC[0];
66 case Depth1:
return detIdToExclude==0 ? sum.
he[0]-sum.
h2[0] : sum.heBC[0]-sum.h2BC[0];
67 case Depth2:
return detIdToExclude==0 ? sum.
h2[0] : sum.h2BC[0];
double getSum(bool et, reco::SuperCluster const &sc, const std::vector< CaloTowerDetId > *detIdToExclude) const
static EgammaTowerIsolationNew< 1 > * newAlgo
void setRadius(float const extRadius[NC], float const intRadius[NC])
static const CaloTowerCollection * oldTowers
EgammaTowerIsolation(float extRadiusI, float intRadiusI, float etLow, signed int depth, const CaloTowerCollection *towers)
void compute(bool et, Sum &sum, reco::Candidate const &cand, CaloTowerDetId const *first, CaloTowerDetId const *last) const