5#ifndef EGAMMAEVENT_EGAMMAPIDDEFS_H
6#define EGAMMAEVENT_EGAMMAPIDDEFS_H
53 enum PID :
unsigned int {
729 const unsigned int ALLOQ= 0xFFFFFFFF;
950 const unsigned int ALL= 0xFFFFFFFF;
const unsigned int TRACKINGNOBLAYER_ELECTRON
Track quality cuts except b-layer for electrons.
@ Isolation_Photon
isolation
@ ClusterEtaRange_PhotonLoose
cluster eta range
@ ClusterHadronicLeakage_Photon
cluster leakage into the hadronic calorimeter
@ ClusterMiddleWidth_PhotonLoose
width in the second sampling
@ ClusterMiddleEratio37_PhotonLoose
energy ratio in 2nd sampling
@ ClusterStripsDeltaEmax2_Photon
energy of 2nd maximum in 1st sampling ~e2tsts1/(1000+const_lumi*et)
@ ClusterMiddleEnergy_PhotonLoose
energy in 2nd sampling (e277)
@ ClusterHadronicLeakage_PhotonLoose
cluster leakage into the hadronic calorimeter
@ AmbiguityResolution_Photon
ambiguity resolution for photon (vs electron)
@ ClusterBackEnergyFraction_Photon
energy fraction in the third layer
@ ClusterStripsFracm_Photon
shower shape in shower core 1st sampling
@ ClusterEtaRange_Photon
cluster eta range
@ TrackIsolation_Photon
tracker isolation for photon selection
@ ClusterIsolation_Photon
calorimetric isolation for photon selection
@ ClusterStripsWtot_Photon
shower width in 1st sampling
@ TrackMatchEoverP_Photon
energy-momentum match for photon selection
@ ClusterStripsWeta1c_Photon
shower width weighted by distance from the maximum one
@ ClusterMiddleEratio33_PhotonLoose
energy ratio in 2nd sampling
@ ClusterStripsEratio_Photon
fraction of energy found in 1st sampling
@ ClusterMiddleWidth_Photon
width in the second sampling
@ ClusterStripsDeltaE_Photon
difference between 2nd maximum and 1st minimum in strips (e2tsts1-emins1)
@ ClusterMiddleEratio37_Photon
energy ratio in 2nd sampling
@ ClusterStripsDEmaxs1_Photon
difference between max and 2nd max in strips
@ ClusterMiddleEnergy_Photon
energy in 2nd sampling (e277)
@ ClusterMiddleEratio33_Photon
energy ratio in 2nd sampling for photons
const unsigned int CALORIMETRICISOLATION_ELECTRON
calorimeter isolation
const unsigned int TRT90_ELECTRON
TRT hits and TR ratio (@90% eff) for electrons.
const unsigned int ElectronLooseIso
Loose electron selecton with isolation.
const unsigned int ElectronLoosePPIso
Loose++ electron selecton with isolation.
const unsigned int PhotonTightOLDRel
const unsigned int CALONOISOOLD
"old" all cuts in calorimeter (except isolation) without ClusterStripsDEmaxs1
const unsigned int ALLNOTRT_ELECTRON
all cuts except TRT for electrons
const unsigned int CALO_PHOTON
all cuts in calorimeter (except isolation)
const unsigned int CALOSTRIPS
cuts in strips (with ClusterStripsDEmaxs1)
const unsigned int ElectronMediumNoIsoOLD
const unsigned int HADLEAKETA_ELECTRON
cuts of hadronic leakage
const unsigned int TRACKISO
isolation by tracker
const unsigned int CALONOISOOLD_PHOTON
"old" all cuts in calorimeter (except isolation) without ClusterStripsDEmaxs1
const unsigned int CALOSTRIPS_LOOSE_ELECTRON
const unsigned int ElectronTightNoIsolationOLD
const unsigned int PhotonLooseARIso
Loose photon selection with Ambiguity resolver and Isolation.
const unsigned int HADLEAKETA_PHOTON
cuts of hadronic leakage
@ ClusterStripsDEmaxs1_Electron
difference between max and 2nd max in strips
@ ClusterHadronicLeakage_Electron
cluster leakage into the hadronic calorimeter
@ TrackIsolation_Electron
tracker isolation
@ ClusterEtaRange_Electron
cluster eta range
@ TrackA0_Electron
distance of closet approach
@ TrackTRTratio_Electron
ratio of high to all TRT hits for isolated electrons
@ ClusterStripsEratio_Electron
fraction of energy found in 1st sampling (NB: not used in fact for electrons)
@ ConversionMatch_Electron
matching to photon (not necessarily conversion–the name is historical)
@ TrackSi_Electron
number of Pixel and SCT hits
@ Isolation_Electron
isolation
@ ClusterStripsWeta1c_Electron
shower width weighted by distance from the maximum one
@ ClusterStripsDeltaEmax2_Electron
energy of 2nd maximum in 1st sampling ~e2tsts1/(1000+const_lumi*et)
@ TrackMatchPhi_Electron
phi difference between cluster and extrapolated track in the 2nd sampling
@ TrackMatchEta_Electron
eta difference between cluster and extrapolated track in the 1st sampling
@ ClusterMiddleEratio33_Electron
energy ratio in 2nd sampling (e.g E233/E237)
@ ClusterIsolation_Electron
calorimetric isolation
@ TrackBlayer_Electron
B layer hit.
@ TrackMatchEoverP_Electron
energy-momentum match
@ ClusterMiddleEnergy_Electron
energy in 2nd sampling (e.g E277>0)
@ TrackA0Tight_Electron
distance of closet approach for tight selection (not to be used in new ++ menus)
@ TrackTRTratio90_Electron
ratio of high to all TRT hits for non-isolated electrons (not for new ++ menus)
@ TrackTRThits_Electron
number of TRT hits
@ ClusterStripsWtot_Electron
shower width in 1st sampling
@ ClusterStripsDeltaE_Electron
difference between 2nd maximum and 1st minimum in strips (e2tsts1-emins1)
@ ClusterMiddleWidth_Electron
width in the second sampling (e.g Weta2)
@ ClusterBackEnergyFraction_Electron
energy fraction in the third layer
@ ClusterMiddleEratio37_Electron
energy ratio in 2nd sampling (e.g E237/E277)
@ TrackMatchEtaTight_Electron
eta difference between cluster and extrapolated track in the 1st sampling for tight selection (not to...
@ ClusterStripsFracm_Electron
shower shape in shower core 1st sampling
@ TrackPixel_Electron
number of Pixel hits
const unsigned int ISOLATION_ELECTRON
isolation for electrons is combination of calo and tracker
const unsigned int ElectronTightNoIsolationOLDRel
const unsigned int ElectronTight_NoConvCut
Tight without conversion requirement.
const unsigned int ElectronLoosePP
Loose++ electron selection.
const unsigned int PhotonTightAR
Tight photon selection with Ambiguity resolver.
const unsigned int CALOMIDDLE_ELECTRON
cuts in middle sampling
const unsigned int CALOTRACKISOLATION_ELECTRON
isolation for electrons is combination of calo and tracker
const unsigned int ElectronMedium_WithoutTrackMatch
Medium electron selection with the delta eta cut has been removed.
const unsigned int ElectronMediumPPIso
Medium++ electron selecton with isolation.
const unsigned int ElectronLoose
Loose electron selection.
const unsigned int CALONOISO
all cuts in calorimeter (except isolation)
const unsigned int TRACKINGLOOSE_ELECTRON
Track quality cuts except b-layer for electrons.
const unsigned int ElectronTightIso_WithTrackMatch
Tight_WithTrackMatch electron selection with isolation requirement.
const unsigned int CALOSTRIPSOLD_PHOTON
old cuts in strips (without ClusterStripsDEmaxs1)
const unsigned int TRACKMATCHDETATIGHT_ELECTRON
Track cluster matching in eta tight for electrons.
const unsigned int TRACKMATCHDETA
const unsigned int ElectronTightOLD
const unsigned int PhotonTightIso
Tight photon selection with isolation.
const unsigned int EgPidUndefined
const unsigned int TRT_RATIO_ELECTRON
TR ratio for electrons.
const unsigned int TRACKMATCH
const unsigned int TRACKMATCHDETA_ELECTRON
Track cluster matching in eta for electrons.
const unsigned int CALOMIDDLE_PHOTON
cuts in middle sampling
const unsigned int ElectronMediumNoIso
obsolete - kept not crash clients
const unsigned int ALLNOTRTOLD_ELECTRON
all cuts except TRT for electrons(old way)
const unsigned int ElectronTightIso_WithTightEtaTrackMatch
Tight_WithTightEtaTrackMatch electron selection with isolation requirement.
const unsigned int ElectronTight_WithTrackMatch_NoConvCut
Tight with track match without conversion requirement.
const unsigned int CALOSTRIPSOLD_ELECTRON
old cuts in strips (without ClusterStripsDEmaxs1)
const unsigned int ALL_ELECTRON
all cuts for electrons
const unsigned int CALOOLD
all cuts in calorimeter (including isolation) without ClusterStripsDEmaxs1
const unsigned int ALLNOTRT
const unsigned int CALORIMETRICISOLATION_PHOTON
calorimeter isolation
const unsigned int CALONOISOOLD_ELECTRON
"old" all cuts in calorimeter (except isolation) without ClusterStripsDEmaxs1
const unsigned int PhotonTight
Tight photon selection.
const unsigned int TRACKING_ELECTRON
Track quality cuts for electrons.
const unsigned int TRACKING
const unsigned int ElectronTightIso
Tight electron selection with isolation requirement.
const unsigned int TRT_ELECTRON
TRT hits and TR ratio for electrons.
const unsigned int TRACKMATCH_ELECTRON
Track cluster matching in eta, phi, E/p for electrons.
const unsigned int ElectronMediumOLD
const unsigned int ElectronTight_WithTrackMatch
Tight electron selection with track match.
@ AffectedCellEdgePS
Affected presampler cell in the edge of the cluster.
@ AffectedCellEdgeS1
Affected strip cell in the edge of the cluster.
@ MissingFEBCellEdgeS2
Missing FEB in the edge of the cluster.
@ MissingFEBCellEdgeS1
Missing FEB in the edge of the cluster.
@ DeadCellTileS0
Dead cell in the Tile Calorimeter S0 affecting the hadronic leakage calculation.
@ DeadHVS1S2S3Edge
Dead High Voltage in the EM strips, middle and back affecting the edge of the cluster.
@ MissingFEBCellCore
Missing FEB in the core of the cluster.
@ MissingFEBCellEdgeS3
Missing FEB in the edge of the cluster.
@ MaskedCellCore
Masked cell in the core of the cluster.
@ HECHighQ
High quality factor cell in the HEC.
@ SporadicNoiseLowQCore
Sporadic noisy cell in the core of the cluster.
@ MaskedCellEdgeS2
Masked middle cell in the edge of the cluster.
@ DeadHVPS
Dead High Voltage in the EM Presampler.
@ NonNominalHVPS
Non Nominal High Voltage in the EM Presampler.
@ AffectedCellEdgeS2
Affected middle cell in the edge of the cluster.
@ DeadHVS1S2S3Core
Dead High Voltage in the EM strips, middle and back affecting the core of the cluster.
@ MaskedCellEdgeS1
Masked strip cell in the edge of the cluster.
@ MaskedCellEdgeS3
Masked back cell in the edge of the cluster.
@ BadS1Core
Missing FEB or masked cell in S1 core (corresponding to the 8 strips in front of the core of the clus...
@ SporadicNoiseLowQEdge
Sporadic noisy cell in the edge of the cluster.
@ MaskedCellEdgePS
Masked presampler cell in the edge of the cluster.
@ HighQCore
High quality factor cell in the core of the cluster.
@ DeadCellTileS1S2
Dead cell in the Tile Calorimeter S1,2,3 affecting the hadronic leakage calculation.
@ HighQEdge
High quality factor cell in the edge of the cluster.
@ LArQCleaning
Cleaning based on LArQ factor--> sum[ E(Q>4000)/E].
@ NonNominalHVS1S2S3
Non Nominal High Voltage in the EM strips, middle and back.
@ MissingFEBCellEdgePS
Missing FEB in the edge of the cluster.
@ AffectedCellEdgeS3
Affected back cell in the edge of the cluster.
@ AffectedCellCore
Affected cell in the core of the cluster.
@ OutTime
Out of time cell.
const unsigned int ALLOLD
all cuts (old way)
const unsigned int TRACKMATCHTIGHT_ELECTRON
Tight Track cluster matching.
const unsigned int ElectronTightTRTNoIsoOLD
const unsigned int CALOOLD_ELECTRON
"old" all cuts in calorimeter (including isolation) without ClusterStripsDEmaxs1
const unsigned int ElectronMedium
Medium electron selecton.
const unsigned int ElectronMediumIso_WithTrackMatch
MediumIso electron selection with deta match (was ElectronMediumIso in 15.X)
const unsigned int PhotonTightARIso
Tight photon selection with isolation and Ambiguity resolver.
const unsigned int CALOSTRIPS_ELECTRON
cuts in strips (with ClusterStripsDEmaxs1)
const unsigned int AMBIGUITYRESOLVE_PHOTON
Ambigiuty resolve for photons.
const unsigned int ALLOLD_ELECTRON
all cuts fo electrons (old way)
const unsigned int CALOSTRIPSOLD
old cuts in strips (without ClusterStripsDEmaxs1)
const unsigned int ElectronMediumNoIsoOLDRel
const unsigned int PhotonLoose
Loose photon selection.
const unsigned int ElectronMediumIso_WithoutTrackMatch
Medium electron selection without deta match with isolation requirement.
const unsigned int ElectronTightIso_WithoutTrackMatch
Tight_WithTrackMatch electron selection with isolation requirement.
const unsigned int BADCLUSELECTRON
const unsigned int frwdElectronTight
forward electron flavours
const unsigned int ElectronTightTRTNoIsoOLDRel
const unsigned int TRACKMATCHNOEOVERP_ELECTRON
Track cluster matching in eta, phi for electrons.
const unsigned int BADCLUSPHOTON
const unsigned int CALOSTRIPS_PHOTONMEDIUM
cuts in strips (with ClusterStripsDEmaxs1)
const unsigned int ALLNOTRTOLD
const unsigned int ElectronMediumPP
Medium++ electron selecton.
@ ClusterMiddleEratio33
energy ratio in 2nd sampling (e233/e237) for photons
@ ClusterStripsDEmaxs1
difference between max and 2nd max in strips
@ ClusterStripsWeta1c
shower width weighted by distance from the maximum one (weta1)
@ ClusterEtaRange
cluster eta range
@ TrackMatchEoverP
energy-momentum match
@ TrackBlayer
B layer hit.
@ TrackIsolation
tracker isolation (ptcone30)
@ TrackSi
number of Pixel and SCT hits
@ ClusterStripsWtot
shower width in 1st sampling (wtots1)
@ TrackTRTratio90
ratio of high to all TRT hits for non-isolated electrons
@ TrackTRTratio
ratio of high to all TRT hits for isolated electrons
@ ClusterStripsFracm
shower shape in shower core 1st sampling (fracs1)
@ TrackMatchEta
eta difference between cluster and extrapolated track in the 1st sampling
@ ClusterStripsDeltaE
difference between 2nd maximum and 1st minimum in strips (e2tsts1-emins1)
@ ClusterIsolation
calorimetric isolation (etcone20)
@ ClusterStripsDeltaEmax2
energy of 2nd maximum in 1st sampling ~e2tsts1/(1000+const_lumi*et)
@ TrackTRThits
number of TRT hits
@ TrackMatchPhi
phi difference between cluster and extrapolated track in the 2nd sampling
@ ClusterMiddleWidth
width in the second sampling (weta2)
@ TrackA0
distance of closet approach
@ ClusterMiddleEratio37
energy ratio in 2nd sampling (e237/e277)
@ ClusterHadronicLeakage
cluster leakage into the hadronic calorimeter
@ ClusterMiddleEnergy
energy in 2nd sampling (e277)
@ TrackPixel
number of Pixel hits
@ ClusterStripsEratio
fraction of energy found in 1st sampling (f1)
const unsigned int CALOMIDDLE
cuts in middle sampling
const unsigned int CALO_ELECTRON
all cuts in calorimeter (except isolation)
const unsigned int CALOBACK_ELECTRON
const unsigned int CALO
all cuts in calorimeter (including isolation)
const unsigned int ElectronTight_WithLooseEtaTrackMatch
Tight electron (corresponds to RobusterTight in 15.6.X with the loose deltaEta bit TrackMatchEta_Elec...
const unsigned int HADLEAKETA_PHOTONLOOSE
cuts of hadronic leakage (for Loose selection)
const unsigned int ElectronTightIso_WithLooseEtaTrackMatch
Tight_WithLooseEtaTrackMatch electron selection with isolation requirement.
const unsigned int TRACKINGNOBLAYER
const unsigned int CONVMATCH_ELECTRON
Tight conversion matching.
const unsigned int HADLEAKETA
cuts of hadronic leakage
const unsigned int PhotonMediumAR
Medium photon selection.
const unsigned int frwdElectronLoose
@ IsEMLoose
cut-based identification for egamma objects (Loose)
@ IsolationLikelihood_jets
Isolation Likelihood for jet separation.
@ BgPhotonWeight
loglikelihood identification
@ ElectronWeight
loglikelihood identification
@ IsEMTight
cut-based identification for egamma objects (Tight)
@ SofteElectronWeight
loglikelihood identification
@ IsolationLikelihood_HQDelectrons
Isolation Likelihood for separation of electrons from heavy quark decays.
@ RingerNN
Ringer Neural Network Output.
@ IsEMMedium
cut-based identification for egamma objects (Medium)
@ BgWeight
loglikelihood identification
@ IsGoodOQ
Object Quality variable.
@ SofteIsEM
cut-based identification for softe electrons in jets (for btag)
@ PhotonWeight
loglikelihood identification
@ FisherScore
Fisher variable.
@ SofteBgWeight
loglikelihood identification
@ LastEgammaPID
Default for the last enum (don't change it !)
@ IsEM
cut-based identification for egamma objects (cluster and track-based)
const unsigned int ElectronTightNoIsolation
obsolete - kept not to crash clients
const unsigned int ElectronMediumIso
MediumIso electron selecton.
const unsigned int PhotonTightOLD
Tight photon (old definition)
const unsigned int ElectronLooseOLDRel
const unsigned int ElectronTightPP
Tight++ electron selecton.
const unsigned int ElectronTightOLDRel
const unsigned int CALOMIDDLE_PHOTONLOOSE
cuts in middle sampling (for Loose selection)
const unsigned int ISOLATION_PHOTON
isolation for photons is combination of calo and tracker
const unsigned int ElectronTight_WithoutTrackMatch_NoConvCut
Tight without conversion requirement or track match.
const unsigned int ElectronMedium_WithTrackMatch
Medium electron selection with deta match (was ElectronMedium in 15.X)
const unsigned int TRACKINGISOLATION_ELECTRON
isolation by tracker
const unsigned int ElectronTightRobust
Tight electron (NB: kept for backward compatibility)
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 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 TRACKMATCHNOEOVERP
const unsigned int ElectronTight
Tight electron selection.
const unsigned int TRACKMATCH_PHOTON
Track cluster matching E/p for photons.
const unsigned int ElectronTightTRTNoIso
obsolete - kept not to crash clients
const unsigned int TRACKINGISOLATION_PHOTON
isolation by tracker
const unsigned int CALOSTRIPS_PHOTON
cuts in strips (with ClusterStripsDEmaxs1)
const unsigned int ElectronTightPPIso
Tight++ electron selecton with isolation.
const unsigned int CALOISO
calorimeter isolation
const unsigned int ElectronMediumOLDRel
const unsigned int PhotonLooseIso
Loose photon selection with Isolation.
const unsigned int ALL
all cuts
const unsigned int ElectronLooseOLD
const unsigned int PhotonMedium
Medium photon selection.
const unsigned int PhotonLooseAR
Loose photon selection with Ambiguity resolver.