ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
TrackingID
InDetTrackSystematicsTools
InDetTrackSystematicsTools
InDetTrackSystematics.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
/*
3
Copyright (C) 2002-2025 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
// weak mode alignment systematics
19
TRK_BIAS_D0_WM
,
20
TRK_BIAS_Z0_WM
,
21
TRK_BIAS_QOVERP_SAGITTA_WM
,
22
// uncertainties in the fake rate for Loose and TightPrimary
23
TRK_FAKE_RATE_LOOSE
,
24
TRK_FAKE_RATE_TIGHT
,
25
TRK_FAKE_RATE_LOOSE_INCL
,
26
// uncertainties in the efficiency for two cut levels, "Loose" and "TightPrimary"
27
// evaluated from extra material in the whole ID, in the IBL, and in the barrel/endcap overlap region (PP0 - "patch panel 0")
28
TRK_EFF_LOOSE_GLOBAL
,
29
TRK_EFF_LOOSE_IBL
,
30
TRK_EFF_LOOSE_PP0
,
31
TRK_EFF_LOOSE_PHYSMODEL
,
32
TRK_EFF_TIGHT_GLOBAL
,
33
TRK_EFF_TIGHT_IBL
,
34
TRK_EFF_TIGHT_PP0
,
35
TRK_EFF_TIGHT_PHYSMODEL
,
36
TRK_EFF_LARGED0_GLOBAL
,
37
// uncertainty for tracking efficiency in jets
38
TRK_EFF_LOOSE_TIDE
,
39
// uncertainties for tracking fake rates in jets
40
TRK_FAKE_RATE_TIGHT_TIDE
,
41
TRK_FAKE_RATE_LOOSE_TIDE
,
42
43
// combined efficiency systematics for use in downstream objects such as secondary vertexing ONLY
44
// this is not an additional systematic, but rather a replacement for the standard efficiencies in objects where four variations are prohibitive
45
TRK_EFF_LOOSE_COMBINED
,
46
TRK_EFF_TIGHT_COMBINED
,
47
};
48
49
// without getting too crafty with macros, this map needs to be maintained with the enum above
50
// using macros to prevent a bug that's popped up twice now, in which the key did not march the target
51
static
const
std::unordered_map< InDet::TrackSystematic, CP::SystematicVariation, std::hash<int> >
52
TrackSystematicMap
= {
53
#define DEF_SYST( NAME ) {TRK_##NAME, CP::SystematicVariation("TRK_" #NAME )}
54
DEF_SYST
( RES_D0_MEAS ),
55
DEF_SYST
( RES_Z0_MEAS ),
56
DEF_SYST
( BIAS_D0_WM ),
57
DEF_SYST
( BIAS_Z0_WM ),
58
DEF_SYST
( BIAS_QOVERP_SAGITTA_WM ),
59
DEF_SYST
( FAKE_RATE_LOOSE ),
60
DEF_SYST
( FAKE_RATE_TIGHT ),
61
DEF_SYST
( FAKE_RATE_LOOSE_INCL ),
62
DEF_SYST
( EFF_LOOSE_GLOBAL ),
63
DEF_SYST
( EFF_LOOSE_IBL ),
64
DEF_SYST
( EFF_LOOSE_PP0 ),
65
DEF_SYST
( EFF_LOOSE_PHYSMODEL ),
66
DEF_SYST
( EFF_TIGHT_GLOBAL ),
67
DEF_SYST
( EFF_TIGHT_IBL ),
68
DEF_SYST
( EFF_TIGHT_PP0 ),
69
DEF_SYST
( EFF_TIGHT_PHYSMODEL ),
70
DEF_SYST
( EFF_LOOSE_TIDE ),
71
DEF_SYST
( EFF_LARGED0_GLOBAL ),
72
DEF_SYST
( FAKE_RATE_TIGHT_TIDE ),
73
DEF_SYST
( FAKE_RATE_LOOSE_TIDE ),
74
DEF_SYST
( EFF_LOOSE_COMBINED ),
75
DEF_SYST
( EFF_TIGHT_COMBINED ),
76
#undef DEF_SYST
77
};
78
79
80
}
81
82
#endif
DEF_SYST
#define DEF_SYST(NAME)
SystematicVariation.h
InDet::TrackSystematic
TrackSystematic
Definition
InDetTrackSystematics.h:14
InDet::TRK_EFF_LOOSE_TIDE
@ TRK_EFF_LOOSE_TIDE
Definition
InDetTrackSystematics.h:38
InDet::TRK_EFF_TIGHT_PHYSMODEL
@ TRK_EFF_TIGHT_PHYSMODEL
Definition
InDetTrackSystematics.h:35
InDet::TRK_EFF_TIGHT_COMBINED
@ TRK_EFF_TIGHT_COMBINED
Definition
InDetTrackSystematics.h:46
InDet::TRK_EFF_TIGHT_IBL
@ TRK_EFF_TIGHT_IBL
Definition
InDetTrackSystematics.h:33
InDet::TRK_EFF_LOOSE_COMBINED
@ TRK_EFF_LOOSE_COMBINED
Definition
InDetTrackSystematics.h:45
InDet::TRK_FAKE_RATE_TIGHT_TIDE
@ TRK_FAKE_RATE_TIGHT_TIDE
Definition
InDetTrackSystematics.h:40
InDet::TRK_EFF_LOOSE_PHYSMODEL
@ TRK_EFF_LOOSE_PHYSMODEL
Definition
InDetTrackSystematics.h:31
InDet::TRK_EFF_LARGED0_GLOBAL
@ TRK_EFF_LARGED0_GLOBAL
Definition
InDetTrackSystematics.h:36
InDet::TRK_FAKE_RATE_LOOSE
@ TRK_FAKE_RATE_LOOSE
Definition
InDetTrackSystematics.h:23
InDet::TRK_EFF_LOOSE_PP0
@ TRK_EFF_LOOSE_PP0
Definition
InDetTrackSystematics.h:30
InDet::TRK_FAKE_RATE_LOOSE_INCL
@ TRK_FAKE_RATE_LOOSE_INCL
Definition
InDetTrackSystematics.h:25
InDet::TRK_FAKE_RATE_LOOSE_TIDE
@ TRK_FAKE_RATE_LOOSE_TIDE
Definition
InDetTrackSystematics.h:41
InDet::TRK_RES_D0_MEAS
@ TRK_RES_D0_MEAS
Definition
InDetTrackSystematics.h:16
InDet::TRK_EFF_TIGHT_PP0
@ TRK_EFF_TIGHT_PP0
Definition
InDetTrackSystematics.h:34
InDet::TRK_EFF_TIGHT_GLOBAL
@ TRK_EFF_TIGHT_GLOBAL
Definition
InDetTrackSystematics.h:32
InDet::TRK_EFF_LOOSE_GLOBAL
@ TRK_EFF_LOOSE_GLOBAL
Definition
InDetTrackSystematics.h:28
InDet::TRK_BIAS_Z0_WM
@ TRK_BIAS_Z0_WM
Definition
InDetTrackSystematics.h:20
InDet::TRK_EFF_LOOSE_IBL
@ TRK_EFF_LOOSE_IBL
Definition
InDetTrackSystematics.h:29
InDet::TRK_FAKE_RATE_TIGHT
@ TRK_FAKE_RATE_TIGHT
Definition
InDetTrackSystematics.h:24
InDet::TRK_BIAS_QOVERP_SAGITTA_WM
@ TRK_BIAS_QOVERP_SAGITTA_WM
Definition
InDetTrackSystematics.h:21
InDet::TRK_BIAS_D0_WM
@ TRK_BIAS_D0_WM
Definition
InDetTrackSystematics.h:19
InDet::TRK_RES_Z0_MEAS
@ TRK_RES_Z0_MEAS
Definition
InDetTrackSystematics.h:17
InDet::TrackSystematicMap
static const std::unordered_map< InDet::TrackSystematic, CP::SystematicVariation, std::hash< int > > TrackSystematicMap
Definition
InDetTrackSystematics.h:52
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0