CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CutBasedPhotonIDAlgo Class Reference

#include <CutBasedPhotonIDAlgo.h>

Public Member Functions

 CutBasedPhotonIDAlgo ()
 
void decideEB (const reco::Photon *pho, bool &LooseEM, bool &LoosePhoton, bool &TightPhoton)
 
void decideEE (const reco::Photon *pho, bool &LooseEM, bool &LoosePhoton, bool &TightPhoton)
 
void setup (const edm::ParameterSet &conf)
 
virtual ~CutBasedPhotonIDAlgo ()
 

Private Attributes

bool dophotonEcalRecHitIsolationCut_
 
bool dophotonHadOverEMCut_
 
bool dophotonHcalTowerIsolationCut_
 
bool dophotonHCNTrkCut_
 
bool dophotonHCTrkIsolationCut_
 
bool dophotonR9Cut_
 
bool dophotonSCNTrkCut_
 
bool dophotonSCTrkIsolationCut_
 
bool dophotonsigmaeeCut_
 
bool dorequireFiducial_
 
double looseEMEcalIsoRelativeCutOffsetEB_
 
double looseEMEcalIsoRelativeCutOffsetEE_
 
double looseEMEcalIsoRelativeCutSlopeEB_
 
double looseEMEcalIsoRelativeCutSlopeEE_
 
double looseEMEtaWidthCutEB_
 
double looseEMEtaWidthCutEE_
 
double looseEMHadOverEMCutEB_
 
double looseEMHadOverEMCutEE_
 
double looseEMHcalTowerIsolationCutOffsetEB_
 
double looseEMHcalTowerIsolationCutOffsetEE_
 
double looseEMHcalTowerIsolationCutSlopeEB_
 
double looseEMHcalTowerIsolationCutSlopeEE_
 
int looseEMHollowConeNTrkCutEB_
 
int looseEMHollowConeNTrkCutEE_
 
double looseEMHollowConeTrkIsolationOffsetEB_
 
double looseEMHollowConeTrkIsolationOffsetEE_
 
double looseEMHollowConeTrkIsolationSlopeEB_
 
double looseEMHollowConeTrkIsolationSlopeEE_
 
double looseEMR9CutEB_
 
double looseEMR9CutEE_
 
int looseEMSolidConeNTrkCutEB_
 
int looseEMSolidConeNTrkCutEE_
 
double looseEMSolidConeTrkIsolationCutEB_
 
double looseEMSolidConeTrkIsolationCutEE_
 
double looseEMSolidConeTrkIsolationOffsetEB_
 
double looseEMSolidConeTrkIsolationOffsetEE_
 
double looseEMSolidConeTrkIsolationSlopeEB_
 
double looseEMSolidConeTrkIsolationSlopeEE_
 
double loosephotonEcalIsoRelativeCutOffsetEB_
 
double loosephotonEcalIsoRelativeCutOffsetEE_
 
double loosephotonEcalIsoRelativeCutSlopeEB_
 
double loosephotonEcalIsoRelativeCutSlopeEE_
 
double loosephotonEtaWidthCutEB_
 
double loosephotonEtaWidthCutEE_
 
double loosephotonHadOverEMCutEB_
 
double loosephotonHadOverEMCutEE_
 
double loosephotonHcalTowerIsolationCutOffsetEB_
 
double loosephotonHcalTowerIsolationCutOffsetEE_
 
double loosephotonHcalTowerIsolationCutSlopeEB_
 
double loosephotonHcalTowerIsolationCutSlopeEE_
 
int loosephotonHollowConeNTrkCutEB_
 
int loosephotonHollowConeNTrkCutEE_
 
double loosephotonHollowConeTrkIsolationOffsetEB_
 
double loosephotonHollowConeTrkIsolationOffsetEE_
 
double loosephotonHollowConeTrkIsolationSlopeEB_
 
double loosephotonHollowConeTrkIsolationSlopeEE_
 
double loosephotonR9CutEB_
 
double loosephotonR9CutEE_
 
int loosephotonSolidConeNTrkCutEB_
 
int loosephotonSolidConeNTrkCutEE_
 
double loosephotonSolidConeTrkIsolationCutEB_
 
double loosephotonSolidConeTrkIsolationCutEE_
 
double loosephotonSolidConeTrkIsolationOffsetEB_
 
double loosephotonSolidConeTrkIsolationOffsetEE_
 
double loosephotonSolidConeTrkIsolationSlopeEB_
 
double loosephotonSolidConeTrkIsolationSlopeEE_
 
double tightphotonEcalIsoRelativeCutOffsetEB_
 
double tightphotonEcalIsoRelativeCutOffsetEE_
 
double tightphotonEcalIsoRelativeCutSlopeEB_
 
double tightphotonEcalIsoRelativeCutSlopeEE_
 
double tightphotonEtaWidthCutEB_
 
double tightphotonEtaWidthCutEE_
 
double tightphotonHadOverEMCutEB_
 
double tightphotonHadOverEMCutEE_
 
double tightphotonHcalTowerIsolationCutOffsetEB_
 
double tightphotonHcalTowerIsolationCutOffsetEE_
 
double tightphotonHcalTowerIsolationCutSlopeEB_
 
double tightphotonHcalTowerIsolationCutSlopeEE_
 
int tightphotonHollowConeNTrkCutEB_
 
int tightphotonHollowConeNTrkCutEE_
 
double tightphotonHollowConeTrkIsolationOffsetEB_
 
double tightphotonHollowConeTrkIsolationOffsetEE_
 
double tightphotonHollowConeTrkIsolationSlopeEB_
 
double tightphotonHollowConeTrkIsolationSlopeEE_
 
double tightphotonR9CutEB_
 
double tightphotonR9CutEE_
 
int tightphotonSolidConeNTrkCutEB_
 
int tightphotonSolidConeNTrkCutEE_
 
double tightphotonSolidConeTrkIsolationCutEB_
 
double tightphotonSolidConeTrkIsolationCutEE_
 
double tightphotonSolidConeTrkIsolationOffsetEB_
 
double tightphotonSolidConeTrkIsolationOffsetEE_
 
double tightphotonSolidConeTrkIsolationSlopeEB_
 
double tightphotonSolidConeTrkIsolationSlopeEE_
 

Detailed Description

Definition at line 9 of file CutBasedPhotonIDAlgo.h.

Constructor & Destructor Documentation

◆ CutBasedPhotonIDAlgo()

CutBasedPhotonIDAlgo::CutBasedPhotonIDAlgo ( )
inline

Definition at line 11 of file CutBasedPhotonIDAlgo.h.

11 {};

◆ ~CutBasedPhotonIDAlgo()

virtual CutBasedPhotonIDAlgo::~CutBasedPhotonIDAlgo ( )
inlinevirtual

Definition at line 13 of file CutBasedPhotonIDAlgo.h.

13 {};

Member Function Documentation

◆ decideEB()

void CutBasedPhotonIDAlgo::decideEB ( const reco::Photon pho,
bool &  LooseEM,
bool &  LoosePhoton,
bool &  TightPhoton 
)

Definition at line 109 of file CutBasedPhotonIDAlgo.cc.

109  {
111  //If one has selected to apply fiducial cuts, they will be
112  //applied for all loosePhoton, tightPhoton.
113  //Consider yourself warned!
115 
116  //Require supercluster is within fiducial volume.
117  if (dorequireFiducial_) {
118  if (pho->isEBEEGap()) {
119  LooseEM = false;
120  LoosePhoton = false;
121  TightPhoton = false;
122  return;
123  }
124  if (pho->isEBEtaGap() || pho->isEBPhiGap()) {
125  LooseEM = false;
126  LoosePhoton = false;
127  TightPhoton = false;
128  return;
129  }
130  if (pho->isEERingGap() || pho->isEEDeeGap()) {
131  LooseEM = false;
132  LoosePhoton = false;
133  TightPhoton = false;
134  return;
135  }
136  }
138  //Done with fiducial cuts.
140 
141  //first do looseEM selection, if Photon is not LooseEM,
142  //by definition it is also not LoosePhoton or TightPhoton
143 
144  //Cut on the sum of ecal rec hits in a cone
147  if (pho->ecalRecHitSumEtConeDR04() > cutvalue) {
148  LooseEM = false;
149  LoosePhoton = false;
150  TightPhoton = false;
151  return;
152  }
153  }
154 
155  //Cut on the sum of hcal rec hits in a cone (HBHE)
158  if (pho->hcalTowerSumEtConeDR04() > cutvalue) {
159  LooseEM = false;
160  LoosePhoton = false;
161  TightPhoton = false;
162  return;
163  }
164  }
165 
166  //Cut on number of tracks within the solid cone.
167  if (dophotonSCNTrkCut_) {
169  LooseEM = false;
170  LoosePhoton = false;
171  TightPhoton = false;
172  return;
173  }
174  }
175 
176  //Cut on number of tracks within the hollow cone.
177  if (dophotonHCNTrkCut_) {
179  LooseEM = false;
180  LoosePhoton = false;
181  TightPhoton = false;
182  return;
183  }
184  }
185 
186  //Cut on the sum of tracks within a solid cone
189  if (pho->trkSumPtSolidConeDR04() > cutvalue) {
190  LooseEM = false;
191  LoosePhoton = false;
192  TightPhoton = false;
193  return;
194  }
195  }
196 
197  //Cut on the sum of tracks within a hollow cone
200  if (pho->trkSumPtHollowConeDR04() > cutvalue) {
201  LooseEM = false;
202  LoosePhoton = false;
203  TightPhoton = false;
204  return;
205  }
206  }
207 
208  //HadoverEM cut
209  if (dophotonHadOverEMCut_) {
210  float hadoverE = pho->hadronicOverEm();
211  if (hadoverE > looseEMHadOverEMCutEB_) {
212  LooseEM = false;
213  LoosePhoton = false;
214  TightPhoton = false;
215  return;
216  }
217  }
218 
219  //eta width
220 
221  if (dophotonsigmaeeCut_) {
222  double sigmaee = pho->sigmaIetaIeta();
223  if (sigmaee > looseEMEtaWidthCutEB_) {
224  LooseEM = false;
225  LoosePhoton = false;
226  TightPhoton = false;
227  return;
228  }
229  }
230  //R9 cut
231  if (dophotonR9Cut_) {
232  if (pho->r9() < looseEMR9CutEB_) {
233  LooseEM = false;
234  LoosePhoton = false;
235  TightPhoton = false;
236  return;
237  }
238  }
239  LooseEM = true;
240 
242  //Next do loosephoton selection.
243  //If an object is not LoosePhoton, it is also not
244  //TightPhoton!
246  //Cut on the sum of ecal rec hits in a cone
249  if (pho->ecalRecHitSumEtConeDR04() > cutvalue) {
250  LoosePhoton = false;
251  TightPhoton = false;
252  return;
253  }
254  }
255 
256  //Cut on the sum of hcal rec hits in a cone (HBHE)
259  if (pho->hcalTowerSumEtConeDR04() > cutvalue) {
260  LoosePhoton = false;
261  TightPhoton = false;
262  return;
263  }
264  }
265 
266  //Cut on number of tracks within the solid cone.
267  if (dophotonSCNTrkCut_) {
269  LoosePhoton = false;
270  TightPhoton = false;
271  return;
272  }
273  }
274 
275  //Cut on number of tracks within the hollow cone.
276  if (dophotonHCNTrkCut_) {
278  LoosePhoton = false;
279  TightPhoton = false;
280  return;
281  }
282  }
283 
284  //Cut on the sum of tracks within a solid cone
287  if (pho->trkSumPtSolidConeDR04() > cutvalue) {
288  LoosePhoton = false;
289  TightPhoton = false;
290  return;
291  }
292  }
293 
294  //Cut on the sum of tracks within a hollow cone
296  double cutvalue =
298  if (pho->trkSumPtHollowConeDR04() > cutvalue) {
299  LoosePhoton = false;
300  TightPhoton = false;
301  return;
302  }
303  }
304 
305  //HadoverEM cut
306  if (dophotonHadOverEMCut_) {
307  float hadoverE = pho->hadronicOverEm();
308  if (hadoverE > loosephotonHadOverEMCutEB_) {
309  LoosePhoton = false;
310  TightPhoton = false;
311  return;
312  }
313  }
314 
315  //eta width
316 
317  if (dophotonsigmaeeCut_) {
318  double sigmaee = pho->sigmaIetaIeta();
319  if (sigmaee > loosephotonEtaWidthCutEB_) {
320  LoosePhoton = false;
321  TightPhoton = false;
322  return;
323  }
324  }
325  //R9 cut
326  if (dophotonR9Cut_) {
327  if (pho->r9() < loosephotonR9CutEB_) {
328  LoosePhoton = false;
329  TightPhoton = false;
330  return;
331  }
332  }
333  //If one reaches this point, the decision has been made that this object,
334  //is indeed loosePhoton.
335  LoosePhoton = true;
336 
338  //Next do tightphoton selection.
339  //This is the tightest critieria,
340  //and once more one assumes that these criteria are
341  //tighter than loose.
343  //Cut on the sum of ecal rec hits in a cone
346  if (pho->ecalRecHitSumEtConeDR04() > cutvalue) {
347  LoosePhoton = true;
348  TightPhoton = false;
349  return;
350  }
351  }
352 
353  //Cut on the sum of hcal rec hits in a cone (HBHE)
356  if (pho->hcalTowerSumEtConeDR04() > cutvalue) {
357  LoosePhoton = true;
358  TightPhoton = false;
359  return;
360  }
361  }
362 
363  //Cut on number of tracks within the solid cone.
364  if (dophotonSCNTrkCut_) {
366  LoosePhoton = true;
367  TightPhoton = false;
368  return;
369  }
370  }
371 
372  //Cut on number of tracks within the hollow cone.
373  if (dophotonHCNTrkCut_) {
375  LoosePhoton = true;
376  TightPhoton = false;
377  return;
378  }
379  }
380 
381  //Cut on the sum of tracks within a solid cone
384  if (pho->trkSumPtSolidConeDR04() > cutvalue) {
385  LoosePhoton = true;
386  TightPhoton = false;
387  return;
388  }
389  }
390 
391  //Cut on the sum of tracks within a hollow cone
393  double cutvalue =
395  if (pho->trkSumPtHollowConeDR04() > cutvalue) {
396  LoosePhoton = true;
397  TightPhoton = false;
398  return;
399  }
400  }
401 
402  //HadoverEM cut
403  if (dophotonHadOverEMCut_) {
404  float hadoverE = pho->hadronicOverEm();
405  if (hadoverE > tightphotonHadOverEMCutEB_) {
406  LoosePhoton = true;
407  TightPhoton = false;
408  return;
409  }
410  }
411 
412  //eta width
413 
414  if (dophotonsigmaeeCut_) {
415  double sigmaee = pho->sigmaIetaIeta();
416  if (sigmaee > tightphotonEtaWidthCutEB_) {
417  LoosePhoton = true;
418  TightPhoton = false;
419  return;
420  }
421  }
422  //R9 cut
423  if (dophotonR9Cut_) {
424  if (pho->r9() < tightphotonR9CutEB_) {
425  LoosePhoton = true;
426  TightPhoton = false;
427  return;
428  }
429  }
430 
431  //if you got here, you must have passed all cuts!
432  TightPhoton = true;
433 }

References dophotonEcalRecHitIsolationCut_, dophotonHadOverEMCut_, dophotonHcalTowerIsolationCut_, dophotonHCNTrkCut_, dophotonHCTrkIsolationCut_, dophotonR9Cut_, dophotonSCNTrkCut_, dophotonSCTrkIsolationCut_, dophotonsigmaeeCut_, dorequireFiducial_, reco::Photon::ecalRecHitSumEtConeDR04(), reco::Photon::hadronicOverEm(), reco::Photon::hcalTowerSumEtConeDR04(), reco::Photon::isEBEEGap(), reco::Photon::isEBEtaGap(), reco::Photon::isEBPhiGap(), reco::Photon::isEEDeeGap(), reco::Photon::isEERingGap(), looseEMEcalIsoRelativeCutOffsetEB_, looseEMEcalIsoRelativeCutSlopeEB_, looseEMEtaWidthCutEB_, looseEMHadOverEMCutEB_, looseEMHcalTowerIsolationCutOffsetEB_, looseEMHcalTowerIsolationCutSlopeEB_, looseEMHollowConeNTrkCutEB_, looseEMHollowConeTrkIsolationOffsetEB_, looseEMHollowConeTrkIsolationSlopeEB_, looseEMR9CutEB_, looseEMSolidConeNTrkCutEB_, looseEMSolidConeTrkIsolationOffsetEB_, looseEMSolidConeTrkIsolationSlopeEB_, loosephotonEcalIsoRelativeCutOffsetEB_, loosephotonEcalIsoRelativeCutSlopeEB_, loosephotonEtaWidthCutEB_, loosephotonHadOverEMCutEB_, loosephotonHcalTowerIsolationCutOffsetEB_, loosephotonHcalTowerIsolationCutSlopeEB_, loosephotonHollowConeNTrkCutEB_, loosephotonHollowConeTrkIsolationOffsetEB_, loosephotonHollowConeTrkIsolationSlopeEB_, loosephotonR9CutEB_, loosephotonSolidConeNTrkCutEB_, loosephotonSolidConeTrkIsolationOffsetEB_, loosephotonSolidConeTrkIsolationSlopeEB_, reco::Photon::nTrkHollowConeDR04(), reco::Photon::nTrkSolidConeDR04(), reco::LeafCandidate::pt(), reco::Photon::r9(), reco::Photon::sigmaIetaIeta(), tightphotonEcalIsoRelativeCutOffsetEB_, tightphotonEcalIsoRelativeCutSlopeEB_, tightphotonEtaWidthCutEB_, tightphotonHadOverEMCutEB_, tightphotonHcalTowerIsolationCutOffsetEB_, tightphotonHcalTowerIsolationCutSlopeEB_, tightphotonHollowConeNTrkCutEB_, tightphotonHollowConeTrkIsolationOffsetEB_, tightphotonHollowConeTrkIsolationSlopeEB_, tightphotonR9CutEB_, tightphotonSolidConeNTrkCutEB_, tightphotonSolidConeTrkIsolationOffsetEB_, tightphotonSolidConeTrkIsolationSlopeEB_, reco::Photon::trkSumPtHollowConeDR04(), and reco::Photon::trkSumPtSolidConeDR04().

Referenced by PhotonIDProducer::produce().

◆ decideEE()

void CutBasedPhotonIDAlgo::decideEE ( const reco::Photon pho,
bool &  LooseEM,
bool &  LoosePhoton,
bool &  TightPhoton 
)

Definition at line 435 of file CutBasedPhotonIDAlgo.cc.

435  {
437  //If one has selected to apply fiducial cuts, they will be
438  //applied for all , loosePhoton, tightPhoton.
439  //Consider yourself warned!
441 
442  //Require supercluster is within fiducial volume.
443  if (dorequireFiducial_) {
444  if (pho->isEBEEGap()) {
445  LooseEM = false;
446  LoosePhoton = false;
447  TightPhoton = false;
448 
449  return;
450  }
451  if (pho->isEBEtaGap() || pho->isEBPhiGap()) {
452  LooseEM = false;
453  LoosePhoton = false;
454  TightPhoton = false;
455  return;
456  }
457  if (pho->isEERingGap() || pho->isEEDeeGap()) {
458  LooseEM = false;
459  LoosePhoton = false;
460  TightPhoton = false;
461  return;
462  }
463  }
465  //Done with fiducial cuts.
467  //Do LooseEM selection. By definition, if a photon does not pass LooseEM, it does not pass LoosePhoton or TightPhoton!
470  if (pho->ecalRecHitSumEtConeDR04() > cutvalue) {
471  LooseEM = false;
472  LoosePhoton = false;
473  TightPhoton = false;
474  return;
475  }
476  }
477 
478  //Cut on the sum of hcal towers in a cone (HBHE)
481  if (pho->hcalTowerSumEtConeDR04() > cutvalue) {
482  LooseEM = false;
483  LoosePhoton = false;
484  TightPhoton = false;
485  return;
486  }
487  }
488 
489  //Cut on number of tracks within the solid cone.
490  if (dophotonSCNTrkCut_) {
492  LooseEM = false;
493  LoosePhoton = false;
494  TightPhoton = false;
495  return;
496  }
497  }
498 
499  //Cut on number of tracks within the hollow cone.
500  if (dophotonHCNTrkCut_) {
502  LooseEM = false;
503  LoosePhoton = false;
504  TightPhoton = false;
505  return;
506  }
507  }
508 
509  //Cut on the sum of tracks within a solid cone
512  if (pho->trkSumPtSolidConeDR04() > cutvalue) {
513  LooseEM = false;
514  LoosePhoton = false;
515  TightPhoton = false;
516  return;
517  }
518  }
519 
520  //Cut on the sum of tracks within a hollow cone
523  if (pho->trkSumPtHollowConeDR04() > cutvalue) {
524  LooseEM = false;
525  LoosePhoton = false;
526  TightPhoton = false;
527  return;
528  }
529  }
530 
531  //HadoverEM cut
532  if (dophotonHadOverEMCut_) {
533  float hadoverE = pho->hadronicOverEm();
534  if (hadoverE > looseEMHadOverEMCutEE_) {
535  LooseEM = false;
536  LoosePhoton = false;
537  TightPhoton = false;
538  return;
539  }
540  }
541 
542  //eta width
543 
544  if (dophotonsigmaeeCut_) {
545  double sigmaee = pho->sigmaIetaIeta();
546 
547  if (sigmaee > looseEMEtaWidthCutEE_) {
548  LooseEM = false;
549  LoosePhoton = false;
550  TightPhoton = false;
551  return;
552  }
553  }
554  //R9 cut
555  if (dophotonR9Cut_) {
556  if (pho->r9() < looseEMR9CutEE_) {
557  LooseEM = false;
558  LoosePhoton = false;
559  TightPhoton = false;
560  return;
561  }
562  }
563  LooseEM = true;
565  //Next do loosephoton selection.
566  //If an object is not LoosePhoton, it is also not
567  //TightPhoton!
569 
572  if (pho->ecalRecHitSumEtConeDR04() > cutvalue) {
573  LoosePhoton = false;
574  TightPhoton = false;
575  return;
576  }
577  }
578 
579  //Cut on the sum of hcal rec hits in a cone (HBHE)
582  if (pho->hcalTowerSumEtConeDR04() > cutvalue) {
583  LoosePhoton = false;
584  TightPhoton = false;
585  return;
586  }
587  }
588 
589  //Cut on number of tracks within the solid cone.
590  if (dophotonSCNTrkCut_) {
592  LoosePhoton = false;
593  TightPhoton = false;
594  return;
595  }
596  }
597 
598  //Cut on number of tracks within the hollow cone.
599  if (dophotonHCNTrkCut_) {
601  LoosePhoton = false;
602  TightPhoton = false;
603  return;
604  }
605  }
606 
607  //Cut on the sum of tracks within a solid cone
610  if (pho->trkSumPtSolidConeDR04() > cutvalue) {
611  LoosePhoton = false;
612  TightPhoton = false;
613  return;
614  }
615  }
616 
617  //Cut on the sum of tracks within a hollow cone
619  double cutvalue =
621  if (pho->trkSumPtHollowConeDR04() > cutvalue) {
622  LoosePhoton = false;
623  TightPhoton = false;
624  return;
625  }
626  }
627 
628  //HadoverEM cut
629  if (dophotonHadOverEMCut_) {
630  float hadoverE = pho->hadronicOverEm();
631  if (hadoverE > loosephotonHadOverEMCutEE_) {
632  LoosePhoton = false;
633  TightPhoton = false;
634  return;
635  }
636  }
637 
638  //eta width
639 
640  if (dophotonsigmaeeCut_) {
641  double sigmaee = pho->sigmaIetaIeta();
642 
643  if (sigmaee > loosephotonEtaWidthCutEE_) {
644  LoosePhoton = false;
645  TightPhoton = false;
646  return;
647  }
648  }
649  //R9 cut
650  if (dophotonR9Cut_) {
651  if (pho->r9() < loosephotonR9CutEE_) {
652  LoosePhoton = false;
653  TightPhoton = false;
654  return;
655  }
656  }
657  //If one reaches this point, the decision has been made that this object,
658  //is indeed loosePhoton.
659  LoosePhoton = true;
661  //Next do tightphoton selection.
662  //This is the tightest critieria,
663  //and once more one assumes that these criteria are
664  //tighter than loose.
668  if (pho->ecalRecHitSumEtConeDR04() > cutvalue) {
669  LoosePhoton = true;
670  TightPhoton = false;
671  return;
672  }
673  }
674 
675  //Cut on the sum of hcal rec hits in a cone (HBHE)
678  if (pho->hcalTowerSumEtConeDR04() > cutvalue) {
679  LoosePhoton = true;
680  TightPhoton = false;
681  return;
682  }
683  }
684 
685  //Cut on number of tracks within the solid cone.
686  if (dophotonSCNTrkCut_) {
688  LoosePhoton = true;
689  TightPhoton = false;
690  return;
691  }
692  }
693 
694  //Cut on number of tracks within the hollow cone.
695  if (dophotonHCNTrkCut_) {
697  LoosePhoton = true;
698  TightPhoton = false;
699  return;
700  }
701  }
702 
703  //Cut on the sum of tracks within a solid cone
706  if (pho->trkSumPtSolidConeDR04() > cutvalue) {
707  LoosePhoton = true;
708  TightPhoton = false;
709  return;
710  }
711  }
712 
713  //Cut on the sum of tracks within a hollow cone
715  double cutvalue =
717  if (pho->trkSumPtHollowConeDR04() > cutvalue) {
718  LoosePhoton = true;
719  TightPhoton = false;
720  return;
721  }
722  }
723 
724  //HadoverEM cut
725  if (dophotonHadOverEMCut_) {
726  float hadoverE = pho->hadronicOverEm();
727  if (hadoverE > tightphotonHadOverEMCutEE_) {
728  LoosePhoton = true;
729  TightPhoton = false;
730  return;
731  }
732  }
733 
734  //eta width
735 
736  if (dophotonsigmaeeCut_) {
737  double sigmaee = pho->sigmaIetaIeta();
738 
739  if (sigmaee > tightphotonEtaWidthCutEE_) {
740  LoosePhoton = true;
741  TightPhoton = false;
742  return;
743  }
744  }
745  //R9 cut
746  if (dophotonR9Cut_) {
747  if (pho->r9() < tightphotonR9CutEE_) {
748  LoosePhoton = true;
749  TightPhoton = false;
750  return;
751  }
752  }
753 
754  //if you got here, you must have passed all cuts!
755  TightPhoton = true;
756 }

References dophotonEcalRecHitIsolationCut_, dophotonHadOverEMCut_, dophotonHcalTowerIsolationCut_, dophotonHCNTrkCut_, dophotonHCTrkIsolationCut_, dophotonR9Cut_, dophotonSCNTrkCut_, dophotonSCTrkIsolationCut_, dophotonsigmaeeCut_, dorequireFiducial_, reco::Photon::ecalRecHitSumEtConeDR04(), reco::Photon::hadronicOverEm(), reco::Photon::hcalTowerSumEtConeDR04(), reco::Photon::isEBEEGap(), reco::Photon::isEBEtaGap(), reco::Photon::isEBPhiGap(), reco::Photon::isEEDeeGap(), reco::Photon::isEERingGap(), looseEMEcalIsoRelativeCutOffsetEE_, looseEMEcalIsoRelativeCutSlopeEE_, looseEMEtaWidthCutEE_, looseEMHadOverEMCutEE_, looseEMHcalTowerIsolationCutOffsetEE_, looseEMHcalTowerIsolationCutSlopeEE_, looseEMHollowConeNTrkCutEE_, looseEMHollowConeTrkIsolationOffsetEE_, looseEMHollowConeTrkIsolationSlopeEE_, looseEMR9CutEE_, looseEMSolidConeNTrkCutEE_, looseEMSolidConeTrkIsolationOffsetEE_, looseEMSolidConeTrkIsolationSlopeEE_, loosephotonEcalIsoRelativeCutOffsetEE_, loosephotonEcalIsoRelativeCutSlopeEE_, loosephotonEtaWidthCutEE_, loosephotonHadOverEMCutEE_, loosephotonHcalTowerIsolationCutOffsetEE_, loosephotonHcalTowerIsolationCutSlopeEE_, loosephotonHollowConeNTrkCutEE_, loosephotonHollowConeTrkIsolationOffsetEE_, loosephotonHollowConeTrkIsolationSlopeEE_, loosephotonR9CutEE_, loosephotonSolidConeNTrkCutEE_, loosephotonSolidConeTrkIsolationOffsetEE_, loosephotonSolidConeTrkIsolationSlopeEE_, reco::Photon::nTrkHollowConeDR04(), reco::Photon::nTrkSolidConeDR04(), reco::LeafCandidate::pt(), reco::Photon::r9(), reco::Photon::sigmaIetaIeta(), tightphotonEcalIsoRelativeCutOffsetEE_, tightphotonEcalIsoRelativeCutSlopeEE_, tightphotonEtaWidthCutEE_, tightphotonHadOverEMCutEE_, tightphotonHcalTowerIsolationCutOffsetEE_, tightphotonHcalTowerIsolationCutSlopeEE_, tightphotonHollowConeNTrkCutEE_, tightphotonHollowConeTrkIsolationOffsetEE_, tightphotonHollowConeTrkIsolationSlopeEE_, tightphotonR9CutEE_, tightphotonSolidConeNTrkCutEE_, tightphotonSolidConeTrkIsolationOffsetEE_, tightphotonSolidConeTrkIsolationSlopeEE_, reco::Photon::trkSumPtHollowConeDR04(), and reco::Photon::trkSumPtSolidConeDR04().

Referenced by PhotonIDProducer::produce().

◆ setup()

void CutBasedPhotonIDAlgo::setup ( const edm::ParameterSet conf)

Definition at line 5 of file CutBasedPhotonIDAlgo.cc.

5  {
6  //Decision cuts
7  dophotonEcalRecHitIsolationCut_ = conf.getParameter<bool>("DoEcalRecHitIsolationCut");
8  dophotonHcalTowerIsolationCut_ = conf.getParameter<bool>("DoHcalTowerIsolationCut");
9  dophotonHCTrkIsolationCut_ = conf.getParameter<bool>("DoHollowConeTrackIsolationCut");
10  dophotonSCTrkIsolationCut_ = conf.getParameter<bool>("DoSolidConeTrackIsolationCut");
11  dophotonHCNTrkCut_ = conf.getParameter<bool>("DoHollowConeNTrkCut");
12  dophotonSCNTrkCut_ = conf.getParameter<bool>("DoSolidConeNTrkCut");
13  dophotonHadOverEMCut_ = conf.getParameter<bool>("DoHadOverEMCut");
14  dophotonsigmaeeCut_ = conf.getParameter<bool>("DoEtaWidthCut");
15  dophotonR9Cut_ = conf.getParameter<bool>("DoR9Cut");
16  dorequireFiducial_ = conf.getParameter<bool>("RequireFiducial");
17 
18  looseEMEcalIsoRelativeCutSlopeEB_ = conf.getParameter<double>("LooseEMEcalIsoRelativeCutSlopeEB");
19  looseEMEcalIsoRelativeCutOffsetEB_ = conf.getParameter<double>("LooseEMEcalIsoRelativeCutOffsetEB");
20  looseEMHcalTowerIsolationCutSlopeEB_ = conf.getParameter<double>("LooseEMHcalTowerIsoSlopeEB");
21  looseEMHcalTowerIsolationCutOffsetEB_ = conf.getParameter<double>("LooseEMHcalTowerIsoOffsetEB");
22  looseEMHollowConeTrkIsolationSlopeEB_ = conf.getParameter<double>("LooseEMHollowTrkSlopeEB");
23  looseEMHollowConeTrkIsolationOffsetEB_ = conf.getParameter<double>("LooseEMHollowTrkOffsetEB");
24  looseEMSolidConeTrkIsolationSlopeEB_ = conf.getParameter<double>("LooseEMSolidTrkSlopeEB");
25  looseEMSolidConeTrkIsolationOffsetEB_ = conf.getParameter<double>("LooseEMSolidTrkOffsetEB");
26  looseEMSolidConeTrkIsolationCutEB_ = conf.getParameter<double>("LooseEMSolidTrkEB");
27  looseEMSolidConeNTrkCutEB_ = conf.getParameter<int>("LooseEMSolidNTrkEB");
28  looseEMHollowConeNTrkCutEB_ = conf.getParameter<int>("LooseEMHollowNTrkEB");
29  looseEMEtaWidthCutEB_ = conf.getParameter<double>("LooseEMEtaWidthEB");
30  looseEMHadOverEMCutEB_ = conf.getParameter<double>("LooseEMHadOverEMEB");
31  looseEMR9CutEB_ = conf.getParameter<double>("LooseEMR9CutEB");
32 
33  loosephotonEcalIsoRelativeCutSlopeEB_ = conf.getParameter<double>("LoosePhotonEcalIsoRelativeCutSlopeEB");
34  loosephotonEcalIsoRelativeCutOffsetEB_ = conf.getParameter<double>("LoosePhotonEcalIsoRelativeCutOffsetEB");
35  loosephotonHcalTowerIsolationCutSlopeEB_ = conf.getParameter<double>("LoosePhotonHcalTowerIsoSlopeEB");
36  loosephotonHcalTowerIsolationCutOffsetEB_ = conf.getParameter<double>("LoosePhotonHcalTowerIsoOffsetEB");
37  loosephotonHollowConeTrkIsolationSlopeEB_ = conf.getParameter<double>("LoosePhotonHollowTrkSlopeEB");
38  loosephotonHollowConeTrkIsolationOffsetEB_ = conf.getParameter<double>("LoosePhotonHollowTrkOffsetEB");
39  loosephotonSolidConeTrkIsolationSlopeEB_ = conf.getParameter<double>("LoosePhotonSolidTrkSlopeEB");
40  loosephotonSolidConeTrkIsolationOffsetEB_ = conf.getParameter<double>("LoosePhotonSolidTrkOffsetEB");
41  loosephotonSolidConeTrkIsolationCutEB_ = conf.getParameter<double>("LoosePhotonSolidTrkEB");
42  loosephotonSolidConeNTrkCutEB_ = conf.getParameter<int>("LoosePhotonSolidNTrkEB");
43  loosephotonHollowConeNTrkCutEB_ = conf.getParameter<int>("LoosePhotonHollowNTrkEB");
44  loosephotonEtaWidthCutEB_ = conf.getParameter<double>("LoosePhotonEtaWidthEB");
45  loosephotonHadOverEMCutEB_ = conf.getParameter<double>("LoosePhotonHadOverEMEB");
46  loosephotonR9CutEB_ = conf.getParameter<double>("LoosePhotonR9CutEB");
47 
48  tightphotonEcalIsoRelativeCutSlopeEB_ = conf.getParameter<double>("TightPhotonEcalIsoRelativeCutSlopeEB");
49  tightphotonEcalIsoRelativeCutOffsetEB_ = conf.getParameter<double>("TightPhotonEcalIsoRelativeCutOffsetEB");
50  tightphotonHcalTowerIsolationCutSlopeEB_ = conf.getParameter<double>("TightPhotonHcalTowerIsoSlopeEB");
51  tightphotonHcalTowerIsolationCutOffsetEB_ = conf.getParameter<double>("TightPhotonHcalTowerIsoOffsetEB");
52  tightphotonHollowConeTrkIsolationSlopeEB_ = conf.getParameter<double>("TightPhotonHollowTrkSlopeEB");
53  tightphotonHollowConeTrkIsolationOffsetEB_ = conf.getParameter<double>("TightPhotonHollowTrkOffsetEB");
54  tightphotonSolidConeTrkIsolationSlopeEB_ = conf.getParameter<double>("TightPhotonSolidTrkSlopeEB");
55  tightphotonSolidConeTrkIsolationOffsetEB_ = conf.getParameter<double>("TightPhotonSolidTrkOffsetEB");
56  tightphotonSolidConeNTrkCutEB_ = conf.getParameter<int>("TightPhotonSolidNTrkEB");
57  tightphotonHollowConeNTrkCutEB_ = conf.getParameter<int>("TightPhotonHollowNTrkEB");
58  tightphotonEtaWidthCutEB_ = conf.getParameter<double>("TightPhotonEtaWidthEB");
59  tightphotonHadOverEMCutEB_ = conf.getParameter<double>("TightPhotonHadOverEMEB");
60  tightphotonR9CutEB_ = conf.getParameter<double>("TightPhotonR9CutEB");
61 
62  //get cuts here EE
63 
64  looseEMEcalIsoRelativeCutSlopeEE_ = conf.getParameter<double>("LooseEMEcalIsoRelativeCutSlopeEE");
65  looseEMEcalIsoRelativeCutOffsetEE_ = conf.getParameter<double>("LooseEMEcalIsoRelativeCutOffsetEE");
66  looseEMHcalTowerIsolationCutSlopeEE_ = conf.getParameter<double>("LooseEMHcalTowerIsoSlopeEE");
67  looseEMHcalTowerIsolationCutOffsetEE_ = conf.getParameter<double>("LooseEMHcalTowerIsoOffsetEE");
68  looseEMHollowConeTrkIsolationSlopeEE_ = conf.getParameter<double>("LooseEMHollowTrkSlopeEE");
69  looseEMHollowConeTrkIsolationOffsetEE_ = conf.getParameter<double>("LooseEMHollowTrkOffsetEE");
70  looseEMSolidConeTrkIsolationSlopeEE_ = conf.getParameter<double>("LooseEMSolidTrkSlopeEE");
71  looseEMSolidConeTrkIsolationOffsetEE_ = conf.getParameter<double>("LooseEMSolidTrkOffsetEE");
72  looseEMSolidConeTrkIsolationCutEE_ = conf.getParameter<double>("LooseEMSolidTrkEE");
73  looseEMSolidConeNTrkCutEE_ = conf.getParameter<int>("LooseEMSolidNTrkEE");
74  looseEMHollowConeNTrkCutEE_ = conf.getParameter<int>("LooseEMHollowNTrkEE");
75  looseEMEtaWidthCutEE_ = conf.getParameter<double>("LooseEMEtaWidthEE");
76  looseEMHadOverEMCutEE_ = conf.getParameter<double>("LooseEMHadOverEMEE");
77  looseEMR9CutEE_ = conf.getParameter<double>("LooseEMR9CutEE");
78 
79  loosephotonEcalIsoRelativeCutSlopeEE_ = conf.getParameter<double>("LoosePhotonEcalIsoRelativeCutSlopeEE");
80  loosephotonEcalIsoRelativeCutOffsetEE_ = conf.getParameter<double>("LoosePhotonEcalIsoRelativeCutOffsetEE");
81  loosephotonHcalTowerIsolationCutSlopeEE_ = conf.getParameter<double>("LoosePhotonHcalTowerIsoSlopeEE");
82  loosephotonHcalTowerIsolationCutOffsetEE_ = conf.getParameter<double>("LoosePhotonHcalTowerIsoOffsetEE");
83  loosephotonHollowConeTrkIsolationSlopeEE_ = conf.getParameter<double>("LoosePhotonHollowTrkSlopeEE");
84  loosephotonHollowConeTrkIsolationOffsetEE_ = conf.getParameter<double>("LoosePhotonHollowTrkOffsetEE");
85  loosephotonSolidConeTrkIsolationSlopeEE_ = conf.getParameter<double>("LoosePhotonSolidTrkSlopeEE");
86  loosephotonSolidConeTrkIsolationOffsetEE_ = conf.getParameter<double>("LoosePhotonSolidTrkOffsetEE");
87  loosephotonSolidConeTrkIsolationCutEE_ = conf.getParameter<double>("LoosePhotonSolidTrkEE");
88  loosephotonSolidConeNTrkCutEE_ = conf.getParameter<int>("LoosePhotonSolidNTrkEE");
89  loosephotonHollowConeNTrkCutEE_ = conf.getParameter<int>("LoosePhotonHollowNTrkEE");
90  loosephotonEtaWidthCutEE_ = conf.getParameter<double>("LoosePhotonEtaWidthEE");
91  loosephotonHadOverEMCutEE_ = conf.getParameter<double>("LoosePhotonHadOverEMEE");
92  loosephotonR9CutEE_ = conf.getParameter<double>("LoosePhotonR9CutEE");
93 
94  tightphotonEcalIsoRelativeCutSlopeEE_ = conf.getParameter<double>("TightPhotonEcalIsoRelativeCutSlopeEE");
95  tightphotonEcalIsoRelativeCutOffsetEE_ = conf.getParameter<double>("TightPhotonEcalIsoRelativeCutOffsetEE");
96  tightphotonHcalTowerIsolationCutSlopeEE_ = conf.getParameter<double>("TightPhotonHcalTowerIsoSlopeEE");
97  tightphotonHcalTowerIsolationCutOffsetEE_ = conf.getParameter<double>("TightPhotonHcalTowerIsoOffsetEE");
98  tightphotonHollowConeTrkIsolationSlopeEE_ = conf.getParameter<double>("TightPhotonHollowTrkSlopeEE");
99  tightphotonHollowConeTrkIsolationOffsetEE_ = conf.getParameter<double>("TightPhotonHollowTrkOffsetEE");
100  tightphotonSolidConeTrkIsolationSlopeEE_ = conf.getParameter<double>("TightPhotonSolidTrkSlopeEE");
101  tightphotonSolidConeTrkIsolationOffsetEE_ = conf.getParameter<double>("TightPhotonSolidTrkOffsetEE");
102  tightphotonSolidConeNTrkCutEE_ = conf.getParameter<int>("TightPhotonSolidNTrkEE");
103  tightphotonHollowConeNTrkCutEE_ = conf.getParameter<int>("TightPhotonHollowNTrkEE");
104  tightphotonEtaWidthCutEE_ = conf.getParameter<double>("TightPhotonEtaWidthEE");
105  tightphotonHadOverEMCutEE_ = conf.getParameter<double>("TightPhotonHadOverEMEE");
106  tightphotonR9CutEE_ = conf.getParameter<double>("TightPhotonR9CutEE");
107 }

References dophotonEcalRecHitIsolationCut_, dophotonHadOverEMCut_, dophotonHcalTowerIsolationCut_, dophotonHCNTrkCut_, dophotonHCTrkIsolationCut_, dophotonR9Cut_, dophotonSCNTrkCut_, dophotonSCTrkIsolationCut_, dophotonsigmaeeCut_, dorequireFiducial_, edm::ParameterSet::getParameter(), looseEMEcalIsoRelativeCutOffsetEB_, looseEMEcalIsoRelativeCutOffsetEE_, looseEMEcalIsoRelativeCutSlopeEB_, looseEMEcalIsoRelativeCutSlopeEE_, looseEMEtaWidthCutEB_, looseEMEtaWidthCutEE_, looseEMHadOverEMCutEB_, looseEMHadOverEMCutEE_, looseEMHcalTowerIsolationCutOffsetEB_, looseEMHcalTowerIsolationCutOffsetEE_, looseEMHcalTowerIsolationCutSlopeEB_, looseEMHcalTowerIsolationCutSlopeEE_, looseEMHollowConeNTrkCutEB_, looseEMHollowConeNTrkCutEE_, looseEMHollowConeTrkIsolationOffsetEB_, looseEMHollowConeTrkIsolationOffsetEE_, looseEMHollowConeTrkIsolationSlopeEB_, looseEMHollowConeTrkIsolationSlopeEE_, looseEMR9CutEB_, looseEMR9CutEE_, looseEMSolidConeNTrkCutEB_, looseEMSolidConeNTrkCutEE_, looseEMSolidConeTrkIsolationCutEB_, looseEMSolidConeTrkIsolationCutEE_, looseEMSolidConeTrkIsolationOffsetEB_, looseEMSolidConeTrkIsolationOffsetEE_, looseEMSolidConeTrkIsolationSlopeEB_, looseEMSolidConeTrkIsolationSlopeEE_, loosephotonEcalIsoRelativeCutOffsetEB_, loosephotonEcalIsoRelativeCutOffsetEE_, loosephotonEcalIsoRelativeCutSlopeEB_, loosephotonEcalIsoRelativeCutSlopeEE_, loosephotonEtaWidthCutEB_, loosephotonEtaWidthCutEE_, loosephotonHadOverEMCutEB_, loosephotonHadOverEMCutEE_, loosephotonHcalTowerIsolationCutOffsetEB_, loosephotonHcalTowerIsolationCutOffsetEE_, loosephotonHcalTowerIsolationCutSlopeEB_, loosephotonHcalTowerIsolationCutSlopeEE_, loosephotonHollowConeNTrkCutEB_, loosephotonHollowConeNTrkCutEE_, loosephotonHollowConeTrkIsolationOffsetEB_, loosephotonHollowConeTrkIsolationOffsetEE_, loosephotonHollowConeTrkIsolationSlopeEB_, loosephotonHollowConeTrkIsolationSlopeEE_, loosephotonR9CutEB_, loosephotonR9CutEE_, loosephotonSolidConeNTrkCutEB_, loosephotonSolidConeNTrkCutEE_, loosephotonSolidConeTrkIsolationCutEB_, loosephotonSolidConeTrkIsolationCutEE_, loosephotonSolidConeTrkIsolationOffsetEB_, loosephotonSolidConeTrkIsolationOffsetEE_, loosephotonSolidConeTrkIsolationSlopeEB_, loosephotonSolidConeTrkIsolationSlopeEE_, tightphotonEcalIsoRelativeCutOffsetEB_, tightphotonEcalIsoRelativeCutOffsetEE_, tightphotonEcalIsoRelativeCutSlopeEB_, tightphotonEcalIsoRelativeCutSlopeEE_, tightphotonEtaWidthCutEB_, tightphotonEtaWidthCutEE_, tightphotonHadOverEMCutEB_, tightphotonHadOverEMCutEE_, tightphotonHcalTowerIsolationCutOffsetEB_, tightphotonHcalTowerIsolationCutOffsetEE_, tightphotonHcalTowerIsolationCutSlopeEB_, tightphotonHcalTowerIsolationCutSlopeEE_, tightphotonHollowConeNTrkCutEB_, tightphotonHollowConeNTrkCutEE_, tightphotonHollowConeTrkIsolationOffsetEB_, tightphotonHollowConeTrkIsolationOffsetEE_, tightphotonHollowConeTrkIsolationSlopeEB_, tightphotonHollowConeTrkIsolationSlopeEE_, tightphotonR9CutEB_, tightphotonR9CutEE_, tightphotonSolidConeNTrkCutEB_, tightphotonSolidConeNTrkCutEE_, tightphotonSolidConeTrkIsolationOffsetEB_, tightphotonSolidConeTrkIsolationOffsetEE_, tightphotonSolidConeTrkIsolationSlopeEB_, and tightphotonSolidConeTrkIsolationSlopeEE_.

Referenced by PhotonIDProducer::PhotonIDProducer().

Member Data Documentation

◆ dophotonEcalRecHitIsolationCut_

bool CutBasedPhotonIDAlgo::dophotonEcalRecHitIsolationCut_
private

Definition at line 22 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), decideEE(), and setup().

◆ dophotonHadOverEMCut_

bool CutBasedPhotonIDAlgo::dophotonHadOverEMCut_
private

Definition at line 29 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), decideEE(), and setup().

◆ dophotonHcalTowerIsolationCut_

bool CutBasedPhotonIDAlgo::dophotonHcalTowerIsolationCut_
private

Definition at line 23 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), decideEE(), and setup().

◆ dophotonHCNTrkCut_

bool CutBasedPhotonIDAlgo::dophotonHCNTrkCut_
private

Definition at line 26 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), decideEE(), and setup().

◆ dophotonHCTrkIsolationCut_

bool CutBasedPhotonIDAlgo::dophotonHCTrkIsolationCut_
private

Definition at line 24 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), decideEE(), and setup().

◆ dophotonR9Cut_

bool CutBasedPhotonIDAlgo::dophotonR9Cut_
private

Definition at line 31 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), decideEE(), and setup().

◆ dophotonSCNTrkCut_

bool CutBasedPhotonIDAlgo::dophotonSCNTrkCut_
private

Definition at line 27 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), decideEE(), and setup().

◆ dophotonSCTrkIsolationCut_

bool CutBasedPhotonIDAlgo::dophotonSCTrkIsolationCut_
private

Definition at line 25 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), decideEE(), and setup().

◆ dophotonsigmaeeCut_

bool CutBasedPhotonIDAlgo::dophotonsigmaeeCut_
private

Definition at line 30 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), decideEE(), and setup().

◆ dorequireFiducial_

bool CutBasedPhotonIDAlgo::dorequireFiducial_
private

Definition at line 28 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), decideEE(), and setup().

◆ looseEMEcalIsoRelativeCutOffsetEB_

double CutBasedPhotonIDAlgo::looseEMEcalIsoRelativeCutOffsetEB_
private

Definition at line 34 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ looseEMEcalIsoRelativeCutOffsetEE_

double CutBasedPhotonIDAlgo::looseEMEcalIsoRelativeCutOffsetEE_
private

Definition at line 79 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ looseEMEcalIsoRelativeCutSlopeEB_

double CutBasedPhotonIDAlgo::looseEMEcalIsoRelativeCutSlopeEB_
private

Definition at line 33 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ looseEMEcalIsoRelativeCutSlopeEE_

double CutBasedPhotonIDAlgo::looseEMEcalIsoRelativeCutSlopeEE_
private

Definition at line 78 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ looseEMEtaWidthCutEB_

double CutBasedPhotonIDAlgo::looseEMEtaWidthCutEB_
private

Definition at line 44 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ looseEMEtaWidthCutEE_

double CutBasedPhotonIDAlgo::looseEMEtaWidthCutEE_
private

Definition at line 89 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ looseEMHadOverEMCutEB_

double CutBasedPhotonIDAlgo::looseEMHadOverEMCutEB_
private

Definition at line 45 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ looseEMHadOverEMCutEE_

double CutBasedPhotonIDAlgo::looseEMHadOverEMCutEE_
private

Definition at line 90 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ looseEMHcalTowerIsolationCutOffsetEB_

double CutBasedPhotonIDAlgo::looseEMHcalTowerIsolationCutOffsetEB_
private

Definition at line 36 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ looseEMHcalTowerIsolationCutOffsetEE_

double CutBasedPhotonIDAlgo::looseEMHcalTowerIsolationCutOffsetEE_
private

Definition at line 81 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ looseEMHcalTowerIsolationCutSlopeEB_

double CutBasedPhotonIDAlgo::looseEMHcalTowerIsolationCutSlopeEB_
private

Definition at line 35 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ looseEMHcalTowerIsolationCutSlopeEE_

double CutBasedPhotonIDAlgo::looseEMHcalTowerIsolationCutSlopeEE_
private

Definition at line 80 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ looseEMHollowConeNTrkCutEB_

int CutBasedPhotonIDAlgo::looseEMHollowConeNTrkCutEB_
private

Definition at line 43 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ looseEMHollowConeNTrkCutEE_

int CutBasedPhotonIDAlgo::looseEMHollowConeNTrkCutEE_
private

Definition at line 88 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ looseEMHollowConeTrkIsolationOffsetEB_

double CutBasedPhotonIDAlgo::looseEMHollowConeTrkIsolationOffsetEB_
private

Definition at line 38 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ looseEMHollowConeTrkIsolationOffsetEE_

double CutBasedPhotonIDAlgo::looseEMHollowConeTrkIsolationOffsetEE_
private

Definition at line 83 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ looseEMHollowConeTrkIsolationSlopeEB_

double CutBasedPhotonIDAlgo::looseEMHollowConeTrkIsolationSlopeEB_
private

Definition at line 37 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ looseEMHollowConeTrkIsolationSlopeEE_

double CutBasedPhotonIDAlgo::looseEMHollowConeTrkIsolationSlopeEE_
private

Definition at line 82 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ looseEMR9CutEB_

double CutBasedPhotonIDAlgo::looseEMR9CutEB_
private

Definition at line 46 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ looseEMR9CutEE_

double CutBasedPhotonIDAlgo::looseEMR9CutEE_
private

Definition at line 91 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ looseEMSolidConeNTrkCutEB_

int CutBasedPhotonIDAlgo::looseEMSolidConeNTrkCutEB_
private

Definition at line 42 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ looseEMSolidConeNTrkCutEE_

int CutBasedPhotonIDAlgo::looseEMSolidConeNTrkCutEE_
private

Definition at line 87 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ looseEMSolidConeTrkIsolationCutEB_

double CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationCutEB_
private

Definition at line 41 of file CutBasedPhotonIDAlgo.h.

Referenced by setup().

◆ looseEMSolidConeTrkIsolationCutEE_

double CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationCutEE_
private

Definition at line 86 of file CutBasedPhotonIDAlgo.h.

Referenced by setup().

◆ looseEMSolidConeTrkIsolationOffsetEB_

double CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationOffsetEB_
private

Definition at line 40 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ looseEMSolidConeTrkIsolationOffsetEE_

double CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationOffsetEE_
private

Definition at line 85 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ looseEMSolidConeTrkIsolationSlopeEB_

double CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationSlopeEB_
private

Definition at line 39 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ looseEMSolidConeTrkIsolationSlopeEE_

double CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationSlopeEE_
private

Definition at line 84 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ loosephotonEcalIsoRelativeCutOffsetEB_

double CutBasedPhotonIDAlgo::loosephotonEcalIsoRelativeCutOffsetEB_
private

Definition at line 49 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ loosephotonEcalIsoRelativeCutOffsetEE_

double CutBasedPhotonIDAlgo::loosephotonEcalIsoRelativeCutOffsetEE_
private

Definition at line 94 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ loosephotonEcalIsoRelativeCutSlopeEB_

double CutBasedPhotonIDAlgo::loosephotonEcalIsoRelativeCutSlopeEB_
private

Definition at line 48 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ loosephotonEcalIsoRelativeCutSlopeEE_

double CutBasedPhotonIDAlgo::loosephotonEcalIsoRelativeCutSlopeEE_
private

Definition at line 93 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ loosephotonEtaWidthCutEB_

double CutBasedPhotonIDAlgo::loosephotonEtaWidthCutEB_
private

Definition at line 59 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ loosephotonEtaWidthCutEE_

double CutBasedPhotonIDAlgo::loosephotonEtaWidthCutEE_
private

Definition at line 104 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ loosephotonHadOverEMCutEB_

double CutBasedPhotonIDAlgo::loosephotonHadOverEMCutEB_
private

Definition at line 60 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ loosephotonHadOverEMCutEE_

double CutBasedPhotonIDAlgo::loosephotonHadOverEMCutEE_
private

Definition at line 105 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ loosephotonHcalTowerIsolationCutOffsetEB_

double CutBasedPhotonIDAlgo::loosephotonHcalTowerIsolationCutOffsetEB_
private

Definition at line 51 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ loosephotonHcalTowerIsolationCutOffsetEE_

double CutBasedPhotonIDAlgo::loosephotonHcalTowerIsolationCutOffsetEE_
private

Definition at line 96 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ loosephotonHcalTowerIsolationCutSlopeEB_

double CutBasedPhotonIDAlgo::loosephotonHcalTowerIsolationCutSlopeEB_
private

Definition at line 50 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ loosephotonHcalTowerIsolationCutSlopeEE_

double CutBasedPhotonIDAlgo::loosephotonHcalTowerIsolationCutSlopeEE_
private

Definition at line 95 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ loosephotonHollowConeNTrkCutEB_

int CutBasedPhotonIDAlgo::loosephotonHollowConeNTrkCutEB_
private

Definition at line 58 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ loosephotonHollowConeNTrkCutEE_

int CutBasedPhotonIDAlgo::loosephotonHollowConeNTrkCutEE_
private

Definition at line 103 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ loosephotonHollowConeTrkIsolationOffsetEB_

double CutBasedPhotonIDAlgo::loosephotonHollowConeTrkIsolationOffsetEB_
private

Definition at line 53 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ loosephotonHollowConeTrkIsolationOffsetEE_

double CutBasedPhotonIDAlgo::loosephotonHollowConeTrkIsolationOffsetEE_
private

Definition at line 98 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ loosephotonHollowConeTrkIsolationSlopeEB_

double CutBasedPhotonIDAlgo::loosephotonHollowConeTrkIsolationSlopeEB_
private

Definition at line 52 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ loosephotonHollowConeTrkIsolationSlopeEE_

double CutBasedPhotonIDAlgo::loosephotonHollowConeTrkIsolationSlopeEE_
private

Definition at line 97 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ loosephotonR9CutEB_

double CutBasedPhotonIDAlgo::loosephotonR9CutEB_
private

Definition at line 61 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ loosephotonR9CutEE_

double CutBasedPhotonIDAlgo::loosephotonR9CutEE_
private

Definition at line 106 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ loosephotonSolidConeNTrkCutEB_

int CutBasedPhotonIDAlgo::loosephotonSolidConeNTrkCutEB_
private

Definition at line 57 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ loosephotonSolidConeNTrkCutEE_

int CutBasedPhotonIDAlgo::loosephotonSolidConeNTrkCutEE_
private

Definition at line 102 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ loosephotonSolidConeTrkIsolationCutEB_

double CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationCutEB_
private

Definition at line 56 of file CutBasedPhotonIDAlgo.h.

Referenced by setup().

◆ loosephotonSolidConeTrkIsolationCutEE_

double CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationCutEE_
private

Definition at line 101 of file CutBasedPhotonIDAlgo.h.

Referenced by setup().

◆ loosephotonSolidConeTrkIsolationOffsetEB_

double CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationOffsetEB_
private

Definition at line 55 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ loosephotonSolidConeTrkIsolationOffsetEE_

double CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationOffsetEE_
private

Definition at line 100 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ loosephotonSolidConeTrkIsolationSlopeEB_

double CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationSlopeEB_
private

Definition at line 54 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ loosephotonSolidConeTrkIsolationSlopeEE_

double CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationSlopeEE_
private

Definition at line 99 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ tightphotonEcalIsoRelativeCutOffsetEB_

double CutBasedPhotonIDAlgo::tightphotonEcalIsoRelativeCutOffsetEB_
private

Definition at line 64 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ tightphotonEcalIsoRelativeCutOffsetEE_

double CutBasedPhotonIDAlgo::tightphotonEcalIsoRelativeCutOffsetEE_
private

Definition at line 109 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ tightphotonEcalIsoRelativeCutSlopeEB_

double CutBasedPhotonIDAlgo::tightphotonEcalIsoRelativeCutSlopeEB_
private

Definition at line 63 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ tightphotonEcalIsoRelativeCutSlopeEE_

double CutBasedPhotonIDAlgo::tightphotonEcalIsoRelativeCutSlopeEE_
private

Definition at line 108 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ tightphotonEtaWidthCutEB_

double CutBasedPhotonIDAlgo::tightphotonEtaWidthCutEB_
private

Definition at line 74 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ tightphotonEtaWidthCutEE_

double CutBasedPhotonIDAlgo::tightphotonEtaWidthCutEE_
private

Definition at line 119 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ tightphotonHadOverEMCutEB_

double CutBasedPhotonIDAlgo::tightphotonHadOverEMCutEB_
private

Definition at line 75 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ tightphotonHadOverEMCutEE_

double CutBasedPhotonIDAlgo::tightphotonHadOverEMCutEE_
private

Definition at line 120 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ tightphotonHcalTowerIsolationCutOffsetEB_

double CutBasedPhotonIDAlgo::tightphotonHcalTowerIsolationCutOffsetEB_
private

Definition at line 66 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ tightphotonHcalTowerIsolationCutOffsetEE_

double CutBasedPhotonIDAlgo::tightphotonHcalTowerIsolationCutOffsetEE_
private

Definition at line 111 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ tightphotonHcalTowerIsolationCutSlopeEB_

double CutBasedPhotonIDAlgo::tightphotonHcalTowerIsolationCutSlopeEB_
private

Definition at line 65 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ tightphotonHcalTowerIsolationCutSlopeEE_

double CutBasedPhotonIDAlgo::tightphotonHcalTowerIsolationCutSlopeEE_
private

Definition at line 110 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ tightphotonHollowConeNTrkCutEB_

int CutBasedPhotonIDAlgo::tightphotonHollowConeNTrkCutEB_
private

Definition at line 73 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ tightphotonHollowConeNTrkCutEE_

int CutBasedPhotonIDAlgo::tightphotonHollowConeNTrkCutEE_
private

Definition at line 118 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ tightphotonHollowConeTrkIsolationOffsetEB_

double CutBasedPhotonIDAlgo::tightphotonHollowConeTrkIsolationOffsetEB_
private

Definition at line 68 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ tightphotonHollowConeTrkIsolationOffsetEE_

double CutBasedPhotonIDAlgo::tightphotonHollowConeTrkIsolationOffsetEE_
private

Definition at line 113 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ tightphotonHollowConeTrkIsolationSlopeEB_

double CutBasedPhotonIDAlgo::tightphotonHollowConeTrkIsolationSlopeEB_
private

Definition at line 67 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ tightphotonHollowConeTrkIsolationSlopeEE_

double CutBasedPhotonIDAlgo::tightphotonHollowConeTrkIsolationSlopeEE_
private

Definition at line 112 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ tightphotonR9CutEB_

double CutBasedPhotonIDAlgo::tightphotonR9CutEB_
private

Definition at line 76 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ tightphotonR9CutEE_

double CutBasedPhotonIDAlgo::tightphotonR9CutEE_
private

Definition at line 121 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ tightphotonSolidConeNTrkCutEB_

int CutBasedPhotonIDAlgo::tightphotonSolidConeNTrkCutEB_
private

Definition at line 72 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ tightphotonSolidConeNTrkCutEE_

int CutBasedPhotonIDAlgo::tightphotonSolidConeNTrkCutEE_
private

Definition at line 117 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ tightphotonSolidConeTrkIsolationCutEB_

double CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationCutEB_
private

Definition at line 71 of file CutBasedPhotonIDAlgo.h.

◆ tightphotonSolidConeTrkIsolationCutEE_

double CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationCutEE_
private

Definition at line 116 of file CutBasedPhotonIDAlgo.h.

◆ tightphotonSolidConeTrkIsolationOffsetEB_

double CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationOffsetEB_
private

Definition at line 70 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ tightphotonSolidConeTrkIsolationOffsetEE_

double CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationOffsetEE_
private

Definition at line 115 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

◆ tightphotonSolidConeTrkIsolationSlopeEB_

double CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationSlopeEB_
private

Definition at line 69 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEB(), and setup().

◆ tightphotonSolidConeTrkIsolationSlopeEE_

double CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationSlopeEE_
private

Definition at line 114 of file CutBasedPhotonIDAlgo.h.

Referenced by decideEE(), and setup().

CutBasedPhotonIDAlgo::loosephotonHadOverEMCutEE_
double loosephotonHadOverEMCutEE_
Definition: CutBasedPhotonIDAlgo.h:105
reco::Photon::hadronicOverEm
float hadronicOverEm(int depth=0) const
Definition: Photon.h:233
reco::Photon::isEBPhiGap
bool isEBPhiGap() const
Definition: Photon.h:126
CutBasedPhotonIDAlgo::tightphotonR9CutEE_
double tightphotonR9CutEE_
Definition: CutBasedPhotonIDAlgo.h:121
CutBasedPhotonIDAlgo::loosephotonHollowConeNTrkCutEE_
int loosephotonHollowConeNTrkCutEE_
Definition: CutBasedPhotonIDAlgo.h:103
CutBasedPhotonIDAlgo::dophotonHcalTowerIsolationCut_
bool dophotonHcalTowerIsolationCut_
Definition: CutBasedPhotonIDAlgo.h:23
CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationOffsetEB_
double loosephotonSolidConeTrkIsolationOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:55
CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationOffsetEB_
double tightphotonSolidConeTrkIsolationOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:70
CutBasedPhotonIDAlgo::looseEMHcalTowerIsolationCutOffsetEB_
double looseEMHcalTowerIsolationCutOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:36
CutBasedPhotonIDAlgo::tightphotonEtaWidthCutEE_
double tightphotonEtaWidthCutEE_
Definition: CutBasedPhotonIDAlgo.h:119
CutBasedPhotonIDAlgo::loosephotonHollowConeTrkIsolationOffsetEE_
double loosephotonHollowConeTrkIsolationOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:98
reco::Photon::sigmaIetaIeta
float sigmaIetaIeta() const
Definition: Photon.h:270
CutBasedPhotonIDAlgo::loosephotonHollowConeTrkIsolationSlopeEB_
double loosephotonHollowConeTrkIsolationSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:52
CutBasedPhotonIDAlgo::looseEMEcalIsoRelativeCutOffsetEB_
double looseEMEcalIsoRelativeCutOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:34
CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationOffsetEE_
double looseEMSolidConeTrkIsolationOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:85
CutBasedPhotonIDAlgo::tightphotonHcalTowerIsolationCutSlopeEE_
double tightphotonHcalTowerIsolationCutSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:110
CutBasedPhotonIDAlgo::tightphotonHollowConeNTrkCutEE_
int tightphotonHollowConeNTrkCutEE_
Definition: CutBasedPhotonIDAlgo.h:118
CutBasedPhotonIDAlgo::tightphotonHcalTowerIsolationCutSlopeEB_
double tightphotonHcalTowerIsolationCutSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:65
CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationCutEE_
double looseEMSolidConeTrkIsolationCutEE_
Definition: CutBasedPhotonIDAlgo.h:86
CutBasedPhotonIDAlgo::tightphotonEcalIsoRelativeCutOffsetEE_
double tightphotonEcalIsoRelativeCutOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:109
CutBasedPhotonIDAlgo::looseEMR9CutEE_
double looseEMR9CutEE_
Definition: CutBasedPhotonIDAlgo.h:91
reco::Photon::isEERingGap
bool isEERingGap() const
Definition: Photon.h:129
CutBasedPhotonIDAlgo::loosephotonHcalTowerIsolationCutSlopeEE_
double loosephotonHcalTowerIsolationCutSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:95
CutBasedPhotonIDAlgo::tightphotonHollowConeTrkIsolationSlopeEE_
double tightphotonHollowConeTrkIsolationSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:112
CutBasedPhotonIDAlgo::looseEMEcalIsoRelativeCutSlopeEB_
double looseEMEcalIsoRelativeCutSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:33
CutBasedPhotonIDAlgo::looseEMHcalTowerIsolationCutOffsetEE_
double looseEMHcalTowerIsolationCutOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:81
CutBasedPhotonIDAlgo::dorequireFiducial_
bool dorequireFiducial_
Definition: CutBasedPhotonIDAlgo.h:28
CutBasedPhotonIDAlgo::loosephotonHcalTowerIsolationCutOffsetEB_
double loosephotonHcalTowerIsolationCutOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:51
CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationOffsetEE_
double loosephotonSolidConeTrkIsolationOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:100
reco::Photon::hcalTowerSumEtConeDR04
float hcalTowerSumEtConeDR04(int depth=0) const
Definition: Photon.h:472
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
CutBasedPhotonIDAlgo::tightphotonHadOverEMCutEE_
double tightphotonHadOverEMCutEE_
Definition: CutBasedPhotonIDAlgo.h:120
CutBasedPhotonIDAlgo::loosephotonEcalIsoRelativeCutOffsetEE_
double loosephotonEcalIsoRelativeCutOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:94
reco::Photon::trkSumPtHollowConeDR04
float trkSumPtHollowConeDR04() const
Definition: Photon.h:494
CutBasedPhotonIDAlgo::dophotonHCNTrkCut_
bool dophotonHCNTrkCut_
Definition: CutBasedPhotonIDAlgo.h:26
CutBasedPhotonIDAlgo::looseEMHollowConeTrkIsolationSlopeEB_
double looseEMHollowConeTrkIsolationSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:37
CutBasedPhotonIDAlgo::dophotonSCNTrkCut_
bool dophotonSCNTrkCut_
Definition: CutBasedPhotonIDAlgo.h:27
CutBasedPhotonIDAlgo::loosephotonHollowConeTrkIsolationOffsetEB_
double loosephotonHollowConeTrkIsolationOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:53
CutBasedPhotonIDAlgo::dophotonR9Cut_
bool dophotonR9Cut_
Definition: CutBasedPhotonIDAlgo.h:31
CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationCutEB_
double loosephotonSolidConeTrkIsolationCutEB_
Definition: CutBasedPhotonIDAlgo.h:56
CutBasedPhotonIDAlgo::tightphotonEtaWidthCutEB_
double tightphotonEtaWidthCutEB_
Definition: CutBasedPhotonIDAlgo.h:74
CutBasedPhotonIDAlgo::tightphotonHollowConeTrkIsolationSlopeEB_
double tightphotonHollowConeTrkIsolationSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:67
CutBasedPhotonIDAlgo::looseEMSolidConeNTrkCutEB_
int looseEMSolidConeNTrkCutEB_
Definition: CutBasedPhotonIDAlgo.h:42
CutBasedPhotonIDAlgo::looseEMHollowConeTrkIsolationSlopeEE_
double looseEMHollowConeTrkIsolationSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:82
CutBasedPhotonIDAlgo::tightphotonHcalTowerIsolationCutOffsetEE_
double tightphotonHcalTowerIsolationCutOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:111
reco::Photon::nTrkSolidConeDR04
int nTrkSolidConeDR04() const
Definition: Photon.h:496
reco::Photon::nTrkHollowConeDR04
int nTrkHollowConeDR04() const
Definition: Photon.h:498
CutBasedPhotonIDAlgo::looseEMHadOverEMCutEE_
double looseEMHadOverEMCutEE_
Definition: CutBasedPhotonIDAlgo.h:90
CutBasedPhotonIDAlgo::dophotonHadOverEMCut_
bool dophotonHadOverEMCut_
Definition: CutBasedPhotonIDAlgo.h:29
CutBasedPhotonIDAlgo::tightphotonSolidConeNTrkCutEB_
int tightphotonSolidConeNTrkCutEB_
Definition: CutBasedPhotonIDAlgo.h:72
CutBasedPhotonIDAlgo::loosephotonR9CutEB_
double loosephotonR9CutEB_
Definition: CutBasedPhotonIDAlgo.h:61
CutBasedPhotonIDAlgo::tightphotonR9CutEB_
double tightphotonR9CutEB_
Definition: CutBasedPhotonIDAlgo.h:76
CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationOffsetEB_
double looseEMSolidConeTrkIsolationOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:40
reco::Photon::isEBEtaGap
bool isEBEtaGap() const
Definition: Photon.h:125
CutBasedPhotonIDAlgo::loosephotonHcalTowerIsolationCutOffsetEE_
double loosephotonHcalTowerIsolationCutOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:96
CutBasedPhotonIDAlgo::loosephotonHadOverEMCutEB_
double loosephotonHadOverEMCutEB_
Definition: CutBasedPhotonIDAlgo.h:60
CutBasedPhotonIDAlgo::looseEMSolidConeNTrkCutEE_
int looseEMSolidConeNTrkCutEE_
Definition: CutBasedPhotonIDAlgo.h:87
CutBasedPhotonIDAlgo::dophotonEcalRecHitIsolationCut_
bool dophotonEcalRecHitIsolationCut_
Definition: CutBasedPhotonIDAlgo.h:22
CutBasedPhotonIDAlgo::dophotonsigmaeeCut_
bool dophotonsigmaeeCut_
Definition: CutBasedPhotonIDAlgo.h:30
CutBasedPhotonIDAlgo::loosephotonEtaWidthCutEE_
double loosephotonEtaWidthCutEE_
Definition: CutBasedPhotonIDAlgo.h:104
CutBasedPhotonIDAlgo::looseEMHollowConeTrkIsolationOffsetEE_
double looseEMHollowConeTrkIsolationOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:83
CutBasedPhotonIDAlgo::loosephotonEcalIsoRelativeCutSlopeEB_
double loosephotonEcalIsoRelativeCutSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:48
CutBasedPhotonIDAlgo::looseEMEtaWidthCutEB_
double looseEMEtaWidthCutEB_
Definition: CutBasedPhotonIDAlgo.h:44
reco::Photon::r9
float r9() const
Definition: Photon.h:273
CutBasedPhotonIDAlgo::dophotonSCTrkIsolationCut_
bool dophotonSCTrkIsolationCut_
Definition: CutBasedPhotonIDAlgo.h:25
CutBasedPhotonIDAlgo::looseEMEcalIsoRelativeCutSlopeEE_
double looseEMEcalIsoRelativeCutSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:78
CutBasedPhotonIDAlgo::tightphotonHcalTowerIsolationCutOffsetEB_
double tightphotonHcalTowerIsolationCutOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:66
CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationSlopeEE_
double loosephotonSolidConeTrkIsolationSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:99
CutBasedPhotonIDAlgo::looseEMHcalTowerIsolationCutSlopeEE_
double looseEMHcalTowerIsolationCutSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:80
CutBasedPhotonIDAlgo::loosephotonEcalIsoRelativeCutOffsetEB_
double loosephotonEcalIsoRelativeCutOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:49
CutBasedPhotonIDAlgo::loosephotonHcalTowerIsolationCutSlopeEB_
double loosephotonHcalTowerIsolationCutSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:50
CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationSlopeEB_
double looseEMSolidConeTrkIsolationSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:39
CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationSlopeEB_
double tightphotonSolidConeTrkIsolationSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:69
CutBasedPhotonIDAlgo::tightphotonSolidConeNTrkCutEE_
int tightphotonSolidConeNTrkCutEE_
Definition: CutBasedPhotonIDAlgo.h:117
CutBasedPhotonIDAlgo::loosephotonHollowConeTrkIsolationSlopeEE_
double loosephotonHollowConeTrkIsolationSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:97
CutBasedPhotonIDAlgo::tightphotonEcalIsoRelativeCutOffsetEB_
double tightphotonEcalIsoRelativeCutOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:64
CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationOffsetEE_
double tightphotonSolidConeTrkIsolationOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:115
CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationCutEE_
double loosephotonSolidConeTrkIsolationCutEE_
Definition: CutBasedPhotonIDAlgo.h:101
CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationSlopeEE_
double looseEMSolidConeTrkIsolationSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:84
CutBasedPhotonIDAlgo::dophotonHCTrkIsolationCut_
bool dophotonHCTrkIsolationCut_
Definition: CutBasedPhotonIDAlgo.h:24
CutBasedPhotonIDAlgo::tightphotonEcalIsoRelativeCutSlopeEE_
double tightphotonEcalIsoRelativeCutSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:108
CutBasedPhotonIDAlgo::looseEMSolidConeTrkIsolationCutEB_
double looseEMSolidConeTrkIsolationCutEB_
Definition: CutBasedPhotonIDAlgo.h:41
CutBasedPhotonIDAlgo::loosephotonEcalIsoRelativeCutSlopeEE_
double loosephotonEcalIsoRelativeCutSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:93
CutBasedPhotonIDAlgo::tightphotonHollowConeTrkIsolationOffsetEE_
double tightphotonHollowConeTrkIsolationOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:113
CutBasedPhotonIDAlgo::loosephotonHollowConeNTrkCutEB_
int loosephotonHollowConeNTrkCutEB_
Definition: CutBasedPhotonIDAlgo.h:58
reco::Photon::trkSumPtSolidConeDR04
float trkSumPtSolidConeDR04() const
Definition: Photon.h:492
CutBasedPhotonIDAlgo::looseEMR9CutEB_
double looseEMR9CutEB_
Definition: CutBasedPhotonIDAlgo.h:46
reco::Photon::ecalRecHitSumEtConeDR04
float ecalRecHitSumEtConeDR04() const
Definition: Photon.h:454
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
CutBasedPhotonIDAlgo::tightphotonEcalIsoRelativeCutSlopeEB_
double tightphotonEcalIsoRelativeCutSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:63
CutBasedPhotonIDAlgo::looseEMHollowConeTrkIsolationOffsetEB_
double looseEMHollowConeTrkIsolationOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:38
CutBasedPhotonIDAlgo::looseEMHcalTowerIsolationCutSlopeEB_
double looseEMHcalTowerIsolationCutSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:35
reco::Photon::isEEDeeGap
bool isEEDeeGap() const
Definition: Photon.h:130
CutBasedPhotonIDAlgo::loosephotonEtaWidthCutEB_
double loosephotonEtaWidthCutEB_
Definition: CutBasedPhotonIDAlgo.h:59
CutBasedPhotonIDAlgo::looseEMHollowConeNTrkCutEE_
int looseEMHollowConeNTrkCutEE_
Definition: CutBasedPhotonIDAlgo.h:88
CutBasedPhotonIDAlgo::tightphotonHollowConeTrkIsolationOffsetEB_
double tightphotonHollowConeTrkIsolationOffsetEB_
Definition: CutBasedPhotonIDAlgo.h:68
CutBasedPhotonIDAlgo::tightphotonSolidConeTrkIsolationSlopeEE_
double tightphotonSolidConeTrkIsolationSlopeEE_
Definition: CutBasedPhotonIDAlgo.h:114
reco::Photon::isEBEEGap
bool isEBEEGap() const
true if photon is in boundary between EB and EE
Definition: Photon.h:132
CutBasedPhotonIDAlgo::tightphotonHollowConeNTrkCutEB_
int tightphotonHollowConeNTrkCutEB_
Definition: CutBasedPhotonIDAlgo.h:73
CutBasedPhotonIDAlgo::loosephotonSolidConeNTrkCutEB_
int loosephotonSolidConeNTrkCutEB_
Definition: CutBasedPhotonIDAlgo.h:57
CutBasedPhotonIDAlgo::looseEMEtaWidthCutEE_
double looseEMEtaWidthCutEE_
Definition: CutBasedPhotonIDAlgo.h:89
CutBasedPhotonIDAlgo::looseEMHadOverEMCutEB_
double looseEMHadOverEMCutEB_
Definition: CutBasedPhotonIDAlgo.h:45
CutBasedPhotonIDAlgo::looseEMHollowConeNTrkCutEB_
int looseEMHollowConeNTrkCutEB_
Definition: CutBasedPhotonIDAlgo.h:43
CutBasedPhotonIDAlgo::loosephotonSolidConeTrkIsolationSlopeEB_
double loosephotonSolidConeTrkIsolationSlopeEB_
Definition: CutBasedPhotonIDAlgo.h:54
CutBasedPhotonIDAlgo::looseEMEcalIsoRelativeCutOffsetEE_
double looseEMEcalIsoRelativeCutOffsetEE_
Definition: CutBasedPhotonIDAlgo.h:79
CutBasedPhotonIDAlgo::loosephotonR9CutEE_
double loosephotonR9CutEE_
Definition: CutBasedPhotonIDAlgo.h:106
CutBasedPhotonIDAlgo::tightphotonHadOverEMCutEB_
double tightphotonHadOverEMCutEB_
Definition: CutBasedPhotonIDAlgo.h:75
CutBasedPhotonIDAlgo::loosephotonSolidConeNTrkCutEE_
int loosephotonSolidConeNTrkCutEE_
Definition: CutBasedPhotonIDAlgo.h:102