30 std::vector<int>
const& flagsEB,
31 std::vector<int>
const& flagsEE,
32 std::vector<int>
const& severitiesEB,
33 std::vector<int>
const& severitiesEE,
43 if (not hbhetag.label().empty())
151 bool isEBPho =
false;
152 bool isEEPho =
false;
153 bool isEBEtaGap =
false;
154 bool isEBPhiGap =
false;
155 bool isEERingGap =
false;
156 bool isEEDeeGap =
false;
157 bool isEBEEGap =
false;
158 classify(pho, isEBPho, isEEPho, isEBEtaGap, isEBPhiGap, isEERingGap, isEEDeeGap, isEBEEGap);
159 phofid.
isEB = isEBPho;
160 phofid.
isEE = isEEPho;
182 double photonEcalRecHitConeInnerRadiusA_;
183 double photonEcalRecHitConeOuterRadiusA_;
184 double photonEcalRecHitEtaSliceA_;
185 double photonEcalRecHitThreshEA_;
186 double photonEcalRecHitThreshEtA_;
187 double trackConeOuterRadiusA_;
188 double trackConeInnerRadiusA_;
189 double isolationtrackThresholdA_;
190 double isolationtrackEtaSliceA_;
191 double trackLipRadiusA_;
192 double trackD0RadiusA_;
193 double photonEcalRecHitConeInnerRadiusB_;
194 double photonEcalRecHitConeOuterRadiusB_;
195 double photonEcalRecHitEtaSliceB_;
196 double photonEcalRecHitThreshEB_;
197 double photonEcalRecHitThreshEtB_;
198 double trackConeOuterRadiusB_;
199 double trackConeInnerRadiusB_;
200 double isolationtrackThresholdB_;
201 double isolationtrackEtaSliceB_;
202 double trackLipRadiusB_;
203 double trackD0RadiusB_;
268 isolationtrackThresholdA_,
269 trackConeOuterRadiusA_,
270 trackConeInnerRadiusA_,
271 isolationtrackEtaSliceA_,
282 isolationtrackThresholdA_,
283 trackConeOuterRadiusA_,
285 isolationtrackEtaSliceA_,
301 isolationtrackThresholdB_,
302 trackConeOuterRadiusB_,
303 trackConeInnerRadiusB_,
304 isolationtrackEtaSliceB_,
315 isolationtrackThresholdB_,
316 trackConeOuterRadiusB_,
318 isolationtrackEtaSliceB_,
333 photonEcalRecHitConeOuterRadiusA_,
334 photonEcalRecHitConeInnerRadiusA_,
335 photonEcalRecHitEtaSliceA_,
336 photonEcalRecHitThreshEA_,
337 photonEcalRecHitThreshEtA_,
345 photonEcalRecHitConeOuterRadiusB_,
346 photonEcalRecHitConeInnerRadiusB_,
347 photonEcalRecHitEtaSliceB_,
348 photonEcalRecHitThreshEB_,
349 photonEcalRecHitThreshEtB_,
360 &hcalTopo = *hcalTopology,
361 &hcalQual = *hcalChannelQuality,
362 &hcalSev = *hcalSevLvlComputer,
365 return calculateHcalRecHitIso<false>(
372 &hcalTopo = *hcalTopology,
373 &hcalQual = *hcalChannelQuality,
374 &hcalSev = *hcalSevLvlComputer,
377 return calculateHcalRecHitIso<true>(
415 double eta =
photon->superCluster()->position().eta();
421 if (fabs(
feta - 1.479) < .1)
433 if (fabs(
feta - 1.479) < .1)
467 vertexBeamSpot = *recoBeamSpotHandle;
479 ntrkCone =
res.first;
480 trkCone =
res.second;
491 bool vetoClusteredHits,
492 bool useNumXtals)
const {
510 RCone, RConeInner, etaSlice,
etMin,
eMin, geoHandle, *rechitsCollectionEB_, sevLevel,
DetId::Ecal);
519 RCone, RConeInner, etaSlice,
etMin,
eMin, geoHandle, *rechitsCollectionEE_, sevLevel,
DetId::Ecal);
528 double ecalIsol = ecalIsolEB + ecalIsolEE;
533 template <
bool isoBC>
547 if constexpr (isoBC) {