18 template <
typename T1>
34 template <
typename T1>
37 template <
typename T1>
42 if (fabs(candRef->eta()) < 1.479) {
43 drVeto2_ = drVetoBarrel_ * drVetoBarrel_;
44 etaStrip = etaStripBarrel_;
46 drVeto2_ = drVetoEndcap_ * drVetoEndcap_;
47 etaStrip = etaStripEndcap_;
51 for (
size_t i = 0;
i < clusterHandle->size();
i++) {
54 if (fabs(candRef->eta()) < 1.479) {
55 if (fabs(pfclu->pt()) < energyBarrel_)
58 if (fabs(pfclu->energy()) < energyEndcap_)
62 float dEta = fabs(candRef->eta() - pfclu->eta());
65 if (not computedRVeto(candRef, pfclu))
74 template <
typename T1>
76 float dR2 =
deltaR2(candRef->eta(), candRef->phi(), pfclu->eta(), pfclu->phi());
77 if (dR2 > (drMax_ * drMax_))
80 if (candRef->superCluster().
isNonnull()) {
83 it != candRef->superCluster()->clustersEnd();
85 if ((*it)->seed() == pfclu->seed()) {
96 float dR2 =
deltaR2(candRef->eta(), candRef->phi(), pfclu->eta(), pfclu->phi());
97 if (dR2 > (drMax_ * drMax_) || dR2 < drVeto2_)