ATLAS Offline Software
Loading...
Searching...
No Matches
egammaPIDdefs.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef _EGAMMAPIDDEFS_H
6#define _EGAMMAPIDDEFS_H
46
47#include <climits>
48
49namespace egammaPID {
50
87
88 //const double EgPidUndefined = -999.;
89 //const unsigned int EgPidUndefined = 0.;
90 const unsigned int EgPidUndefined = UINT_MAX;
91
159
202
203
204 //
205 // cut definition for electrons
206 //
208 const unsigned int HADLEAKETA_ELECTRON =
209 0x1u << ClusterEtaRange_Electron |
212 const unsigned int CALOSTRIPS_ELECTRON =
220 const unsigned int CALOSTRIPS_LOOSE_ELECTRON =
224 const unsigned int CALOMIDDLE_ELECTRON =
228 const unsigned int CALOBACK_ELECTRON =
231
233 const unsigned int CALORIMETRICISOLATION_ELECTRON =
235
238
240 const unsigned int TRACKINGNOBLAYER_ELECTRON =
241 0x1u << TrackPixel_Electron |
242 0x1u << TrackSi_Electron |
243 0x1u << TrackA0_Electron;
245 const unsigned int TRACKINGLOOSE_ELECTRON =
246 0x1u << TrackPixel_Electron |
247 0x1u << TrackSi_Electron;
249 const unsigned int TRACKING_ELECTRON =
251 0x1u << TrackBlayer_Electron;
253 const unsigned int TRACKMATCHDETA_ELECTRON =
256 const unsigned int TRACKMATCHNOEOVERP_ELECTRON =
257 0x1u << TrackMatchEta_Electron |
260 const unsigned int TRACKMATCH_ELECTRON =
261 0x1u << TrackMatchEta_Electron |
262 0x1u << TrackMatchPhi_Electron |
265 const unsigned int TRACKMATCHTIGHT_ELECTRON =
267 0x1u << TrackA0Tight_Electron;
269 const unsigned int TRACKMATCHDETATIGHT_ELECTRON =
272 const unsigned int CONVMATCH_ELECTRON =
274
276 const unsigned int TRT_ELECTRON =
277 0x1u << TrackTRThits_Electron |
278 0x1u << TrackTRTratio_Electron |
280
282 const unsigned int TRT_RATIO_ELECTRON =
284
286 const unsigned int TRT_EPROB_ELECTRON =
288
290 const unsigned int TRACKINGISOLATION_ELECTRON =
293 const unsigned int ISOLATION_ELECTRON =
294 0x1u << Isolation_Electron ;
296 const unsigned int CALOTRACKISOLATION_ELECTRON =
298
300 const unsigned int ALLNOTRT_ELECTRON =
303 const unsigned int ALL_ELECTRON =
305
307 // new ++ menus
308 //
310 const unsigned int ElectronLoosePP =
313
315 const unsigned int ElectronLoosePPIso =
318
320 const unsigned int ElectronMediumPP =
327
329 const unsigned int ElectronMediumPPIso =
332
334 const unsigned int ElectronTightPP =
341
343 const unsigned int ElectronTightPPIso =
347 // definitions as in 16.6, but with outliers
349 const unsigned int ElectronLoose =
352 const unsigned int ElectronLooseIso =
363 const unsigned int ElectronMedium_WithTrackMatch =
379 0x1u << TrackA0Tight_Electron |
382
388 0x1u << TrackA0Tight_Electron |
390
395
397 const unsigned int ElectronTight_WithTrackMatch =
400
405
410
417
425 0x1u << TrackA0Tight_Electron |
428
439
444
449
450
453 const unsigned int CALOMIDDLE_ELECTRON_HLT =
456
457
459 const unsigned int CALO_ELECTRON_HLT =
464
468 const unsigned int TRACKMATCH_ELECTRON_EF = 0x1u << TrackMatchEta_Electron |
472
474
476 // Add Rphi to Calo selection
477 const unsigned int ElectronLoose1 =
480
482 // Add Rphi to Calo selection and CALOBACK
483 const unsigned int ElectronMedium1 =
489
491 const unsigned int ElectronTight1 =
500
502 // Add Rphi to Calo selection
503 const unsigned int ElectronLooseHLT =
507 // Add Rphi to Calo selection and CALOBACK
508 const unsigned int ElectronMediumHLT =
515
517 // Add Rphi to Calo selection and CALOBACK
518 const unsigned int ElectronTightHLT =
524 //
525 // for photon selection
526 //
528 const unsigned int HADLEAKETA_PHOTON =
529 0x1u << ClusterEtaRange_Photon |
532 const unsigned int CALOMIDDLE_PHOTON =
538 const unsigned int CALOSTRIPS_PHOTONTIGHT =
546
548 const unsigned int CALOSTRIPS_PHOTONMEDIUM =
550
552 const unsigned int CALORIMETRICISOLATION_PHOTON =
554
556 const unsigned int TRACKINGISOLATION_PHOTON =
557 0x1u << TrackIsolation_Photon;
559 const unsigned int ISOLATION_PHOTON =
560 0x1u << Isolation_Photon ;
562 const unsigned int CALOTRACKISOLATION_PHOTON =
565 const unsigned int TRACKMATCH_PHOTON =
568 const unsigned int AMBIGUITYRESOLVE_PHOTON =
571 // Added for Trigger
573 const unsigned int HADLEAKETA_PHOTON_EF =
574 0x1u << ClusterEtaRange_Photon |
576
578 const unsigned int CALO_PHOTON_RETA_WETA2_ERATIO =
579 0x1u << ClusterEtaRange_Photon |
584
612 // Added for 2g20_medium
615
633
634//
635 // cut definition for Forw electrons
636 //
638 const unsigned int ID_ForwardElectron =
639 0x1u << BinEta_ForwardElectron |
646
647 const unsigned int ForwardElectronTight = 126;
648 const unsigned int ForwardElectronLoose = 104;
649
650}
651
652
653#endif // EGAMMAREC_EGAMMAPIDDEFS_H
654
const unsigned int ElectronMediumHLT
Medium 2014 tunes electron selecton.
const unsigned int PhotonLooseEF
TrigEgamma Pid Definitions.
const unsigned int ForwardElectronTight
const unsigned int TRACKMATCH_PHOTON
Track cluster matching E/p for photons.
const unsigned int PhotonMediumAR
Medium photon selection with Ambiguity revolver.
const unsigned int TRACKINGLOOSE_ELECTRON
Track quality cuts except b-layer for electrons.
const unsigned int ElectronTight_NoConvCut
Tight without conversion requirement.
const unsigned int ElectronLoose1
Electron trigger PID definitions.
const unsigned int CALOMIDDLE_ELECTRON_HLT
trigger specfic definitions
const unsigned int ElectronMediumIso_WithoutTrackMatch
Medium electron selection without deta match with isolation requirement.
const unsigned int HADLEAKETA_ELECTRON
cuts of hadronic leakage
const unsigned int TRACKMATCHTIGHT_ELECTRON
Tight Track cluster matching.
const unsigned int ALLNOTRT_ELECTRON
all cuts except TRT for electrons
const unsigned int HADLEAKETA_PHOTON_EF
bit definitions for Photon triggers
const unsigned int ElectronTight_WithTrackMatch_NoConvCut
Tight with track match without conversion requirement.
const unsigned int TRACKMATCHDETATIGHT_ELECTRON
Track cluster matching in eta tight for electrons.
const unsigned int PhotonTightARIso
Tight photon selection with isolation and Ambiguity resolver.
const unsigned int TRT_EPROB_ELECTRON
TR PID tool cut for electrons.
const unsigned int ISOLATION_PHOTON
isolation for photons is combination of calo and tracker
const unsigned int ElectronLoosePPIso
Loose++ electron selecton with isolation.
const unsigned int ElectronTightHLT
Tight 2014 tunes electron selecton.
const unsigned int CONVMATCH_ELECTRON
Tight conversion matching.
const unsigned int PhotonMediumEF
Medium photon selection for online EF.
const unsigned int ElectronTight_WithoutTrackMatch_NoConvCut
Tight without conversion requirement or track match.
const unsigned int ElectronLooseHLT
Loose 2014 tunes electron selection.
const unsigned int ElectronLoose
Loose electron selection.
const unsigned int ElectronTight_WithLooseEtaTrackMatch
Tight electron (corresponds to RobusterTight in 15.6.X with the loose deltaEta bit TrackMatchEta_Elec...
const unsigned int CALOSTRIPS_PHOTONTIGHT
cuts in strips (with ClusterStripsDEmaxs1)
const unsigned int PhotonMedium
Medium photon selection.
const unsigned int ElectronMedium_WithoutTrackMatch
Medium electron selection with the delta eta cut has been removed.
const unsigned int ElectronMediumIso_WithTrackMatch
MediumIso electron selection with deta match (was ElectronMediumIso in 15.X)
const unsigned int CALOMIDDLE_ELECTRON
cuts in middle sampling
const unsigned int HADLEAKETA_PHOTON
cuts of hadronic leakage
const unsigned int ElectronTight_WithTrackMatch
Tight electron selection with track match.
@ LONGITUDINAL_ForwardElectron
Longitudinal shape moment.
@ CENTERLAMBDA_ForwardElectron
center lambda shape moment
@ SECONDR_ForwardElectron
secondR shape moment
@ CELLMAXFRAC_ForwardElectron
cell max frac shape moment
@ LATERAL_ForwardElectron
lateral shape moment
@ SECONDLAMBDA_ForwardElectron
second lambda shape moment
@ BinEta_ForwardElectron
cluster eta range
@ ClusterMiddleEratio33_Photon
energy ratio in 2nd sampling for photons
@ TrackIsolation_Photon
tracker isolation for photon selection
@ AmbiguityResolution_Photon
ambiguity resolution for photon (vs electron)
@ ClusterEtaRange_Photon
cluster eta range
@ ClusterHadronicLeakage_Photon
cluster leakage into the hadronic calorimeter
@ Isolation_Photon
isolation
@ ClusterMiddleEnergy_Photon
energy in 2nd sampling (e277)
@ ClusterMiddleWidth_Photon
width in the second sampling
@ ClusterIsolation_Photon
calorimetric isolation for photon selection
@ ClusterStripsDeltaEmax2_Photon
energy of 2nd maximum in 1st sampling ~e2tsts1/(1000+const_lumi*et)
@ ClusterStripsFracm_Photon
shower shape in shower core 1st sampling
@ ClusterStripsWtot_Photon
shower width in 1st sampling
@ ClusterMiddleEratio37_Photon
energy ratio in 2nd sampling
@ ClusterStripsDeltaE_Photon
difference between 2nd maximum and 1st minimum in strips (e2tsts1-emins1)
@ ClusterStripsEratio_Photon
fraction of energy found in 1st sampling
@ ClusterStripsDEmaxs1_Photon
difference between max and 2nd max in strips
@ ClusterStripsWeta1c_Photon
shower width weighted by distance from the maximum one
@ ClusterBackEnergyFraction_Photon
energy fraction in the third layer
@ TrackMatchEoverP_Photon
energy-momentum match for photon selection
const unsigned int CALOSTRIPS_PHOTONMEDIUM
cuts in strips (with ClusterStripsDEmaxs1)
const unsigned int ElectronMediumIso
MediumIso electron selecton.
const unsigned int ElectronTight_WithoutTrackMatch
Tight electron without track match (corresponds to RobusterTight in 15.6.X but without the deltaEta b...
const unsigned int PhotonLoose
Loose photon selection.
const unsigned int ForwardElectronLoose
const unsigned int TRACKMATCH_ELECTRON_EF
Track-cluster matching in eta, E/p for electrons redefined for EF.
const unsigned int PhotonTight
Tight photon selection.
const unsigned int PhotonMediumIso
Medium photon selection with Isolation.
const unsigned int ElectronTightPP
Tight++ electron selecton.
const unsigned int ALL_ELECTRON
all cuts for electrons
const unsigned int TRT_RATIO_ELECTRON
TR ratio for electrons.
const unsigned int CALO_ELECTRON
all cuts in calorimeter (except isolation)
const unsigned int TRACKMATCH_ELECTRON
Track cluster matching in eta, phi, E/p for electrons.
const unsigned int ElectronMedium
Medium electron selecton.
const unsigned int TRACKINGISOLATION_ELECTRON
isolation by tracker
const unsigned int CALO_ELECTRON_HLT
all cuts in calorimeter (except isolation)
const unsigned int PhotonTightIso
Tight photon selection with isolation.
@ ForwardElectronIDTight
@ ElectronIDTightPPIso
@ ForwardElectronIDLoose
@ ForwardElectronIDMedium
@ ElectronIDMediumPPIso
@ ElectronIDMediumIso
@ ElectronIDLoosePPIso
@ ElectronIDMediumHLT
const unsigned int PhotonLooseIso
Loose photon selection with Isolation.
const unsigned int ElectronLooseIso
Loose electron selecton with isolation.
const unsigned int CALOSTRIPS_ELECTRON
cuts in strips (with ClusterStripsDEmaxs1)
const unsigned int ElectronTightPPIso
Tight++ electron selecton with isolation.
const unsigned int ElectronTight1
Tight1 tunes electron selecton.
const unsigned int ElectronMediumPP
Medium++ electron selecton.
const unsigned int ElectronTightIso_WithLooseEtaTrackMatch
Tight_WithLooseEtaTrackMatch electron selection with isolation requirement.
const unsigned int CALOBACK_ELECTRON
const unsigned int ElectronLoosePP
Loose++ electron selection.
const unsigned int TRACKMATCHDETA_ELECTRON
Track cluster matching in eta for electrons.
const unsigned int ElectronMedium1
Medium1 tunes electron selecton.
const unsigned int ElectronTight
Tight electron selection.
const unsigned int CALOMIDDLE_PHOTON
cuts in middle sampling
const unsigned int ElectronTightIso
Tight electron selection with isolation requirement.
const unsigned int TRACKMATCHNOEOVERP_ELECTRON
Track cluster matching in eta, phi for electrons.
const unsigned int TRACKINGNOBLAYER_ELECTRON
Track quality cuts except b-layer for electrons.
const unsigned int TRACKMATCH_ELECTRON_NoEoP_EF
Track-cluster matching in eta for electrons redefined for EF.
const unsigned int TRACKINGISOLATION_PHOTON
isolation by tracker
const unsigned int ISOLATION_ELECTRON
isolation for electrons is combination of calo and tracker
const unsigned int ElectronMediumPPIso
Medium++ electron selecton with isolation.
const unsigned int CALORIMETRICISOLATION_PHOTON
calorimeter isolation
const unsigned int CALOTRACKISOLATION_ELECTRON
isolation for electrons is combination of calo and tracker
const unsigned int TRT_ELECTRON
TRT hits and TR ratio and TR Probability for electrons.
const unsigned int TRACKMATCHTIGHT_ELECTRON_EF
Tight Track cluster matching redefined for EF.
const unsigned int PhotonLooseAR
Loose photon selection with Ambiguity resolver.
const unsigned int ElectronTightIso_WithTightEtaTrackMatch
Tight_WithTightEtaTrackMatch electron selection with isolation requirement.
const unsigned int ID_ForwardElectron
cuts on all variables
const unsigned int AMBIGUITYRESOLVE_PHOTON
Ambigiuty resolve for photons.
const unsigned int ElectronMedium_WithTrackMatch
Medium electron selection with deta match (was ElectronMedium in 15.X)
const unsigned int PhotonLooseARIso
Loose photon selection with Ambiguity resolver and Isolation.
const unsigned int PhotonMediumARIso
Medium photon selection with Ambiguity resolver and Isolation.
const unsigned int CALORIMETRICISOLATION_ELECTRON
calorimeter isolation
const unsigned int CALO_PHOTON_RETA_WETA2_ERATIO
cuts of Eratio (for Medium selection)
const unsigned int CALOSTRIPS_LOOSE_ELECTRON
const unsigned int CALOTRACKISOLATION_PHOTON
isolation for photons is combination of calo and tracker
const unsigned int ElectronTight_WithTightEtaTrackMatch
Tight electron (corresponds to RobusterTight in 15.6.X with the deltaEta bits TrackMatchEta_Electron ...
const unsigned int PhotonTightAR
Tight photon selection with Ambiguity resolver.
@ TrackBlayer_Electron
B layer hit.
@ TrackMatchPhi_Electron
phi difference between cluster and extrapolated track in the 2nd sampling
@ ClusterMiddleWidth_Electron
width in the second sampling (e.g Weta2)
@ ClusterStripsWeta1c_Electron
shower width weighted by distance from the maximum one
@ TrackA0_Electron
distance of closet approach
@ ClusterStripsFracm_Electron
shower shape in shower core 1st sampling
@ TrackMatchEta_Electron
eta difference between cluster and extrapolated track in the 1st sampling
@ ClusterIsolation_Electron
calorimetric isolation
@ ClusterStripsEratio_Electron
fraction of energy found in 1st sampling (NB: not used in fact for electrons)
@ TrackTRTeProbabilityHT_Electron
Cut on the TRT eProbabilityHT_Electron.
@ TrackSi_Electron
number of Pixel and SCT hits
@ ClusterStripsDeltaE_Electron
difference between 2nd maximum and 1st minimum in strips (e2tsts1-emins1)
@ TrackTRTratio_Electron
ratio of high to all TRT hits for isolated electrons
@ TrackTRTratio90_Electron
ratio of high to all TRT hits for non-isolated electrons (not for new ++ menus)
@ ClusterMiddleEratio37_Electron
energy ratio in 2nd sampling (e.g E237/E277)
@ ClusterBackEnergyFraction_Electron
energy fraction in the third layer
@ ConversionMatch_Electron
matching to photon (not necessarily conversion–the name is historical)
@ TrackIsolation_Electron
tracker isolation
@ TrackPixel_Electron
number of Pixel hits
@ Isolation_Electron
isolation
@ ClusterStripsDeltaEmax2_Electron
energy of 2nd maximum in 1st sampling ~e2tsts1/(1000+const_lumi*et)
@ TrackMatchEtaTight_Electron
eta difference between cluster and extrapolated track in the 1st sampling for tight selection (!
@ ClusterStripsDEmaxs1_Electron
difference between max and 2nd max in strips
@ TrackMatchEoverP_Electron
energy-momentum match
@ TrackA0Tight_Electron
distance of closet approach for tight selection (!
@ ClusterStripsWtot_Electron
shower width in 1st sampling
@ ClusterMiddleEratio33_Electron
energy ratio in 2nd sampling (e.g E233/E237)
@ ClusterMiddleEnergy_Electron
energy in 2nd sampling (e.g E277>0)
@ ClusterHadronicLeakage_Electron
cluster leakage into the hadronic calorimeter
@ ClusterEtaRange_Electron
cluster eta range
@ TrackTRThits_Electron
number of TRT hits
const unsigned int TRACKING_ELECTRON
Track quality cuts for electrons.
const unsigned int ElectronTightIso_WithTrackMatch
Tight_WithTrackMatch electron selection with isolation requirement.
const unsigned int EgPidUndefined
const unsigned int ElectronTightIso_WithoutTrackMatch
Tight_WithTrackMatch electron selection with isolation requirement.