35 std::vector<int>
const& flagsEB,
36 std::vector<int>
const& flagsEE,
37 std::vector<int>
const& severitiesEB,
38 std::vector<int>
const& severitiesEE,
47 if (not hcRHC.label().empty())
177 bool isEBPho =
false;
178 bool isEEPho =
false;
179 bool isEBEtaGap =
false;
180 bool isEBPhiGap =
false;
181 bool isEERingGap =
false;
182 bool isEEDeeGap =
false;
183 bool isEBEEGap =
false;
184 classify(pho, isEBPho, isEEPho, isEBEtaGap, isEBPhiGap, isEERingGap, isEEDeeGap, isEBEEGap);
185 phofid.
isEB = isEBPho;
186 phofid.
isEE = isEEPho;
202 double photonEcalRecHitConeInnerRadiusA_;
203 double photonEcalRecHitConeOuterRadiusA_;
204 double photonEcalRecHitEtaSliceA_;
205 double photonEcalRecHitThreshEA_;
206 double photonEcalRecHitThreshEtA_;
207 double photonHcalTowerConeInnerRadiusA_;
208 double photonHcalTowerConeOuterRadiusA_;
209 double photonHcalTowerThreshEA_;
210 double photonHcalDepth1TowerConeInnerRadiusA_;
211 double photonHcalDepth1TowerConeOuterRadiusA_;
212 double photonHcalDepth1TowerThreshEA_;
213 double photonHcalDepth2TowerConeInnerRadiusA_;
214 double photonHcalDepth2TowerConeOuterRadiusA_;
215 double photonHcalDepth2TowerThreshEA_;
216 double trackConeOuterRadiusA_;
217 double trackConeInnerRadiusA_;
218 double isolationtrackThresholdA_;
219 double isolationtrackEtaSliceA_;
220 double trackLipRadiusA_;
221 double trackD0RadiusA_;
222 double photonEcalRecHitConeInnerRadiusB_;
223 double photonEcalRecHitConeOuterRadiusB_;
224 double photonEcalRecHitEtaSliceB_;
225 double photonEcalRecHitThreshEB_;
226 double photonEcalRecHitThreshEtB_;
227 double photonHcalTowerConeInnerRadiusB_;
228 double photonHcalTowerConeOuterRadiusB_;
229 double photonHcalTowerThreshEB_;
230 double photonHcalDepth1TowerConeInnerRadiusB_;
231 double photonHcalDepth1TowerConeOuterRadiusB_;
232 double photonHcalDepth1TowerThreshEB_;
233 double photonHcalDepth2TowerConeInnerRadiusB_;
234 double photonHcalDepth2TowerConeOuterRadiusB_;
235 double photonHcalDepth2TowerThreshEB_;
236 double trackConeOuterRadiusB_;
237 double trackConeInnerRadiusB_;
238 double isolationtrackThresholdB_;
239 double isolationtrackEtaSliceB_;
240 double trackLipRadiusB_;
241 double trackD0RadiusB_;
347 isolationtrackThresholdA_,
348 trackConeOuterRadiusA_,
349 trackConeInnerRadiusA_,
350 isolationtrackEtaSliceA_,
361 isolationtrackThresholdA_,
362 trackConeOuterRadiusA_,
364 isolationtrackEtaSliceA_,
380 isolationtrackThresholdB_,
381 trackConeOuterRadiusB_,
382 trackConeInnerRadiusB_,
383 isolationtrackEtaSliceB_,
394 isolationtrackThresholdB_,
395 trackConeOuterRadiusB_,
397 isolationtrackEtaSliceB_,
412 photonEcalRecHitConeOuterRadiusA_,
413 photonEcalRecHitConeInnerRadiusA_,
414 photonEcalRecHitEtaSliceA_,
415 photonEcalRecHitThreshEA_,
416 photonEcalRecHitThreshEtA_,
424 photonEcalRecHitConeOuterRadiusB_,
425 photonEcalRecHitConeInnerRadiusB_,
426 photonEcalRecHitEtaSliceB_,
427 photonEcalRecHitThreshEB_,
428 photonEcalRecHitThreshEtB_,
434 pho,
e, es, photonHcalTowerConeOuterRadiusA_, photonHcalTowerConeInnerRadiusA_, photonHcalTowerThreshEA_, -1);
438 pho,
e, es, photonHcalTowerConeOuterRadiusB_, photonHcalTowerConeInnerRadiusB_, photonHcalTowerThreshEB_, -1);
446 photonHcalDepth1TowerConeOuterRadiusA_,
447 photonHcalDepth1TowerConeInnerRadiusA_,
448 photonHcalDepth1TowerThreshEA_,
455 photonHcalDepth1TowerConeOuterRadiusB_,
456 photonHcalDepth1TowerConeInnerRadiusB_,
457 photonHcalDepth1TowerThreshEB_,
466 photonHcalDepth2TowerConeOuterRadiusA_,
467 photonHcalDepth2TowerConeInnerRadiusA_,
468 photonHcalDepth2TowerThreshEA_,
475 photonHcalDepth2TowerConeOuterRadiusB_,
476 photonHcalDepth2TowerConeInnerRadiusB_,
477 photonHcalDepth2TowerThreshEB_,
482 double HcalTowerBcIsoA =
486 double HcalTowerBcIsoB =
492 double HcalDepth1TowerBcIsoA =
493 calculateHcalTowerIso(pho,
e, es, photonHcalDepth1TowerConeOuterRadiusA_, photonHcalDepth1TowerThreshEA_, 1);
496 double HcalDepth1TowerBcIsoB =
497 calculateHcalTowerIso(pho,
e, es, photonHcalDepth1TowerConeOuterRadiusB_, photonHcalDepth1TowerThreshEB_, 1);
502 double HcalDepth2TowerBcIsoA =
503 calculateHcalTowerIso(pho,
e, es, photonHcalDepth2TowerConeOuterRadiusA_, photonHcalDepth2TowerThreshEA_, 2);
506 double HcalDepth2TowerBcIsoB =
507 calculateHcalTowerIso(pho,
e, es, photonHcalDepth2TowerConeOuterRadiusB_, photonHcalDepth2TowerThreshEB_, 2);
527 double eta =
photon->superCluster()->position().eta();
533 if (fabs(
feta - 1.479) < .1)
545 if (fabs(
feta - 1.479) < .1)
579 vertexBeamSpot = *recoBeamSpotHandle;
591 ntrkCone =
res.first;
592 trkCone =
res.second;
603 bool vetoClusteredHits,
604 bool useNumXtals)
const {
622 RCone, RConeInner, etaSlice,
etMin,
eMin, geoHandle, *rechitsCollectionEB_, sevLevel,
DetId::Ecal);
631 RCone, RConeInner, etaSlice,
etMin,
eMin, geoHandle, *rechitsCollectionEE_, sevLevel,
DetId::Ecal);
640 double ecalIsol = ecalIsolEB + ecalIsolEE;
651 signed int depth)
const {
652 double hcalIsol = 0.;
675 signed int depth)
const {
676 double hcalIsol = 0.;