44 std::vector<int>
const& flagsEB,
45 std::vector<int>
const& flagsEE,
46 std::vector<int>
const& severitiesEB,
47 std::vector<int>
const& severitiesEE,
56 if (not hcRHC.label().empty())
186 bool isEBPho =
false;
187 bool isEEPho =
false;
188 bool isEBEtaGap =
false;
189 bool isEBPhiGap =
false;
190 bool isEERingGap =
false;
191 bool isEEDeeGap =
false;
192 bool isEBEEGap =
false;
193 classify(pho, isEBPho, isEEPho, isEBEtaGap, isEBPhiGap, isEERingGap, isEEDeeGap, isEBEEGap);
194 phofid.
isEB = isEBPho;
195 phofid.
isEE = isEEPho;
211 double photonEcalRecHitConeInnerRadiusA_;
212 double photonEcalRecHitConeOuterRadiusA_;
213 double photonEcalRecHitEtaSliceA_;
214 double photonEcalRecHitThreshEA_;
215 double photonEcalRecHitThreshEtA_;
216 double photonHcalTowerConeInnerRadiusA_;
217 double photonHcalTowerConeOuterRadiusA_;
218 double photonHcalTowerThreshEA_;
219 double photonHcalDepth1TowerConeInnerRadiusA_;
220 double photonHcalDepth1TowerConeOuterRadiusA_;
221 double photonHcalDepth1TowerThreshEA_;
222 double photonHcalDepth2TowerConeInnerRadiusA_;
223 double photonHcalDepth2TowerConeOuterRadiusA_;
224 double photonHcalDepth2TowerThreshEA_;
225 double trackConeOuterRadiusA_;
226 double trackConeInnerRadiusA_;
227 double isolationtrackThresholdA_;
228 double isolationtrackEtaSliceA_;
229 double trackLipRadiusA_;
230 double trackD0RadiusA_;
231 double photonEcalRecHitConeInnerRadiusB_;
232 double photonEcalRecHitConeOuterRadiusB_;
233 double photonEcalRecHitEtaSliceB_;
234 double photonEcalRecHitThreshEB_;
235 double photonEcalRecHitThreshEtB_;
236 double photonHcalTowerConeInnerRadiusB_;
237 double photonHcalTowerConeOuterRadiusB_;
238 double photonHcalTowerThreshEB_;
239 double photonHcalDepth1TowerConeInnerRadiusB_;
240 double photonHcalDepth1TowerConeOuterRadiusB_;
241 double photonHcalDepth1TowerThreshEB_;
242 double photonHcalDepth2TowerConeInnerRadiusB_;
243 double photonHcalDepth2TowerConeOuterRadiusB_;
244 double photonHcalDepth2TowerThreshEB_;
245 double trackConeOuterRadiusB_;
246 double trackConeInnerRadiusB_;
247 double isolationtrackThresholdB_;
248 double isolationtrackEtaSliceB_;
249 double trackLipRadiusB_;
250 double trackD0RadiusB_;
356 isolationtrackThresholdA_,
357 trackConeOuterRadiusA_,
358 trackConeInnerRadiusA_,
359 isolationtrackEtaSliceA_,
370 isolationtrackThresholdA_,
371 trackConeOuterRadiusA_,
373 isolationtrackEtaSliceA_,
389 isolationtrackThresholdB_,
390 trackConeOuterRadiusB_,
391 trackConeInnerRadiusB_,
392 isolationtrackEtaSliceB_,
403 isolationtrackThresholdB_,
404 trackConeOuterRadiusB_,
406 isolationtrackEtaSliceB_,
421 photonEcalRecHitConeOuterRadiusA_,
422 photonEcalRecHitConeInnerRadiusA_,
423 photonEcalRecHitEtaSliceA_,
424 photonEcalRecHitThreshEA_,
425 photonEcalRecHitThreshEtA_,
433 photonEcalRecHitConeOuterRadiusB_,
434 photonEcalRecHitConeInnerRadiusB_,
435 photonEcalRecHitEtaSliceB_,
436 photonEcalRecHitThreshEB_,
437 photonEcalRecHitThreshEtB_,
443 pho,
e, es, photonHcalTowerConeOuterRadiusA_, photonHcalTowerConeInnerRadiusA_, photonHcalTowerThreshEA_, -1);
447 pho,
e, es, photonHcalTowerConeOuterRadiusB_, photonHcalTowerConeInnerRadiusB_, photonHcalTowerThreshEB_, -1);
455 photonHcalDepth1TowerConeOuterRadiusA_,
456 photonHcalDepth1TowerConeInnerRadiusA_,
457 photonHcalDepth1TowerThreshEA_,
464 photonHcalDepth1TowerConeOuterRadiusB_,
465 photonHcalDepth1TowerConeInnerRadiusB_,
466 photonHcalDepth1TowerThreshEB_,
475 photonHcalDepth2TowerConeOuterRadiusA_,
476 photonHcalDepth2TowerConeInnerRadiusA_,
477 photonHcalDepth2TowerThreshEA_,
484 photonHcalDepth2TowerConeOuterRadiusB_,
485 photonHcalDepth2TowerConeInnerRadiusB_,
486 photonHcalDepth2TowerThreshEB_,
491 double HcalTowerBcIsoA =
495 double HcalTowerBcIsoB =
501 double HcalDepth1TowerBcIsoA =
502 calculateHcalTowerIso(pho,
e, es, photonHcalDepth1TowerConeOuterRadiusA_, photonHcalDepth1TowerThreshEA_, 1);
505 double HcalDepth1TowerBcIsoB =
506 calculateHcalTowerIso(pho,
e, es, photonHcalDepth1TowerConeOuterRadiusB_, photonHcalDepth1TowerThreshEB_, 1);
511 double HcalDepth2TowerBcIsoA =
512 calculateHcalTowerIso(pho,
e, es, photonHcalDepth2TowerConeOuterRadiusA_, photonHcalDepth2TowerThreshEA_, 2);
515 double HcalDepth2TowerBcIsoB =
516 calculateHcalTowerIso(pho,
e, es, photonHcalDepth2TowerConeOuterRadiusB_, photonHcalDepth2TowerThreshEB_, 2);
536 double eta =
photon->superCluster()->position().eta();
542 if (fabs(
feta - 1.479) < .1)
554 if (fabs(
feta - 1.479) < .1)
588 vertexBeamSpot = *recoBeamSpotHandle;
600 ntrkCone =
res.first;
601 trkCone =
res.second;
613 bool useNumXtals)
const {
631 RCone, RConeInner, etaSlice,
etMin,
eMin, geoHandle, *rechitsCollectionEB_, sevLevel,
DetId::Ecal);
640 RCone, RConeInner, etaSlice,
etMin,
eMin, geoHandle, *rechitsCollectionEE_, sevLevel,
DetId::Ecal);
649 double ecalIsol = ecalIsolEB + ecalIsolEE;
660 signed int depth)
const {
661 double hcalIsol = 0.;
684 signed int depth)
const {
685 double hcalIsol = 0.;