ATLAS Offline Software
TauJetParameters.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
19 #ifndef TAU_PARAMETERS_H
20 #define TAU_PARAMETERS_H
21 
23 {
24  //-------------------------------------------------------------------------
25  // DO NOT CHANGE THE ORDER OF THE ENUMS!
26  // You can add, but changing the order may lead to disaster!
27  //-------------------------------------------------------------------------
28 
29  //-------------------------------------------------------------------------
31  //-------------------------------------------------------------------------
32  enum Author
33  {
34  unknown = 0,
35  tauRec = 1,
36  tau1P3P = 2,
37  PanTau = 3
38  };
39 
40  //-------------------------------------------------------------------------
42  //-------------------------------------------------------------------------
43  enum TauID
44  {
46  //DiscNN = 1,
50  //DiscPDERS = 3,
52  //TauJetLikelihoodOld = 4,
54  //TauElLikelihoodOld = 5,
56  //TauJetNeuralNetwork = 6,
58  //TauENeuralNetwork = 7,
60  //EfficNN = 8,
62  //EfficPDERS = 9,
64  //TauElTauLikelihood = 10,
66  //DiscCut = 11,
68  //DiscCutTMVA = 12,
70  //DiscLL = 13,
72  //EfficLL = 14,
80  BDTJetScoreSigTrans = 18, // new
82  BDTJetScoreBkgTrans = 19, // new
84  PanTauScore = 20
85  };
86 
87  //-------------------------------------------------------------------------
89  //-------------------------------------------------------------------------
90  enum VetoFlags
91  {
97  MuonFlag = 2
98  };
99 
100  //-------------------------------------------------------------------------
102  //-------------------------------------------------------------------------
104  {
108  ElectronVeto = 3, //Obsolete, dont use
109  MuonVeto = 4,
113  //TauRecOld = 8, //Obsolete, dont use?
114  //Tau1P3POld = 9, //Obsolete, dont use?
115  //TauCutSafeLoose = 10,
116  //TauCutSafeMedium = 11,
117  //TauCutSafeTight = 12,
118  //TauCutSafeCaloLoose = 13,
119  //TauCutSafeCaloMedium = 14,
120  //TauCutSafeCaloTight = 15,
124  JetBDTSigLoose = 19, // rename (add sig)
125  JetBDTSigMedium = 20, // rename (add sig)
126  JetBDTSigTight = 21, // rename (add sig)
130  //SafeLlhLoose = 25,
131  //SafeLlhMedium = 26,
132  //SafeLlhTight = 27
133  JetBDTBkgLoose = 25, // new
134  JetBDTBkgMedium = 26, // new
135  JetBDTBkgTight = 27, // new
138  PanTauScoreTight = 30
139  };
140 
141  //-------------------------------------------------------------------------
144  //-------------------------------------------------------------------------
145  enum Detail
146  {
149  emRadius = 2,
154 
155  logLikelihoodRatio = 7, //<! Log likelihood ratio between tau and jet
156  lowPtTauJetDiscriminant = 8, //<! Discriminant (s/(s+b)) for tau vs. jet at low pt
157  lowPtTauEleDiscriminant = 9, //<! Discriminant (s/(s+b)) for tau vs. ele at low pt
158  tauJetNeuralnetwork = 10, //<! Neural network for tau vs. jet
159  tauENeuralNetwork = 11, //<! Neural netowrk for tau vs. ele
160 
161  annularIsolationFraction = 8, //<! Fraction of energy in radius .1<r<.2
162  etCaloAtEMScale = 9, //<! Sum of ET cells inside cone RconeTau around the candidate, in EM scale
163  etChargedHadCells = 10, //<! Sum of ET cells in HAD layers within narrow window around track, at EM scale
164  etOtherEMCells = 11, //<! Sum of ET cells in EM layers, between in range between (RcoreTau - RconeTau ), at EM scale
165  etOtherHadCells = 12, //<! Sum of ET cells in HAD layers, between in range between (RcoreTau - RconeTau ), at EM scale
166  discriminant = 13, //<! Tau1P3P tau vs. jet discriminant variable - discCut
167  discPDERS = 14, //<! Tau1P3P tau vs. jet discriminant variable - PDERS
168  discNN = 15, //<! Tau1P3P tau vs. jet discriminant variable - NN
169  sumPTtracks = 16, //<! Sum of momenta of associated tracks
170  nAssocTracksCore = 17, //<! Number of tracks in the core region
171  nAssocTracksIsol = 18, //<! Number of tracks in the isolation region
172  rWidth2Trk3P = 19, //<! Radius width for track system
173  massTrk3P = 20, //<! Mass of charged tracks system
174  signDOTrk3P = 21 //<! Signed impact parameter from tracks system
175  };
176 
177  //-------------------------------------------------------------------------
179  //-------------------------------------------------------------------------
181  {
183  Track = 1
184  };
185 
186  //-------------------------------------------------------------------------
188  //-------------------------------------------------------------------------
190  {
195  TauEtaCalib=4
196  };
197 
198 }
199 
200 #endif // TAU_PARAMETERS_H
TauJetParameters::MuonVeto
@ MuonVeto
Definition: TauJetParameters.h:109
TauJetParameters::lowPtTauEleDiscriminant
@ lowPtTauEleDiscriminant
Definition: TauJetParameters.h:157
TauJetParameters::rWidth2Trk3P
@ rWidth2Trk3P
Definition: TauJetParameters.h:172
TauJetParameters::massTrk3P
@ massTrk3P
Definition: TauJetParameters.h:173
TauJetParameters::BDTJetScoreBkgTrans
@ BDTJetScoreBkgTrans
BDT score which is background transformed/flattened.
Definition: TauJetParameters.h:82
TauJetParameters::TauLlhLoose
@ TauLlhLoose
Definition: TauJetParameters.h:112
TauJetParameters::signDOTrk3P
@ signDOTrk3P
Definition: TauJetParameters.h:174
TauJetParameters::IsTauFlag
IsTauFlag
Enum for IsTau flags.
Definition: TauJetParameters.h:104
TauJetParameters::tau1P3P
@ tau1P3P
Definition: TauJetParameters.h:36
TauJetParameters::EleBDTLoose
@ EleBDTLoose
Definition: TauJetParameters.h:127
TauJetParameters::etOtherEMCells
@ etOtherEMCells
Definition: TauJetParameters.h:164
TauJetParameters::TauCutMedium
@ TauCutMedium
Definition: TauJetParameters.h:106
TauJetParameters::PanTauScore
@ PanTauScore
PanTau's Score.
Definition: TauJetParameters.h:84
TauJetParameters::etEMCalib
@ etEMCalib
Definition: TauJetParameters.h:148
TauJetParameters::JetBDTSigMedium
@ JetBDTSigMedium
Definition: TauJetParameters.h:125
TauJetParameters::ElectronVetoTight
@ ElectronVetoTight
Definition: TauJetParameters.h:123
TauJetParameters
Definition: TauJetParameters.h:23
TauJetParameters::annularIsolationFraction
@ annularIsolationFraction
Definition: TauJetParameters.h:161
TauJetParameters::lowPtTauJetDiscriminant
@ lowPtTauJetDiscriminant
Definition: TauJetParameters.h:156
TauJetParameters::EleBDTMedium
@ EleBDTMedium
Definition: TauJetParameters.h:128
TauJetParameters::VetoFlags
VetoFlags
Enum for Veto flags.
Definition: TauJetParameters.h:91
TauJetParameters::CaloObject
@ CaloObject
Definition: TauJetParameters.h:182
TauJetParameters::etCaloAtEMScale
@ etCaloAtEMScale
Definition: TauJetParameters.h:162
TauJetParameters::ElectronVeto
@ ElectronVeto
Definition: TauJetParameters.h:108
TauJetParameters::JetBDTBkgMedium
@ JetBDTBkgMedium
Definition: TauJetParameters.h:134
TauJetParameters::ElectronVetoMedium
@ ElectronVetoMedium
Definition: TauJetParameters.h:122
TauJetParameters::IntermediateAxis
@ IntermediateAxis
Definition: TauJetParameters.h:193
TauJetParameters::centralityFraction
@ centralityFraction
Definition: TauJetParameters.h:151
TauJetParameters::TauCutTight
@ TauCutTight
Definition: TauJetParameters.h:107
TauJetParameters::isolationFraction
@ isolationFraction
Definition: TauJetParameters.h:150
TauJetParameters::nAssocTracksCore
@ nAssocTracksCore
Definition: TauJetParameters.h:170
TauJetParameters::tauRec
@ tauRec
Definition: TauJetParameters.h:35
TauJetParameters::SeedTypes
SeedTypes
Enum for tau seed type.
Definition: TauJetParameters.h:181
TauJetParameters::sumPTtracks
@ sumPTtracks
Definition: TauJetParameters.h:169
TauJetParameters::BDTEleScore
@ BDTEleScore
Boosted Decision Tree score for electron rejection.
Definition: TauJetParameters.h:76
TauJetParameters::PanTauScoreMedium
@ PanTauScoreMedium
Definition: TauJetParameters.h:137
TauJetParameters::JetBDTSigLoose
@ JetBDTSigLoose
Definition: TauJetParameters.h:124
TauJetParameters::TauLlhMedium
@ TauLlhMedium
Definition: TauJetParameters.h:111
TauJetParameters::etHadCalib
@ etHadCalib
Definition: TauJetParameters.h:147
TauJetParameters::JetSeed
@ JetSeed
Definition: TauJetParameters.h:191
TauJetParameters::emRadius
@ emRadius
Definition: TauJetParameters.h:149
TauJetParameters::JetBDTBkgLoose
@ JetBDTBkgLoose
Definition: TauJetParameters.h:133
TauJetParameters::stripWidth2
@ stripWidth2
Definition: TauJetParameters.h:152
TauJetParameters::tauENeuralNetwork
@ tauENeuralNetwork
Definition: TauJetParameters.h:159
TauJetParameters::TauCalibType
TauCalibType
Enum for tau seed type.
Definition: TauJetParameters.h:190
TauJetParameters::TauID
TauID
Enum for discriminants.
Definition: TauJetParameters.h:44
TauJetParameters::MuonFlag
@ MuonFlag
muon veto flag based on ETCalo cut (used by tau1p3p)
Definition: TauJetParameters.h:97
TauJetParameters::discriminant
@ discriminant
Definition: TauJetParameters.h:166
TauJetParameters::unknown
@ unknown
Definition: TauJetParameters.h:34
TauJetParameters::DetectorAxis
@ DetectorAxis
Definition: TauJetParameters.h:192
TauJetParameters::discPDERS
@ discPDERS
Definition: TauJetParameters.h:167
TauJetParameters::EleBDTTight
@ EleBDTTight
Definition: TauJetParameters.h:129
TauJetParameters::discNN
@ discNN
Definition: TauJetParameters.h:168
TauJetParameters::EgammaFlag
@ EgammaFlag
electron veto flag based on egamma information (used by tau1p3p)
Definition: TauJetParameters.h:95
TauJetParameters::TauEtaCalib
@ TauEtaCalib
Definition: TauJetParameters.h:195
TauJetParameters::BDTJetScore
@ BDTJetScore
discriminant for PDRS (used by tau1p3p)
Definition: TauJetParameters.h:74
PanTau
xAOD EDM
Definition: Reconstruction/PanTau/PanTauAlgs/PanTauAlgs/HelperFunctions.h:18
TauJetParameters::BDTJetScoreSigTrans
@ BDTJetScoreSigTrans
BDT score which is signal transformed/flattened.
Definition: TauJetParameters.h:80
TauJetParameters::tauJetNeuralnetwork
@ tauJetNeuralnetwork
Definition: TauJetParameters.h:158
TauJetParameters::ElectronVetoLoose
@ ElectronVetoLoose
Definition: TauJetParameters.h:121
TauJetParameters::etChargedHadCells
@ etChargedHadCells
Definition: TauJetParameters.h:163
TauJetParameters::Author
Author
Enum for author of TauJet.
Definition: TauJetParameters.h:33
TauJetParameters::PanTauScoreTight
@ PanTauScoreTight
Definition: TauJetParameters.h:138
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
TauJetParameters::JetBDTBkgTight
@ JetBDTBkgTight
Definition: TauJetParameters.h:135
TauJetParameters::SafeLikelihood
@ SafeLikelihood
Safe LLH.
Definition: TauJetParameters.h:78
TauJetParameters::TauLlhTight
@ TauLlhTight
Definition: TauJetParameters.h:110
TauJetParameters::nStripCells
@ nStripCells
Definition: TauJetParameters.h:153
TauJetParameters::TauCutLoose
@ TauCutLoose
Definition: TauJetParameters.h:105
TauJetParameters::JetBDTSigTight
@ JetBDTSigTight
Definition: TauJetParameters.h:126
TauJetParameters::etOtherHadCells
@ etOtherHadCells
Definition: TauJetParameters.h:165
TauJetParameters::nAssocTracksIsol
@ nAssocTracksIsol
Definition: TauJetParameters.h:171
TauJetParameters::TauEnergyScale
@ TauEnergyScale
Definition: TauJetParameters.h:194
TauJetParameters::Detail
Detail
Enum for tau parameters - used mainly for backward compatibility with the analysis code.
Definition: TauJetParameters.h:146
TauJetParameters::logLikelihoodRatio
@ logLikelihoodRatio
Definition: TauJetParameters.h:155
TauJetParameters::PanTauScoreLoose
@ PanTauScoreLoose
Definition: TauJetParameters.h:136
TauJetParameters::Likelihood
@ Likelihood
discriminant for NN (used by tau1p3p)
Definition: TauJetParameters.h:48
TauJetParameters::ElectronFlag
@ ElectronFlag
electron veto flag based on cuts (used by tau1p3p)
Definition: TauJetParameters.h:93