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