ATLAS Offline Software
Loading...
Searching...
No Matches
FexThresholdParameters.py
Go to the documentation of this file.
1# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3eta_dependent_cuts_run3 = {
4 'eEM': { # ATR-27067
5 'Tight': {
6 'etarange': (-25,25,1), # min, max, stride
7 'reta': [
8 92,94,90,89,98,107,105,113,101,93,
9 69,106,115,116,119,121,129,126,132,142,
10 141,136,140,139,149,149,139,140,136,141,
11 142,132,126,129,121,119,116,115,106,69,
12 93,101,113,105,107,98,89,90,94,92
13 ],
14 'rhad': [
15 113,155,186,192,170,185,185,194,244,241,
16 194,247,229,235,237,172,169,154,182,169,
17 161,157,151,147,140,140,147,151,157,161,
18 169,182,154,169,172,237,235,229,247,194,
19 241,244,194,185,185,170,192,186,155,113
20 ],
21 'wstot': [
22 8,43,52,51,52,51,51,50,46,46,
23 10,46,45,43,45,45,41,46,43,44,
24 43,42,39,41,41,41,41,39,42,43,
25 44,43,46,41,45,45,43,45,46,10,
26 46,46,50,51,51,52,51,52,43,8
27 ],
28 },
29 'Medium': {
30 'etarange': (-25,25,1), # min, max, stride
31 'reta': [
32 82,85,77,77,87,91,89,95,81,72,
33 43,85,92,92,94,99,101,98,104,109,
34 111,106,110,105,115,115,105,110,106,111,
35 109,104,98,101,99,94,92,92,85,43,
36 72,81,95,89,91,87,77,77,85,82
37 ],
38 'rhad': [
39 94,128,143,143,128,144,139,144,162,178,
40 143,186,180,182,184,138,133,124,143,132,
41 127,126,116,113,109,109,113,116,126,127,
42 132,143,124,133,138,184,182,180,186,143,
43 178,162,144,139,144,128,143,143,128,94
44 ],
45 'wstot': [
46 8,42,50,49,50,50,50,49,46,45,
47 10,45,44,42,44,43,40,45,42,42,
48 42,41,38,40,40,40,40,38,41,42,
49 42,42,45,40,43,44,42,44,45,10,
50 45,46,49,50,50,50,49,50,42,8
51 ],
52 },
53 'Loose': {
54 'etarange': (-25,25,1), # min, max, stride
55 'reta': [
56 74,69,66,67,74,75,75,78,62,56,
57 21,68,72,72,73,76,82,75,82,83,
58 84,81,83,81,86,86,81,83,81,84,
59 83,82,75,82,76,73,72,72,68,21,
60 56,62,78,75,75,74,67,66,69,74
61 ],
62 'rhad': [
63 87,103,107,122,108,113,116,119,133,144,
64 108,148,149,148,150,114,111,102,118,111,
65 102,105,95,91,90,90,91,95,105,102,
66 111,118,102,111,114,150,148,149,148,108,
67 144,133,119,116,113,108,122,107,103,87
68 ],
69 'wstot': [
70 8,38,44,42,46,47,46,46,44,41,
71 9,42,41,38,40,39,32,43,41,39,
72 40,38,32,37,37,37,37,32,38,40,
73 39,41,43,32,39,40,38,41,42,9,
74 41,44,46,46,47,46,42,44,38,8
75 ],
76 }
77 }
78}
79
80eta_dependent_cuts_run4_mu140 = {
81 'eEM': {
82 'Tight': {
83 'etarange': (-25,25,1), # min, max, stride
84 'reta': [
85 104,102,94,100,101,128,117,113,99,111,
86 84,114,108,116,117,131,125,118,126,129,
87 126,128,126,128,124,124,128,126,128,126,
88 129,126,118,125,131,117,116,108,114,84,
89 111,99,113,117,128,101,100,94,102,104
90 ],
91 'rhad': [
92 222,122,155,159,112,104,89,116,135,187,
93 120,138,123,134,151,124,119,98,125,115,
94 106,98,98,95,102,102,95,98,98,106,
95 115,125,98,119,124,151,134,123,138,120,
96 187,135,116,89,104,112,159,155,122,222
97 ],
98 'wstot': [
99 8,43,54,47,45,49,43,54,49,52,
100 8,43,41,44,43,40,40,40,42,40,
101 40,38,40,38,39,39,38,40,38,40,
102 40,42,40,40,40,43,44,41,43,8,
103 52,49,54,43,49,45,47,54,43,8
104 ],
105 },
106 'Medium': {
107 'etarange': (-25,25,1), # min, max, stride
108 'reta': [
109 88,86,80,78,83,109,95,94,83,88,
110 31,102,93,94,94,111,108,92,97,103,
111 103,109,102,105,101,101,105,102,109,103,
112 103,97,92,108,111,94,94,93,102,31,
113 88,83,94,95,109,83,78,80,86,88
114 ],
115 'rhad': [
116 190,84,129,121,75,85,62,75,120,153,
117 84,105,110,102,109,100,96,73,98,82,
118 83,73,76,71,70,70,71,76,73,83,
119 82,98,73,96,100,109,102,110,105,84,
120 153,120,75,62,85,75,121,129,84,190
121 ],
122 'wstot': [
123 8,43,52,47,42,47,43,51,48,51,
124 8,41,41,43,41,37,40,39,41,40,
125 39,38,39,37,38,38,37,39,38,39,
126 40,41,39,40,37,41,43,41,41,8,
127 51,48,51,43,47,42,47,52,43,8
128 ],
129 },
130 'Loose': {
131 'etarange': (-25,25,1), # min, max, stride
132 'reta': [
133 78,73,59,66,69,86,78,76,70,76,
134 21,75,73,72,76,79,72,77,72,78,
135 84,78,74,78,75,75,78,74,78,84,
136 78,72,77,72,79,76,72,73,75,21,
137 76,70,76,78,86,69,66,59,73,78
138 ],
139 'rhad': [
140 166,82,103,118,64,77,56,66,99,117,
141 74,97,105,95,105,88,91,67,94,79,
142 78,61,74,67,64,64,67,74,61,78,
143 79,94,67,91,88,105,95,105,97,74,
144 117,99,66,56,77,64,118,103,82,166
145 ],
146 'wstot': [
147 8,42,42,46,41,43,40,48,45,47,
148 8,38,39,41,35,32,38,36,40,39,
149 39,36,37,36,37,37,36,37,36,39,
150 39,40,36,38,32,35,41,39,38,8,
151 47,45,48,40,43,41,46,42,42,8
152 ],
153 }
154 }
155}
156
157eta_dependent_cuts_run4_mu200 = {
158 'eEM': {
159 'Tight': {
160 'etarange': (-25,25,1), # min, max, stride
161 'reta': [
162 90,84,82,84,94,117,104,90,87,90,
163 62,100,108,101,106,118,113,108,101,95,
164 114,107,105,113,112,112,113,105,107,114,
165 95,101,108,113,118,106,101,108,100,62,
166 90,87,90,104,117,94,84,82,84,90
167 ],
168 'rhad': [
169 98,115,112,91,108,100,89,97,115,188,
170 113,105,96,110,118,73,82,73,98,97,
171 87,79,71,84,69,69,84,71,79,87,
172 97,98,73,82,73,118,110,96,105,113,
173 188,115,97,89,100,108,91,112,115,98
174 ],
175 'wstot': [
176 8,42,49,48,53,44,44,49,49,54,
177 8,41,45,42,39,37,36,42,39,40,
178 40,36,35,36,38,38,36,35,36,40,
179 40,39,42,36,37,39,42,45,41,8,
180 54,49,49,44,44,53,48,49,42,8
181 ],
182 },
183 'Medium': {
184 'etarange': (-25,25,1), # min, max, stride
185 'reta': [
186 82,75,64,73,78,98,88,79,66,74,
187 29,88,95,79,83,104,98,88,84,80,
188 88,84,83,101,93,93,101,83,84,88,
189 80,84,88,98,104,83,79,95,88,29,
190 74,66,79,88,98,78,73,64,75,82
191 ],
192 'rhad': [
193 83,89,83,69,82,86,71,69,94,152,
194 104,86,76,88,89,57,71,64,85,70,
195 67,67,54,56,55,55,56,54,67,67,
196 70,85,64,71,57,89,88,76,86,104,
197 152,94,69,71,86,82,69,83,89,83
198 ],
199 'wstot': [
200 8,42,49,48,53,44,41,48,46,54,
201 8,40,44,41,38,34,36,40,39,40,
202 39,36,34,35,36,36,35,34,36,39,
203 40,39,40,36,34,38,41,44,40,8,
204 54,46,48,41,44,53,48,49,42,8
205 ],
206 },
207 'Loose': {
208 'etarange': (-25,25,1), # min, max, stride
209 'reta': [
210 74,69,55,60,67,79,80,61,48,61,
211 22,63,75,55,72,83,71,76,55,61,
212 73,70,69,78,68,68,78,69,70,73,
213 61,55,76,71,83,72,55,75,63,22,
214 61,48,61,80,79,67,60,55,69,74
215 ],
216 'rhad': [
217 78,85,79,65,82,72,71,64,88,148,
218 98,83,66,64,76,52,66,52,70,68,
219 62,63,48,47,53,53,47,48,63,62,
220 68,70,52,66,52,76,64,66,83,98,
221 148,88,64,71,72,82,65,79,85,78
222 ],
223 'wstot': [
224 8,41,48,45,50,43,39,46,42,49,
225 8,32,43,36,34,33,32,37,38,38,
226 37,32,31,32,32,32,32,31,32,37,
227 38,38,37,32,33,34,36,43,32,8,
228 49,42,46,39,43,50,45,48,41,8
229 ],
230 }
231 }
232}
233
234def getEtaDependentCuts(collisions):
235 if collisions > 190:
236 return eta_dependent_cuts_run4_mu200
237 elif collisions > 130:
238 return eta_dependent_cuts_run4_mu140
239 else:
240 return eta_dependent_cuts_run3