ATLAS Offline Software
CaloSwGap_v3.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2 
3 #
4 # File: CaloClusterCorrection/python/CaloSwGap_v3.py
5 # Created: Nov 2006, sss
6 # Purpose: Gap correction, v3 and v3_1.
7 #
8 # These corrections were derived by Stathes Paganis.
9 # The electron corrections were derived using 11.0.41 simulation
10 # and 12.0.0 reconstruction; the photon corrections were derived using
11 # 11.0.42 simulation and 12.0.2 reconstruction.
12 #
13 # There are two versions exported by this file.
14 # `v3' has electrons only (the electron corrections are reused for photon
15 # clusters). This was added in CaloClusterCorrection-00-02-38,
16 # in 12.0.0.
17 # `v3_1' has both electrons and photons. This was added in
18 # CaloClusterCorrection-00-02-59, in 12.0.3.
19 #
20 
21 
22 from CaloClusterCorrection.constants import CALOCORR_CLUSTER
23 
24 
28 
29 CaloSwGap_v3_ele55 = [
30  # escale wgapSci eoffset
31 [ 1.437500, 1.1498, 0.9545, 2972.83 ],
32 [ 1.462500, 1.2299, 1.0339, 1624.10 ],
33 [ 1.487500, 1.0880, 1.0825, 3795.40 ],
34 [ 1.512500, 0.9159, 1.0438, 4195.66 ],
35 [ 1.537500, 0.9117, 0.9788, 1253.47 ]
36 ]
37 
38 CaloSwGap_v3_ele35 = [
39  # escale wgapSci eoffset
40 [ 1.437500, 1.1745, 0.9115, 1903.38 ],
41 [ 1.462500, 1.2119, 1.0519, 1949.33 ],
42 [ 1.487500, 1.2003, 1.0679, 2402.09 ],
43 [ 1.512500, 0.9087, 1.0533, 4849.28 ],
44 [ 1.537500, 0.9067, 0.9731, 2600.90 ]
45 ]
46 
47 CaloSwGap_v3_ele37 = [
48  # escale wgapSci eoffset
49 [ 1.437500, 1.1546, 0.9099, 1771.53 ],
50 [ 1.462500, 1.1984, 1.0602, 1611.72 ],
51 [ 1.487500, 1.1767, 1.0181, 2359.71 ],
52 [ 1.512500, 0.9048, 1.0079, 4507.59 ],
53 [ 1.537500, 0.9095, 0.9669, 1751.92 ]
54 ]
55 
56 CaloSwGap_v3_gam55 = [
57  # escale wgapSci eoffset
58 [ 1.437500, 1.1379, 1.1252, 1402.07 ],
59 [ 1.462500, 1.1900, 1.1362, 531.62 ],
60 [ 1.487500, 1.1673, 1.0685, 3112.60 ],
61 [ 1.512500, 1.0159, 1.0766, 677.68 ],
62 [ 1.537500, 1.0263, 1.0011, 0.00 ]
63 ]
64 
65 CaloSwGap_v3_gam35 = [
66  # escale wgapSci eoffset
67 [ 1.437500, 1.1555, 1.1208, 911.61 ],
68 [ 1.462500, 1.2645, 1.1105, 623.80 ],
69 [ 1.487500, 1.1801, 1.1676, 3272.09 ],
70 [ 1.512500, 1.0255, 1.0583, 1261.91 ],
71 [ 1.537500, 1.0463, 1.0175, 0.00 ]
72 ]
73 
74 CaloSwGap_v3_gam37 = [
75  # escale wgapSci eoffset
76 [ 1.437500, 1.1384, 1.1418, 1355.28 ],
77 [ 1.462500, 1.2120, 1.1211, 1894.89 ],
78 [ 1.487500, 1.1407, 1.2279, 2662.74 ],
79 [ 1.512500, 1.0316, 1.0785, 464.67 ],
80 [ 1.537500, 1.0368, 1.0009, 104.17 ]
81 ]
82 
83 
84 
85 
86 
87 
88 # For this version, the photon corrections are the same as the electrons.
90  region = CALOCORR_CLUSTER
91  etamin_crack = 1.425
92  etamax_crack = 1.55
93  degree = 3
94  use_raw_eta = False
95  correction = {'ele55' : CaloSwGap_v3_ele55,
96  'ele35' : CaloSwGap_v3_ele35,
97  'ele37' : CaloSwGap_v3_ele37,
98  'gam55' : CaloSwGap_v3_ele55,
99  'gam35' : CaloSwGap_v3_ele35,
100  'gam37' : CaloSwGap_v3_ele37}
101 
102 
103 # This version has separate electron and photon corrections.
105  region = CALOCORR_CLUSTER
106  etamin_crack = 1.425
107  etamax_crack = 1.55
108  degree = 3
109  use_raw_eta = False
110  correction = {'ele55' : CaloSwGap_v3_ele55,
111  'ele35' : CaloSwGap_v3_ele35,
112  'ele37' : CaloSwGap_v3_ele37,
113  'gam55' : CaloSwGap_v3_gam55,
114  'gam35' : CaloSwGap_v3_gam35,
115  'gam37' : CaloSwGap_v3_gam37,
116 
117  # Use 5x5 for cluster sizes that aren't explicitly derived.
118  'ele33' : CaloSwGap_v3_ele55,
119  'ele57' : CaloSwGap_v3_ele55,
120  'ele77' : CaloSwGap_v3_ele55,
121  'gam33' : CaloSwGap_v3_gam55,
122  'gam57' : CaloSwGap_v3_gam55,
123  'gam77' : CaloSwGap_v3_gam55,
124  }
125 
CaloSwGap_v3.CaloSwGap_v3_parms
Definition: CaloSwGap_v3.py:89
CaloSwGap_v3.CaloSwGap_v3_1_parms
Definition: CaloSwGap_v3.py:104