ATLAS Offline Software
PhysicsAnalysis
TrackingID
InDetTrackSystematicsTools
InDetTrackSystematicsTools
InDetTrackSystematics.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
/*
3
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4
*/
5
6
#ifndef INDETTRACKSYSTEMATICSTOOLS_INDETTRACKSYSTEMATICS_H
7
#define INDETTRACKSYSTEMATICSTOOLS_INDETTRACKSYSTEMATICS_H
8
9
#include "
PATInterfaces/SystematicVariation.h
"
10
#include <unordered_map>
11
12
namespace
InDet
{
13
14
enum
TrackSystematic
{
15
// resolution smearing systematics from material and dead sensors
16
TRK_RES_D0_MEAS
,
17
TRK_RES_Z0_MEAS
,
18
TRK_RES_D0_MEAS_UP
,
19
TRK_RES_Z0_MEAS_UP
,
20
TRK_RES_D0_MEAS_DOWN
,
21
TRK_RES_Z0_MEAS_DOWN
,
22
TRK_RES_D0_DEAD
,
23
TRK_RES_Z0_DEAD
,
24
// weak mode alignment systematics
25
TRK_BIAS_D0_WM
,
26
TRK_BIAS_Z0_WM
,
27
TRK_BIAS_QOVERP_SAGITTA_WM
,
28
// a (currently 30%) uncertainty in the fake rate - this needs to be updated for Loose vs. TightPrimary
29
TRK_FAKE_RATE_LOOSE
,
30
TRK_FAKE_RATE_TIGHT
,
31
// uncertainties in the efficiency for two cut levels, "Loose" and "TightPrimary"
32
// evaluated from extra material in the whole ID, in the IBL, and in the barrel/endcap overlap region (PP0 - "patch panel 0")
33
TRK_EFF_LOOSE_GLOBAL
,
34
TRK_EFF_LOOSE_IBL
,
35
TRK_EFF_LOOSE_PP0
,
36
TRK_EFF_LOOSE_PHYSMODEL
,
37
TRK_EFF_TIGHT_GLOBAL
,
38
TRK_EFF_TIGHT_IBL
,
39
TRK_EFF_TIGHT_PP0
,
40
TRK_EFF_TIGHT_PHYSMODEL
,
41
TRK_EFF_LARGED0_GLOBAL
,
42
TRK_EFF_LARGED0_IBL
,
43
TRK_EFF_LARGED0_PP0
,
44
TRK_EFF_LARGED0_PHYSMODEL
,
45
// uncertainty for tracking efficiency in jets
46
TRK_EFF_LOOSE_TIDE
,
47
// uncertainties for tracking fake rates in jets
48
TRK_FAKE_RATE_TIGHT_TIDE
,
49
TRK_FAKE_RATE_LOOSE_TIDE
,
50
TRK_FAKE_RATE_LOOSE_ROBUST
51
};
52
53
// without getting too crafty with macros, this map needs to be maintained with the enum above
54
// using macros to prevent a bug that's popped up twice now, in which the key did not march the target
55
static
const
std::unordered_map< InDet::TrackSystematic, CP::SystematicVariation, std::hash<int> >
56
TrackSystematicMap
= {
57
#define DEF_SYST( NAME ) {TRK_##NAME, CP::SystematicVariation("TRK_" #NAME )}
58
DEF_SYST
( RES_D0_MEAS ),
59
DEF_SYST
( RES_Z0_MEAS ),
60
{
TRK_RES_D0_MEAS_UP
,
CP::SystematicVariation
(
"TRK_RES_D0_MEAS"
, 1)},
61
{
TRK_RES_Z0_MEAS_UP
,
CP::SystematicVariation
(
"TRK_RES_Z0_MEAS"
, 1)},
62
{
TRK_RES_D0_MEAS_DOWN
,
CP::SystematicVariation
(
"TRK_RES_D0_MEAS"
, -1)},
63
{
TRK_RES_Z0_MEAS_DOWN
,
CP::SystematicVariation
(
"TRK_RES_Z0_MEAS"
, -1)},
64
DEF_SYST
( RES_D0_DEAD ),
65
DEF_SYST
( RES_Z0_DEAD ),
66
DEF_SYST
( BIAS_D0_WM ),
67
DEF_SYST
( BIAS_Z0_WM ),
68
DEF_SYST
( BIAS_QOVERP_SAGITTA_WM ),
69
DEF_SYST
( FAKE_RATE_LOOSE ),
70
DEF_SYST
( FAKE_RATE_TIGHT ),
71
DEF_SYST
( EFF_LOOSE_GLOBAL ),
72
DEF_SYST
( EFF_LOOSE_IBL ),
73
DEF_SYST
( EFF_LOOSE_PP0 ),
74
DEF_SYST
( EFF_LOOSE_PHYSMODEL ),
75
DEF_SYST
( EFF_TIGHT_GLOBAL ),
76
DEF_SYST
( EFF_TIGHT_IBL ),
77
DEF_SYST
( EFF_TIGHT_PP0 ),
78
DEF_SYST
( EFF_TIGHT_PHYSMODEL ),
79
DEF_SYST
( EFF_LOOSE_TIDE ),
80
DEF_SYST
( EFF_LARGED0_GLOBAL ),
81
DEF_SYST
( EFF_LARGED0_IBL ),
82
DEF_SYST
( EFF_LARGED0_PP0 ),
83
DEF_SYST
( EFF_LARGED0_PHYSMODEL ),
84
DEF_SYST
( FAKE_RATE_TIGHT_TIDE ),
85
DEF_SYST
( FAKE_RATE_LOOSE_TIDE ),
86
DEF_SYST
( FAKE_RATE_LOOSE_ROBUST )
87
#undef DEF_SYST
88
};
89
90
91
}
92
93
#endif
InDet::TRK_FAKE_RATE_TIGHT
@ TRK_FAKE_RATE_TIGHT
Definition:
InDetTrackSystematics.h:30
InDet::TRK_EFF_LARGED0_IBL
@ TRK_EFF_LARGED0_IBL
Definition:
InDetTrackSystematics.h:42
InDet::TRK_EFF_TIGHT_PP0
@ TRK_EFF_TIGHT_PP0
Definition:
InDetTrackSystematics.h:39
InDet
Primary Vertex Finder.
Definition:
VP1ErrorUtils.h:36
InDet::TRK_BIAS_QOVERP_SAGITTA_WM
@ TRK_BIAS_QOVERP_SAGITTA_WM
Definition:
InDetTrackSystematics.h:27
InDet::TRK_EFF_LARGED0_PP0
@ TRK_EFF_LARGED0_PP0
Definition:
InDetTrackSystematics.h:43
InDet::TRK_RES_Z0_MEAS_UP
@ TRK_RES_Z0_MEAS_UP
Definition:
InDetTrackSystematics.h:19
InDet::TRK_BIAS_D0_WM
@ TRK_BIAS_D0_WM
Definition:
InDetTrackSystematics.h:25
InDet::TRK_EFF_LARGED0_PHYSMODEL
@ TRK_EFF_LARGED0_PHYSMODEL
Definition:
InDetTrackSystematics.h:44
CP::SystematicVariation
Definition:
SystematicVariation.h:47
InDet::TRK_EFF_LOOSE_PP0
@ TRK_EFF_LOOSE_PP0
Definition:
InDetTrackSystematics.h:35
InDet::TRK_FAKE_RATE_TIGHT_TIDE
@ TRK_FAKE_RATE_TIGHT_TIDE
Definition:
InDetTrackSystematics.h:48
InDet::TRK_RES_D0_MEAS_DOWN
@ TRK_RES_D0_MEAS_DOWN
Definition:
InDetTrackSystematics.h:20
InDet::TRK_FAKE_RATE_LOOSE_TIDE
@ TRK_FAKE_RATE_LOOSE_TIDE
Definition:
InDetTrackSystematics.h:49
InDet::TRK_FAKE_RATE_LOOSE_ROBUST
@ TRK_FAKE_RATE_LOOSE_ROBUST
Definition:
InDetTrackSystematics.h:50
InDet::TrackSystematicMap
static const std::unordered_map< InDet::TrackSystematic, CP::SystematicVariation, std::hash< int > > TrackSystematicMap
Definition:
InDetTrackSystematics.h:56
InDet::TRK_RES_Z0_MEAS_DOWN
@ TRK_RES_Z0_MEAS_DOWN
Definition:
InDetTrackSystematics.h:21
InDet::TRK_EFF_LOOSE_PHYSMODEL
@ TRK_EFF_LOOSE_PHYSMODEL
Definition:
InDetTrackSystematics.h:36
InDet::TrackSystematic
TrackSystematic
Definition:
InDetTrackSystematics.h:14
InDet::TRK_EFF_TIGHT_GLOBAL
@ TRK_EFF_TIGHT_GLOBAL
Definition:
InDetTrackSystematics.h:37
InDet::TRK_BIAS_Z0_WM
@ TRK_BIAS_Z0_WM
Definition:
InDetTrackSystematics.h:26
InDet::TRK_EFF_TIGHT_IBL
@ TRK_EFF_TIGHT_IBL
Definition:
InDetTrackSystematics.h:38
InDet::TRK_EFF_LOOSE_IBL
@ TRK_EFF_LOOSE_IBL
Definition:
InDetTrackSystematics.h:34
InDet::TRK_RES_D0_MEAS
@ TRK_RES_D0_MEAS
Definition:
InDetTrackSystematics.h:16
InDet::TRK_RES_Z0_DEAD
@ TRK_RES_Z0_DEAD
Definition:
InDetTrackSystematics.h:23
InDet::TRK_EFF_TIGHT_PHYSMODEL
@ TRK_EFF_TIGHT_PHYSMODEL
Definition:
InDetTrackSystematics.h:40
InDet::TRK_FAKE_RATE_LOOSE
@ TRK_FAKE_RATE_LOOSE
Definition:
InDetTrackSystematics.h:29
InDet::TRK_EFF_LOOSE_TIDE
@ TRK_EFF_LOOSE_TIDE
Definition:
InDetTrackSystematics.h:46
InDet::TRK_EFF_LARGED0_GLOBAL
@ TRK_EFF_LARGED0_GLOBAL
Definition:
InDetTrackSystematics.h:41
InDet::TRK_RES_D0_DEAD
@ TRK_RES_D0_DEAD
Definition:
InDetTrackSystematics.h:22
InDet::TRK_RES_Z0_MEAS
@ TRK_RES_Z0_MEAS
Definition:
InDetTrackSystematics.h:17
InDet::TRK_RES_D0_MEAS_UP
@ TRK_RES_D0_MEAS_UP
Definition:
InDetTrackSystematics.h:18
DEF_SYST
#define DEF_SYST(NAME)
InDet::TRK_EFF_LOOSE_GLOBAL
@ TRK_EFF_LOOSE_GLOBAL
Definition:
InDetTrackSystematics.h:33
SystematicVariation.h
Generated on Fri Jan 10 2025 21:11:36 for ATLAS Offline Software by
1.8.18