ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetUncertainties
Root
UncertaintyEnum.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#include "
JetUncertainties/UncertaintyEnum.h
"
7
8
#include <math.h>
9
10
namespace
jet
11
{
12
14
// //
15
// Component category enumeration methods //
16
// //
18
19
namespace
CompCategory
20
{
21
TString
enumToString
(
const
TypeEnum
type
)
22
{
23
switch
(
type
)
24
{
25
case
Statistical
:
return
"Statistical"
;
26
case
Detector
:
return
"Detector"
;
27
case
Modelling
:
return
"Modelling"
;
28
case
Mixed
:
return
"Mixed"
;
29
case
Effective
:
return
"Effective"
;
30
case
Other
:
return
"Other"
;
31
default
:
return
"UNKNOWN"
;
32
}
33
}
34
35
TypeEnum
stringToEnum
(
const
TString&
type
)
36
{
37
if
(!
type
.CompareTo(
"Statistical"
))
38
return
Statistical
;
39
if
(!
type
.CompareTo(
"Detector"
))
40
return
Detector
;
41
if
(!
type
.CompareTo(
"Modelling"
))
42
return
Modelling
;
43
if
(!
type
.CompareTo(
"Mixed"
))
44
return
Mixed
;
45
if
(!
type
.CompareTo(
"Effective"
))
46
return
Effective
;
47
if
(!
type
.CompareTo(
"Other"
))
48
return
Other
;
49
return
UNKNOWN
;
50
}
51
}
// end CompCategory namespace
52
53
55
// //
56
// Component correlation enumeration methods //
57
// //
59
60
namespace
CompCorrelation
61
{
62
TString
enumToString
(
const
TypeEnum
type
)
63
{
64
switch
(
type
)
65
{
66
case
Uncorrelated
:
return
"Uncorrelated"
;
67
case
Correlated
:
return
"Correlated"
;
68
default
:
return
"UNKNOWN"
;
69
}
70
}
71
72
TypeEnum
stringToEnum
(
const
TString&
type
)
73
{
74
if
(!
type
.CompareTo(
"Uncorrelated"
))
75
return
Uncorrelated
;
76
if
(!
type
.CompareTo(
"Correlated"
))
77
return
Correlated
;
78
return
UNKNOWN
;
79
}
80
}
// end CompCorrelation namespace
81
82
84
// //
85
// Component parametrization type enum methods //
86
// //
88
89
namespace
CompParametrization
90
{
91
TString
enumToString
(
const
TypeEnum
type
)
92
{
93
switch
(
type
)
94
{
95
case
Pt
:
return
"Pt"
;
96
case
PtEta
:
return
"PtEta"
;
97
case
PtAbsEta
:
return
"PtAbsEta"
;
98
case
PtAbsMass
:
return
"PtAbsMass"
;
99
case
PtMass
:
return
"PtMass"
;
100
case
PtMassEta
:
return
"PtMassEta"
;
101
case
PtMassAbsEta
:
return
"PtMassAbsEta"
;
102
case
PtAbsMassEta
:
return
"PtAbsMassEta"
;
103
case
PtAbsMassAbsEta
:
return
"PtAbsMassAbsEta"
;
104
case
eLOGmOe
:
return
"eLOGmOe"
;
105
case
eLOGmOeEta
:
return
"eLOGmOeEta"
;
106
case
eLOGmOeAbsEta
:
return
"eLOGmOeAbsEta"
;
107
case
PtLOGPtMassForTagSF
:
return
"PtLOGPtMassForTagSF"
;
108
default
:
return
"UNKNOWN"
;
109
}
110
}
111
112
TypeEnum
stringToEnum
(
const
TString&
type
)
113
{
114
if
(!
type
.CompareTo(
"Pt"
,TString::kIgnoreCase))
115
return
Pt
;
116
if
(!
type
.CompareTo(
"PtEta"
,TString::kIgnoreCase))
117
return
PtEta
;
118
if
(!
type
.CompareTo(
"PtAbsEta"
,TString::kIgnoreCase))
119
return
PtAbsEta
;
120
if
(!
type
.CompareTo(
"PtAbsMass"
,TString::kIgnoreCase))
121
return
PtAbsMass
;
122
if
(!
type
.CompareTo(
"PtMass"
,TString::kIgnoreCase))
123
return
PtMass
;
124
if
(!
type
.CompareTo(
"PtMassEta"
,TString::kIgnoreCase))
125
return
PtMassEta
;
126
if
(!
type
.CompareTo(
"PtMassAbsEta"
,TString::kIgnoreCase))
127
return
PtMassAbsEta
;
128
if
(!
type
.CompareTo(
"PtAbsMassEta"
,TString::kIgnoreCase))
129
return
PtAbsMassEta
;
130
if
(!
type
.CompareTo(
"PtAbsMassAbsEta"
,TString::kIgnoreCase))
131
return
PtAbsMassAbsEta
;
132
if
(!
type
.CompareTo(
"eLOGmOe"
,TString::kIgnoreCase))
133
return
eLOGmOe
;
134
if
(!
type
.CompareTo(
"eLOGmOeEta"
,TString::kIgnoreCase))
135
return
eLOGmOeEta
;
136
if
(!
type
.CompareTo(
"eLOGmOeAbsEta"
,TString::kIgnoreCase))
137
return
eLOGmOeAbsEta
;
138
if
(!
type
.CompareTo(
"PtLOGPtMassForTagSF"
,TString::kIgnoreCase))
139
return
PtLOGPtMassForTagSF
;
140
return
UNKNOWN
;
141
}
142
143
bool
isAbsEta
(
const
TypeEnum
type
)
144
{
145
switch
(
type
)
146
{
147
case
PtAbsEta
:
148
case
PtMassAbsEta
:
149
case
PtAbsMassAbsEta
:
150
case
eLOGmOeAbsEta
:
return
true
;
151
152
default
:
return
false
;
153
}
154
}
155
156
bool
includesMass
(
const
TypeEnum
type
)
157
{
158
switch
(
type
)
159
{
160
case
PtAbsMass
:
161
case
PtMass
:
162
case
PtLOGPtMassForTagSF
:
163
case
PtMassEta
:
164
case
PtMassAbsEta
:
165
case
PtAbsMassEta
:
166
case
PtAbsMassAbsEta
:
167
case
eLOGmOe
:
168
case
eLOGmOeEta
:
169
case
eLOGmOeAbsEta
:
170
return
true
;
171
172
default
:
173
return
false
;
174
}
175
}
176
177
}
// end CompParametrization namespace
178
179
181
// //
182
// Component parametrization type enum methods //
183
// //
185
186
namespace
CompMassDef
187
{
188
TString
enumToString
(
const
TypeEnum
type
)
189
{
190
switch
(
type
)
191
{
192
case
FourVecMass
:
return
"FourVec"
;
193
case
CaloMass
:
return
"Calo"
;
194
case
TAMass
:
return
"TA"
;
195
case
CombMassQCD
:
return
"CombQCD"
;
196
case
CombMassWZ
:
return
"CombWZ"
;
197
case
CombMassHbb
:
return
"CombHbb"
;
198
case
CombMassTop
:
return
"CombTop"
;
199
default
:
return
"UNKNOWN"
;
200
}
201
}
202
203
TypeEnum
stringToEnum
(
const
TString&
type
)
204
{
205
if
(!
type
.CompareTo(
"FourVec"
,TString::kIgnoreCase) || !
type
.CompareTo(
"FourVector"
,TString::kIgnoreCase))
206
return
FourVecMass
;
207
if
(!
type
.CompareTo(
"Calo"
,TString::kIgnoreCase) || !
type
.CompareTo(
"Calorimeter"
,TString::kIgnoreCase))
208
return
CaloMass
;
209
if
(!
type
.CompareTo(
"TA"
,TString::kIgnoreCase) || !
type
.CompareTo(
"TrackAssisted"
,TString::kIgnoreCase))
210
return
TAMass
;
211
if
(
type
.BeginsWith(
"Comb"
,TString::kIgnoreCase) ||
type
.BeginsWith(
"Combined"
,TString::kIgnoreCase))
212
{
213
if
(
type
.EndsWith(
"QCD"
,TString::kIgnoreCase))
214
return
CombMassQCD
;
215
if
(
type
.EndsWith(
"WZ"
,TString::kIgnoreCase))
216
return
CombMassWZ
;
217
if
(
type
.EndsWith(
"Hbb"
,TString::kIgnoreCase))
218
return
CombMassHbb
;
219
if
(
type
.EndsWith(
"Top"
,TString::kIgnoreCase))
220
return
CombMassTop
;
221
}
222
return
UNKNOWN
;
223
}
224
225
TString
getJetScaleString
(
const
TypeEnum
type
)
226
{
227
switch
(
type
)
228
{
229
case
CaloMass
:
return
"JetJMSScaleMomentumCalo"
;
230
case
TAMass
:
return
"JetJMSScaleMomentumTA"
;
231
case
CombMassQCD
:
return
"JetJMSScaleMomentumCombQCD"
;
232
case
CombMassWZ
:
return
"JetJMSScaleMomentumCombWZ"
;
233
case
CombMassHbb
:
return
"JetJMSScaleMomentumCombHbb"
;
234
case
CombMassTop
:
return
"JetJMSScaleMomentumCombTop"
;
235
default
:
return
"UNKNOWN_JET_MASS_SCALE"
;
236
237
}
238
}
239
240
}
// end CompMassDef namespace
241
243
// //
244
// Component parametrization type enum methods //
245
// //
247
248
namespace
CompScaleVar
249
{
250
TString
enumToString
(
const
TypeEnum
type
)
251
{
252
switch
(
type
)
253
{
254
case
FourVec
:
return
"FourVec"
;
255
case
Pt
:
return
"Pt"
;
256
case
Mass
:
return
"Mass"
;
257
case
D12
:
return
"Split12"
;
258
case
D23
:
return
"Split23"
;
259
case
Tau21
:
return
"Tau21"
;
260
case
Tau32
:
return
"Tau32"
;
261
case
Tau21WTA
:
return
"Tau21WTA"
;
262
case
Tau32WTA
:
return
"Tau32WTA"
;
263
case
D2Beta1
:
return
"D2Beta1"
;
264
case
C2Beta1
:
return
"C2Beta1"
;
265
case
Qw
:
return
"Qw"
;
266
case
MassRes
:
return
"MassRes"
;
267
case
MassResAbs
:
return
"MassResAbs"
;
268
case
PtRes
:
return
"PtRes"
;
269
case
PtResAbs
:
return
"PtResAbs"
;
270
case
FourVecRes
:
return
"FourVecRes"
;
271
case
FourVecResAbs
:
return
"FourVecResAbs"
;
272
case
TagScaleFactor
:
return
"TagScaleFactor"
;
273
case
TagEfficiency
:
return
"TagEfficiency"
;
274
default
:
return
"UNKNOWN"
;
275
}
276
}
277
278
TypeEnum
stringToEnum
(
const
TString&
type
)
279
{
280
if
(!
type
.CompareTo(
"FourVec"
,TString::kIgnoreCase) || !
type
.CompareTo(
"4Vec"
,TString::kIgnoreCase) || !
type
.CompareTo(
"FourVector"
,TString::kIgnoreCase))
281
return
FourVec
;
282
if
(!
type
.CompareTo(
"Pt"
,TString::kIgnoreCase))
283
return
Pt
;
284
if
(!
type
.CompareTo(
"Mass"
,TString::kIgnoreCase))
285
return
Mass
;
286
if
(!
type
.CompareTo(
"D12"
,TString::kIgnoreCase) || !
type
.CompareTo(
"Split12"
,TString::kIgnoreCase))
287
return
D12
;
288
if
(!
type
.CompareTo(
"D23"
,TString::kIgnoreCase) || !
type
.CompareTo(
"Split23"
,TString::kIgnoreCase))
289
return
D23
;
290
if
(!
type
.CompareTo(
"Tau21"
,TString::kIgnoreCase))
291
return
Tau21
;
292
if
(!
type
.CompareTo(
"Tau32"
,TString::kIgnoreCase))
293
return
Tau32
;
294
if
(!
type
.CompareTo(
"Tau21WTA"
,TString::kIgnoreCase))
295
return
Tau21WTA
;
296
if
(!
type
.CompareTo(
"Tau32WTA"
,TString::kIgnoreCase))
297
return
Tau32WTA
;
298
if
(!
type
.CompareTo(
"D2Beta1"
,TString::kIgnoreCase))
299
return
D2Beta1
;
300
if
(!
type
.CompareTo(
"C2Beta1"
,TString::kIgnoreCase))
301
return
C2Beta1
;
302
if
(!
type
.CompareTo(
"Qw"
,TString::kIgnoreCase))
303
return
Qw
;
304
if
(!
type
.CompareTo(
"MassRes"
,TString::kIgnoreCase))
305
return
MassRes
;
306
if
(!
type
.CompareTo(
"MassResAbs"
,TString::kIgnoreCase))
307
return
MassResAbs
;
308
if
(!
type
.CompareTo(
"PtRes"
,TString::kIgnoreCase))
309
return
PtRes
;
310
if
(!
type
.CompareTo(
"PtResAbs"
,TString::kIgnoreCase))
311
return
PtResAbs
;
312
if
(!
type
.CompareTo(
"FourVecRes"
,TString::kIgnoreCase))
313
return
FourVecRes
;
314
if
(!
type
.CompareTo(
"FourVecResAbs"
,TString::kIgnoreCase))
315
return
FourVecResAbs
;
316
if
(!
type
.CompareTo(
"TagScaleFactor"
,TString::kIgnoreCase))
317
return
TagScaleFactor
;
318
if
(!
type
.CompareTo(
"TagEfficiency"
,TString::kIgnoreCase))
319
return
TagEfficiency
;
320
return
UNKNOWN
;
321
}
322
323
bool
isScaleType
(
const
TypeEnum
type
)
324
{
325
switch
(
type
)
326
{
327
case
FourVec
:
328
case
Pt
:
329
case
Mass
:
330
case
D12
:
331
case
D23
:
332
case
Tau21
:
333
case
Tau32
:
334
case
Tau21WTA
:
335
case
Tau32WTA
:
336
case
D2Beta1
:
337
case
C2Beta1
:
338
case
Qw
:
339
case
TagScaleFactor
:
340
case
TagEfficiency
:
341
return
true
;
342
343
default
:
344
return
false
;
345
}
346
}
347
348
bool
isResolutionType
(
const
TypeEnum
type
)
349
{
350
switch
(
type
)
351
{
352
case
MassRes
:
353
case
MassResAbs
:
354
case
PtRes
:
355
case
PtResAbs
:
356
case
FourVecRes
:
357
case
FourVecResAbs
:
358
return
true
;
359
360
default
:
361
return
false
;
362
}
363
}
364
365
bool
isAbsResolutionType
(
const
TypeEnum
type
)
366
{
367
switch
(
type
)
368
{
369
case
MassResAbs
:
370
case
PtResAbs
:
371
case
FourVecResAbs
:
372
return
true
;
373
374
default
:
375
return
false
;
376
}
377
}
378
379
bool
isRelResolutionType
(
const
TypeEnum
type
)
380
{
381
switch
(
type
)
382
{
383
case
MassRes
:
384
case
PtRes
:
385
case
FourVecRes
:
386
return
true
;
387
388
default
:
389
return
false
;
390
}
391
}
392
}
393
394
396
// //
397
// Component parametrization type enum methods //
398
// //
400
401
namespace
CompFlavorLabelVar
402
{
403
TString
enumToString
(
const
TypeEnum
type
)
404
{
405
switch
(
type
)
406
{
407
case
t_qqb
:
return
"t_qqb"
;
408
case
t
:
return
"t"
;
409
case
V_qq
:
return
"V_qq"
;
410
case
W_qq
:
return
"W_qq"
;
411
case
Z_qq
:
return
"Z_qq"
;
412
case
W_qq_From_t
:
return
"W_qq_From_t"
;
413
case
t_other
:
return
"t_other"
;
414
case
q
:
return
"q"
;
415
default
:
return
"UNKNOWN"
;
416
}
417
}
418
419
TypeEnum
stringToEnum
(
const
TString&
type
)
420
{
421
if
(
type
==
"t_qqb"
)
422
return
t_qqb
;
423
if
(
type
==
"t"
)
424
return
t
;
425
if
(
type
==
"V_qq"
)
426
return
V_qq
;
427
if
(
type
==
"W_qq"
)
428
return
W_qq
;
429
if
(
type
==
"Z_qq"
)
430
return
Z_qq
;
431
if
(
type
==
"W_qq_From_t"
)
432
return
W_qq_From_t
;
433
if
(
type
==
"t_other"
)
434
return
t_other
;
435
if
(
type
==
"q"
)
436
return
q
;
437
return
UNKNOWN
;
438
}
439
}
440
441
443
// //
444
// Component parametrization type enum methods //
445
// //
447
448
namespace
CompTaggerRegionVar
449
{
450
TString
enumToString
(
const
TypeEnum
type
)
451
{
452
switch
(
type
)
453
{
454
case
passMpassD2_2Var
:
return
"2Var_passMpassD2"
;
455
case
passMfailD2_2Var
:
return
"2Var_passMfailD2"
;
456
case
failMpassD2_2Var
:
return
"2Var_failMpassD2"
;
457
case
failMfailD2_2Var
:
return
"2Var_failMfailD2"
;
458
default
:
return
"UNKNOWN"
;
459
}
460
}
461
462
TypeEnum
stringToEnum
(
const
TString&
type
)
463
{
464
if
(
type
.Contains(
"2Var"
,TString::kIgnoreCase))
465
{
466
if
(
type
.Contains(
"passMpassD2"
,TString::kIgnoreCase))
467
return
passMpassD2_2Var
;
468
if
(
type
.Contains(
"passMfailD2"
,TString::kIgnoreCase))
469
return
passMfailD2_2Var
;
470
if
(
type
.Contains(
"failMpassD2"
,TString::kIgnoreCase))
471
return
failMpassD2_2Var
;
472
if
(
type
.Contains(
"failMfailD2"
,TString::kIgnoreCase))
473
return
failMfailD2_2Var
;
474
}
475
return
UNKNOWN
;
476
}
477
}
478
479
481
// //
482
// Pileup component enumeration methods //
483
// //
485
486
namespace
PileupComp
487
{
488
TString
enumToString
(
const
TypeEnum
type
)
489
{
490
switch
(
type
)
491
{
492
case
OffsetNPV
:
return
"Pileup_OffsetNPV"
;
493
case
OffsetMu
:
return
"Pileup_OffsetMu"
;
494
case
PtTerm
:
return
"Pileup_PtTerm"
;
495
case
RhoTopology
:
return
"Pileup_RhoTopology"
;
496
default
:
return
"UNKNOWN"
;
497
}
498
}
499
500
TypeEnum
stringToEnum
(
const
TString&
type
)
501
{
502
if
(
type
.Contains(
"Pileup"
,TString::kIgnoreCase))
503
{
504
if
(
type
.Contains(
"OffsetNPV"
,TString::kIgnoreCase))
505
return
OffsetNPV
;
506
if
(
type
.Contains(
"OffsetMu"
,TString::kIgnoreCase))
507
return
OffsetMu
;
508
if
(
type
.Contains(
"PtTerm"
,TString::kIgnoreCase))
509
return
PtTerm
;
510
if
(
type
.Contains(
"RhoTopology"
,TString::kIgnoreCase))
511
return
RhoTopology
;
512
}
513
return
UNKNOWN
;
514
}
515
}
516
517
519
// //
520
// Flavour component enumeration methods //
521
// //
523
524
namespace
FlavourComp
525
{
526
TString
enumToString
(
const
TypeEnum
type
)
527
{
528
switch
(
type
)
529
{
530
case
Response
:
return
"FlavourResponse"
;
531
case
Composition
:
return
"FlavourComposition"
;
532
case
bJES
:
return
"bJES"
;
533
case
PerJetResponse
:
return
"PerJetFlavourResponse"
;
534
case
PerJetResponse_Gluon
:
return
"PerJetFlavourResponse_Gluon"
;
535
case
PerJetResponse_LQ
:
return
"PerJetFlavourResponse_LQ"
;
536
case
PerJetResponse_B
:
return
"PerJetFlavourResponse_B"
;
537
case
PerJetResponse_C
:
return
"PerJetFlavourResponse_C"
;
538
default
:
return
"UNKNOWN"
;
539
}
540
}
541
542
TypeEnum
stringToEnum
(
const
TString&
type
)
543
{
544
if
(
type
.Contains(
"Flavour"
,TString::kIgnoreCase) ||
type
.Contains(
"Flavor"
,TString::kIgnoreCase))
545
{
546
if
(
type
.Contains(
"Response"
,TString::kIgnoreCase))
547
{
548
if
(
type
.Contains(
"PerJet"
,TString::kIgnoreCase)){
549
if
(
type
.Contains(
"Response_Gluon"
,TString::kIgnoreCase))
return
PerJetResponse_Gluon
;
550
else
if
(
type
.Contains(
"Response_LQ"
,TString::kIgnoreCase))
return
PerJetResponse_LQ
;
551
else
if
(
type
.Contains(
"Response_B"
,TString::kIgnoreCase))
return
PerJetResponse_B
;
552
else
if
(
type
.Contains(
"Response_C"
,TString::kIgnoreCase))
return
PerJetResponse_C
;
553
else
return
PerJetResponse
;
554
}
555
else
{
556
return
Response
;
557
}
558
}
559
if
(
type
.Contains(
"Composition"
,TString::kIgnoreCase))
560
return
Composition
;
561
}
562
if
(
type
.Contains(
"bJES"
,TString::kIgnoreCase))
563
return
bJES
;
564
return
UNKNOWN
;
565
}
566
}
567
568
570
// //
571
// Combined mass component enumeration methods //
572
// //
574
575
namespace
CombMassComp
576
{
577
TString
enumToString
(
const
TypeEnum
type
)
578
{
579
switch
(
type
)
580
{
581
case
Calo
:
return
"Calo"
;
582
case
TA
:
return
"TA"
;
583
case
Both
:
return
"Both"
;
584
default
:
return
"UNKNOWN"
;
585
}
586
}
587
588
TypeEnum
stringToEnum
(
const
TString&
type
)
589
{
590
if
(
type
.Contains(
"Calo"
,TString::kIgnoreCase))
591
return
Calo
;
592
if
(
type
.Contains(
"TA"
,TString::kIgnoreCase))
593
return
TA
;
594
if
(
type
.Contains(
"Both"
,TString::kIgnoreCase))
595
return
Both
;
596
return
UNKNOWN
;
597
}
598
}
599
600
602
// //
603
// Jet topology enumeration methods //
604
// //
606
607
namespace
JetTopology
608
{
609
TString
enumToString
(
const
TypeEnum
type
)
610
{
611
switch
(
type
)
612
{
613
case
QCD
:
return
"QCD"
;
614
case
WZ
:
return
"WZ"
;
615
case
Hbb
:
return
"Hbb"
;
616
case
Top
:
return
"Top"
;
617
case
MIXED
:
return
"MIXED"
;
618
default
:
return
"UNKNOWN"
;
619
}
620
}
621
622
TypeEnum
stringToEnum
(
const
TString&
type
)
623
{
624
if
(!
type
.CompareTo(
"QCD"
,TString::kIgnoreCase))
625
return
QCD
;
626
if
(!
type
.CompareTo(
"WZ"
,TString::kIgnoreCase))
627
return
WZ
;
628
if
(!
type
.CompareTo(
"Hbb"
,TString::kIgnoreCase))
629
return
Hbb
;
630
if
(!
type
.CompareTo(
"Top"
,TString::kIgnoreCase))
631
return
Top
;
632
return
UNKNOWN
;
633
}
634
}
635
636
638
// //
639
// Histogram interpolation enumeration methods //
640
// //
642
643
namespace
Interpolate
644
{
645
TString
enumToString
(
const
TypeEnum
type
)
646
{
647
switch
(
type
)
648
{
649
case
None
:
return
"None"
;
650
case
Full
:
return
"Full"
;
651
case
OnlyX
:
return
"X"
;
652
case
OnlyY
:
return
"Y"
;
653
default
:
return
"UNKNOWN"
;
654
}
655
}
656
657
TypeEnum
stringToEnum
(
const
TString&
type
)
658
{
659
if
(!
type
.CompareTo(
"None"
,TString::kIgnoreCase) || !
type
.CompareTo(
"false"
,TString::kIgnoreCase))
660
return
None
;
661
if
(!
type
.CompareTo(
"Full"
,TString::kIgnoreCase) || !
type
.CompareTo(
"true"
,TString::kIgnoreCase))
662
return
Full
;
663
if
(!
type
.CompareTo(
"OnlyX"
,TString::kIgnoreCase))
664
return
OnlyX
;
665
if
(!
type
.CompareTo(
"OnlyY"
,TString::kIgnoreCase))
666
return
OnlyY
;
667
return
UNKNOWN
;
668
}
669
}
670
671
}
// end jet namespace
672
UncertaintyEnum.h
Calo
Definition
CaloTrackingGeometryBuilder.h:15
jet::CombMassComp::enumToString
TString enumToString(const TypeEnum type)
Definition
UncertaintyEnum.cxx:577
jet::CombMassComp::TypeEnum
TypeEnum
Definition
UncertaintyEnum.h:195
jet::CombMassComp::UNKNOWN
@ UNKNOWN
Definition
UncertaintyEnum.h:196
jet::CombMassComp::Both
@ Both
Definition
UncertaintyEnum.h:199
jet::CombMassComp::TA
@ TA
Definition
UncertaintyEnum.h:198
jet::CombMassComp::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition
UncertaintyEnum.cxx:588
jet::CompCategory
Definition
UncertaintyEnum.h:14
jet::CompCategory::TypeEnum
TypeEnum
Definition
UncertaintyEnum.h:16
jet::CompCategory::Statistical
@ Statistical
Definition
UncertaintyEnum.h:18
jet::CompCategory::UNKNOWN
@ UNKNOWN
Definition
UncertaintyEnum.h:17
jet::CompCategory::Modelling
@ Modelling
Definition
UncertaintyEnum.h:20
jet::CompCategory::Detector
@ Detector
Definition
UncertaintyEnum.h:19
jet::CompCategory::Effective
@ Effective
Definition
UncertaintyEnum.h:22
jet::CompCategory::Mixed
@ Mixed
Definition
UncertaintyEnum.h:21
jet::CompCategory::Other
@ Other
Definition
UncertaintyEnum.h:23
jet::CompCategory::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition
UncertaintyEnum.cxx:35
jet::CompCategory::enumToString
TString enumToString(const TypeEnum type)
Definition
UncertaintyEnum.cxx:21
jet::CompCorrelation::enumToString
TString enumToString(const TypeEnum type)
Definition
UncertaintyEnum.cxx:62
jet::CompCorrelation::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition
UncertaintyEnum.cxx:72
jet::CompCorrelation::TypeEnum
TypeEnum
Definition
UncertaintyEnum.h:32
jet::CompCorrelation::UNKNOWN
@ UNKNOWN
Definition
UncertaintyEnum.h:33
jet::CompCorrelation::Uncorrelated
@ Uncorrelated
Definition
UncertaintyEnum.h:34
jet::CompCorrelation::Correlated
@ Correlated
Definition
UncertaintyEnum.h:35
jet::CompFlavorLabelVar::enumToString
TString enumToString(const TypeEnum type)
Definition
UncertaintyEnum.cxx:403
jet::CompFlavorLabelVar::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition
UncertaintyEnum.cxx:419
jet::CompFlavorLabelVar::TypeEnum
TypeEnum
Definition
UncertaintyEnum.h:131
jet::CompFlavorLabelVar::W_qq
@ W_qq
Definition
UncertaintyEnum.h:136
jet::CompFlavorLabelVar::t_qqb
@ t_qqb
Definition
UncertaintyEnum.h:133
jet::CompFlavorLabelVar::V_qq
@ V_qq
Definition
UncertaintyEnum.h:135
jet::CompFlavorLabelVar::t
@ t
Definition
UncertaintyEnum.h:134
jet::CompFlavorLabelVar::Z_qq
@ Z_qq
Definition
UncertaintyEnum.h:137
jet::CompFlavorLabelVar::W_qq_From_t
@ W_qq_From_t
Definition
UncertaintyEnum.h:138
jet::CompFlavorLabelVar::t_other
@ t_other
Definition
UncertaintyEnum.h:139
jet::CompFlavorLabelVar::q
@ q
Definition
UncertaintyEnum.h:140
jet::CompFlavorLabelVar::UNKNOWN
@ UNKNOWN
Definition
UncertaintyEnum.h:132
jet::CompMassDef::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition
UncertaintyEnum.cxx:203
jet::CompMassDef::getJetScaleString
TString getJetScaleString(const TypeEnum type)
Definition
UncertaintyEnum.cxx:225
jet::CompMassDef::TypeEnum
TypeEnum
Definition
UncertaintyEnum.h:71
jet::CompMassDef::UNKNOWN
@ UNKNOWN
Definition
UncertaintyEnum.h:72
jet::CompMassDef::CombMassWZ
@ CombMassWZ
Definition
UncertaintyEnum.h:77
jet::CompMassDef::CombMassTop
@ CombMassTop
Definition
UncertaintyEnum.h:79
jet::CompMassDef::FourVecMass
@ FourVecMass
Definition
UncertaintyEnum.h:73
jet::CompMassDef::CombMassQCD
@ CombMassQCD
Definition
UncertaintyEnum.h:76
jet::CompMassDef::CaloMass
@ CaloMass
Definition
UncertaintyEnum.h:74
jet::CompMassDef::TAMass
@ TAMass
Definition
UncertaintyEnum.h:75
jet::CompMassDef::CombMassHbb
@ CombMassHbb
Definition
UncertaintyEnum.h:78
jet::CompMassDef::enumToString
TString enumToString(const TypeEnum type)
Definition
UncertaintyEnum.cxx:188
jet::CompParametrization::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition
UncertaintyEnum.cxx:112
jet::CompParametrization::includesMass
bool includesMass(const TypeEnum type)
Definition
UncertaintyEnum.cxx:156
jet::CompParametrization::enumToString
TString enumToString(const TypeEnum type)
Definition
UncertaintyEnum.cxx:91
jet::CompParametrization::TypeEnum
TypeEnum
Definition
UncertaintyEnum.h:45
jet::CompParametrization::PtMassEta
@ PtMassEta
Definition
UncertaintyEnum.h:52
jet::CompParametrization::eLOGmOeAbsEta
@ eLOGmOeAbsEta
Definition
UncertaintyEnum.h:58
jet::CompParametrization::Pt
@ Pt
Definition
UncertaintyEnum.h:47
jet::CompParametrization::UNKNOWN
@ UNKNOWN
Definition
UncertaintyEnum.h:46
jet::CompParametrization::PtAbsMass
@ PtAbsMass
Definition
UncertaintyEnum.h:50
jet::CompParametrization::PtLOGPtMassForTagSF
@ PtLOGPtMassForTagSF
Definition
UncertaintyEnum.h:59
jet::CompParametrization::PtMass
@ PtMass
Definition
UncertaintyEnum.h:51
jet::CompParametrization::PtMassAbsEta
@ PtMassAbsEta
Definition
UncertaintyEnum.h:53
jet::CompParametrization::PtAbsEta
@ PtAbsEta
Definition
UncertaintyEnum.h:49
jet::CompParametrization::PtAbsMassEta
@ PtAbsMassEta
Definition
UncertaintyEnum.h:54
jet::CompParametrization::eLOGmOeEta
@ eLOGmOeEta
Definition
UncertaintyEnum.h:57
jet::CompParametrization::eLOGmOe
@ eLOGmOe
Definition
UncertaintyEnum.h:56
jet::CompParametrization::PtAbsMassAbsEta
@ PtAbsMassAbsEta
Definition
UncertaintyEnum.h:55
jet::CompParametrization::PtEta
@ PtEta
Definition
UncertaintyEnum.h:48
jet::CompParametrization::isAbsEta
bool isAbsEta(const TypeEnum type)
Definition
UncertaintyEnum.cxx:143
jet::CompScaleVar::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition
UncertaintyEnum.cxx:278
jet::CompScaleVar::isRelResolutionType
bool isRelResolutionType(const TypeEnum type)
Definition
UncertaintyEnum.cxx:379
jet::CompScaleVar::isScaleType
bool isScaleType(const TypeEnum type)
Definition
UncertaintyEnum.cxx:323
jet::CompScaleVar::TypeEnum
TypeEnum
Definition
UncertaintyEnum.h:91
jet::CompScaleVar::Pt
@ Pt
Definition
UncertaintyEnum.h:97
jet::CompScaleVar::MassRes
@ MassRes
Definition
UncertaintyEnum.h:112
jet::CompScaleVar::MassResAbs
@ MassResAbs
Definition
UncertaintyEnum.h:113
jet::CompScaleVar::FourVecResAbs
@ FourVecResAbs
Definition
UncertaintyEnum.h:117
jet::CompScaleVar::C2Beta1
@ C2Beta1
Definition
UncertaintyEnum.h:106
jet::CompScaleVar::Mass
@ Mass
Definition
UncertaintyEnum.h:98
jet::CompScaleVar::Tau21
@ Tau21
Definition
UncertaintyEnum.h:101
jet::CompScaleVar::UNKNOWN
@ UNKNOWN
Definition
UncertaintyEnum.h:93
jet::CompScaleVar::Qw
@ Qw
Definition
UncertaintyEnum.h:107
jet::CompScaleVar::FourVec
@ FourVec
Definition
UncertaintyEnum.h:96
jet::CompScaleVar::TagEfficiency
@ TagEfficiency
Definition
UncertaintyEnum.h:109
jet::CompScaleVar::D12
@ D12
Definition
UncertaintyEnum.h:99
jet::CompScaleVar::D23
@ D23
Definition
UncertaintyEnum.h:100
jet::CompScaleVar::PtRes
@ PtRes
Definition
UncertaintyEnum.h:114
jet::CompScaleVar::D2Beta1
@ D2Beta1
Definition
UncertaintyEnum.h:105
jet::CompScaleVar::Tau32
@ Tau32
Definition
UncertaintyEnum.h:102
jet::CompScaleVar::TagScaleFactor
@ TagScaleFactor
Definition
UncertaintyEnum.h:108
jet::CompScaleVar::FourVecRes
@ FourVecRes
Definition
UncertaintyEnum.h:116
jet::CompScaleVar::PtResAbs
@ PtResAbs
Definition
UncertaintyEnum.h:115
jet::CompScaleVar::Tau32WTA
@ Tau32WTA
Definition
UncertaintyEnum.h:104
jet::CompScaleVar::Tau21WTA
@ Tau21WTA
Definition
UncertaintyEnum.h:103
jet::CompScaleVar::isResolutionType
bool isResolutionType(const TypeEnum type)
Definition
UncertaintyEnum.cxx:348
jet::CompScaleVar::isAbsResolutionType
bool isAbsResolutionType(const TypeEnum type)
Definition
UncertaintyEnum.cxx:365
jet::CompScaleVar::enumToString
TString enumToString(const TypeEnum type)
Definition
UncertaintyEnum.cxx:250
jet::CompTaggerRegionVar::enumToString
TString enumToString(const TypeEnum type)
Definition
UncertaintyEnum.cxx:450
jet::CompTaggerRegionVar::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition
UncertaintyEnum.cxx:462
jet::CompTaggerRegionVar::TypeEnum
TypeEnum
Definition
UncertaintyEnum.h:149
jet::CompTaggerRegionVar::passMpassD2_2Var
@ passMpassD2_2Var
Definition
UncertaintyEnum.h:151
jet::CompTaggerRegionVar::failMfailD2_2Var
@ failMfailD2_2Var
Definition
UncertaintyEnum.h:154
jet::CompTaggerRegionVar::passMfailD2_2Var
@ passMfailD2_2Var
Definition
UncertaintyEnum.h:152
jet::CompTaggerRegionVar::failMpassD2_2Var
@ failMpassD2_2Var
Definition
UncertaintyEnum.h:153
jet::CompTaggerRegionVar::UNKNOWN
@ UNKNOWN
Definition
UncertaintyEnum.h:150
jet::FlavourComp::enumToString
TString enumToString(const TypeEnum type)
Definition
UncertaintyEnum.cxx:526
jet::FlavourComp::TypeEnum
TypeEnum
Definition
UncertaintyEnum.h:177
jet::FlavourComp::PerJetResponse_LQ
@ PerJetResponse_LQ
Definition
UncertaintyEnum.h:184
jet::FlavourComp::bJES
@ bJES
Definition
UncertaintyEnum.h:181
jet::FlavourComp::PerJetResponse
@ PerJetResponse
Definition
UncertaintyEnum.h:182
jet::FlavourComp::UNKNOWN
@ UNKNOWN
Definition
UncertaintyEnum.h:178
jet::FlavourComp::Composition
@ Composition
Definition
UncertaintyEnum.h:180
jet::FlavourComp::PerJetResponse_B
@ PerJetResponse_B
Definition
UncertaintyEnum.h:185
jet::FlavourComp::PerJetResponse_Gluon
@ PerJetResponse_Gluon
Definition
UncertaintyEnum.h:183
jet::FlavourComp::PerJetResponse_C
@ PerJetResponse_C
Definition
UncertaintyEnum.h:186
jet::FlavourComp::Response
@ Response
Definition
UncertaintyEnum.h:179
jet::FlavourComp::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition
UncertaintyEnum.cxx:542
jet::Interpolate::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition
UncertaintyEnum.cxx:657
jet::Interpolate::enumToString
TString enumToString(const TypeEnum type)
Definition
UncertaintyEnum.cxx:645
jet::Interpolate::TypeEnum
TypeEnum
Definition
UncertaintyEnum.h:241
jet::Interpolate::None
@ None
Definition
UncertaintyEnum.h:243
jet::Interpolate::Full
@ Full
Definition
UncertaintyEnum.h:244
jet::Interpolate::OnlyY
@ OnlyY
Definition
UncertaintyEnum.h:246
jet::Interpolate::OnlyX
@ OnlyX
Definition
UncertaintyEnum.h:245
jet::Interpolate::UNKNOWN
@ UNKNOWN
Definition
UncertaintyEnum.h:242
jet::JetTopology::TypeEnum
TypeEnum
Definition
UncertaintyEnum.h:208
jet::JetTopology::Top
@ Top
Definition
UncertaintyEnum.h:213
jet::JetTopology::Hbb
@ Hbb
Definition
UncertaintyEnum.h:212
jet::JetTopology::MIXED
@ MIXED
Definition
UncertaintyEnum.h:214
jet::JetTopology::QCD
@ QCD
Definition
UncertaintyEnum.h:210
jet::JetTopology::WZ
@ WZ
Definition
UncertaintyEnum.h:211
jet::JetTopology::UNKNOWN
@ UNKNOWN
Definition
UncertaintyEnum.h:209
jet::JetTopology::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition
UncertaintyEnum.cxx:622
jet::JetTopology::enumToString
TString enumToString(const TypeEnum type)
Definition
UncertaintyEnum.cxx:609
jet::PileupComp::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition
UncertaintyEnum.cxx:500
jet::PileupComp::enumToString
TString enumToString(const TypeEnum type)
Definition
UncertaintyEnum.cxx:488
jet::PileupComp::TypeEnum
TypeEnum
Definition
UncertaintyEnum.h:163
jet::PileupComp::OffsetNPV
@ OffsetNPV
Definition
UncertaintyEnum.h:165
jet::PileupComp::PtTerm
@ PtTerm
Definition
UncertaintyEnum.h:167
jet::PileupComp::UNKNOWN
@ UNKNOWN
Definition
UncertaintyEnum.h:164
jet::PileupComp::RhoTopology
@ RhoTopology
Definition
UncertaintyEnum.h:168
jet::PileupComp::OffsetMu
@ OffsetMu
Definition
UncertaintyEnum.h:166
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
type
Generated on
for ATLAS Offline Software by
1.17.0