ATLAS Offline Software
CaloSwLongWeights_pi0_v1.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2 
3 # File: CaloClusterCorrection/python/CaloSwLongWeights_pi0v1.py
4 # Created: Feb 2010 GU
5 # Purpose: Longitudinal weights corrections, pi0v1.
6 #
7 # The corrections were derived by Y.Fang
8 # should be applied to low energy 3x5 seeded by EM topo
9 
10 
11 from CaloClusterCorrection.constants import CALOCORR_COMBINED2
12 
15 CaloSwLongWeights_pi0_v1_gam35 = [
16 [ 0.012500, 0.681000, 0.433800, 1.094900, 0.000000 ],
17 [ 0.037500, 0.715800, 0.388500, 1.035800, 0.000000 ],
18 [ 0.062500, 0.718900, 0.466500, 1.037600, 0.000000 ],
19 [ 0.087500, 0.738600, 0.448900, 1.038800, 0.000000 ],
20 [ 0.112500, 0.759900, 0.333600, 1.033700, 0.000000 ],
21 [ 0.137500, 0.721700, 0.449300, 1.046700, 0.000000 ],
22 [ 0.162500, 0.690000, 0.394500, 1.043000, 0.000000 ],
23 [ 0.187500, 0.758900, 0.390400, 1.043600, 0.000000 ],
24 [ 0.212500, 0.699300, 0.403100, 1.033400, 0.000000 ],
25 [ 0.237500, 0.711600, 0.423200, 1.029800, 0.000000 ],
26 [ 0.262500, 0.694900, 0.445100, 1.036000, 0.000000 ],
27 [ 0.287500, 0.705600, 0.363000, 1.031100, 0.000000 ],
28 [ 0.312500, 0.699200, 0.348100, 1.034400, 0.000000 ],
29 [ 0.337500, 0.712500, 0.370800, 1.030000, 0.000000 ],
30 [ 0.362500, 0.726700, 0.411800, 1.039700, 0.000000 ],
31 [ 0.387500, 0.727300, 0.351400, 1.023300, 0.000000 ],
32 [ 0.412500, 0.720900, 0.314100, 1.028700, 0.000000 ],
33 [ 0.437500, 0.741300, 0.329900, 1.039600, 0.000000 ],
34 [ 0.462500, 0.696900, 0.323700, 1.046900, 0.000000 ],
35 [ 0.487500, 0.743700, 0.394600, 1.052000, 0.000000 ],
36 [ 0.512500, 0.727800, 0.372500, 1.045700, 0.000000 ],
37 [ 0.537500, 0.735700, 0.464400, 1.050400, 0.000000 ],
38 [ 0.562500, 0.763100, 0.365900, 1.046100, 0.000000 ],
39 [ 0.587500, 0.748600, 0.405200, 1.047500, 0.000000 ],
40 [ 0.612500, 0.801500, 0.426100, 1.048100, 0.000000 ],
41 [ 0.637500, 0.791700, 0.366200, 1.046300, 0.000000 ],
42 [ 0.662500, 0.871000, 0.413900, 1.056200, 0.000000 ],
43 [ 0.687500, 0.782500, 0.482200, 1.079800, 0.000000 ],
44 [ 0.712500, 0.869400, 0.356100, 1.073000, 0.000000 ],
45 [ 0.737500, 0.874300, 0.396600, 1.068100, 0.000000 ],
46 [ 0.762500, 0.857800, 0.347900, 1.080000, 0.000000 ],
47 [ 0.787500, 0.882000, 0.423200, 1.119400, 0.000000 ],
48 [ 0.812500, 0.938600, 0.423800, 1.154400, 0.000000 ],
49 [ 0.837500, 0.930400, 0.412400, 1.116800, 0.000000 ],
50 [ 0.862500, 0.924100, 0.458100, 1.117700, 0.000000 ],
51 [ 0.887500, 0.895000, 0.231200, 1.137000, 0.000000 ],
52 [ 0.912500, 0.946100, 0.323200, 1.111200, 0.000000 ],
53 [ 0.937500, 0.955200, 0.425500, 1.111500, 0.000000 ],
54 [ 0.962500, 0.962100, 0.261900, 1.115800, 0.000000 ],
55 [ 0.987500, 0.974300, 0.399700, 1.123000, 0.000000 ],
56 [ 1.012500, 0.946100, 0.351500, 1.128500, 0.000000 ],
57 [ 1.037500, 0.907000, 0.296900, 1.146400, 0.000000 ],
58 [ 1.062500, 0.968900, 0.418200, 1.148500, 0.000000 ],
59 [ 1.087500, 0.937100, 0.342100, 1.144500, 0.000000 ],
60 [ 1.112500, 0.996000, 0.443600, 1.156900, 0.000000 ],
61 [ 1.137500, 0.961100, 0.394100, 1.146900, 0.000000 ],
62 [ 1.162500, 0.961300, 0.334700, 1.156400, 0.000000 ],
63 [ 1.187500, 1.001600, 0.500000, 1.162500, 0.000000 ],
64 [ 1.212500, 0.961400, 0.388400, 1.147700, 0.000000 ],
65 [ 1.237500, 0.987300, 0.428000, 1.171200, 0.000000 ],
66 [ 1.262500, 0.943200, 0.490000, 1.172000, 0.000000 ],
67 [ 1.287500, 0.998000, 0.342300, 1.177500, 0.000000 ],
68 [ 1.312500, 1.015800, 0.323800, 1.168700, 0.000000 ],
69 [ 1.337500, 1.003500, 0.500000, 1.196800, 0.000000 ],
70 [ 1.362500, 1.047900, 0.000000, 1.210000, 0.000000 ],
71 [ 1.387500, 0.924700, 0.000000, 1.237800, 0.000000 ],
72 [ 1.412500, 1.019900, 0.475000, 1.165900, 0.000000 ],
73 [ 1.437500, 0.889900, 0.000100, 1.232000, 0.000000 ],
74 [ 1.462500, 0.892900, 0.000000, 1.374300, 0.000000 ],
75 [ 1.487500, 0.875600, 0.137400, 1.539200, 0.000000 ],
76 [ 1.512500, 1.204200, 0.184700, 1.357500, 0.000000 ],
77 [ 1.537500, 0.983100, 0.500000, 1.194800, 0.000000 ],
78 [ 1.562500, 0.890800, 0.338300, 1.141200, 0.000000 ],
79 [ 1.587500, 0.776700, 0.273000, 1.158400, 0.000000 ],
80 [ 1.612500, 0.876500, 0.252800, 1.131800, 0.000000 ],
81 [ 1.637500, 0.864100, 0.376300, 1.158800, 0.000000 ],
82 [ 1.662500, 0.946800, 0.447800, 1.176400, 0.000000 ],
83 [ 1.687500, 0.898600, 0.471500, 1.198800, 0.000000 ],
84 [ 1.712500, 0.812600, 0.493000, 1.142100, 0.000000 ],
85 [ 1.737500, 0.741000, 0.353500, 1.110000, 0.000000 ],
86 [ 1.762500, 0.722400, 0.380200, 1.115200, 0.000000 ],
87 [ 1.787500, 0.707300, 0.402500, 1.103600, 0.000000 ],
88 [ 1.812500, 0.630500, 0.309000, 1.093500, 0.000000 ],
89 [ 1.837500, 0.000000, 0.358000, 1.107500, 9.382600 ],
90 [ 1.862500, 0.000000, 0.298700, 1.106200, 0.000000 ],
91 [ 1.887500, 0.000000, 0.319100, 1.104400, 10.075600 ],
92 [ 1.912500, 0.000000, 0.416400, 1.110300, 4.154000 ],
93 [ 1.937500, 0.000000, 0.270000, 1.111000, 4.018300 ],
94 [ 1.962500, 0.000000, 0.400700, 1.092300, 40.540200 ],
95 [ 1.987500, 0.000000, 0.340900, 1.111200, 12.168900 ],
96 [ 2.012500, 0.000000, 0.346700, 1.107800, 35.273400 ],
97 [ 2.037500, 0.000000, 0.351200, 1.119600, 31.908900 ],
98 [ 2.062500, 0.000000, 0.252400, 1.117300, 31.065200 ],
99 [ 2.087500, 0.000000, 0.271100, 1.119100, 28.540500 ],
100 [ 2.112500, 0.000000, 0.301400, 1.119100, 29.658700 ],
101 [ 2.137500, 0.000000, 0.327700, 1.119000, 37.563300 ],
102 [ 2.162500, 0.000000, 0.313800, 1.112800, 48.622700 ],
103 [ 2.187500, 0.000000, 0.315000, 1.114500, 47.655800 ],
104 [ 2.212500, 0.000000, 0.311600, 1.115500, 33.834200 ],
105 [ 2.237500, 0.000000, 0.253200, 1.118500, 25.732200 ],
106 [ 2.262500, 0.000000, 0.260800, 1.120000, 7.574600 ],
107 [ 2.287500, 0.000000, 0.230700, 1.112400, 39.195500 ],
108 [ 2.312500, 0.000000, 0.293100, 1.117900, 48.256400 ],
109 [ 2.337500, 0.000000, 0.276200, 1.119600, 54.787100 ],
110 [ 2.362500, 0.000000, 0.344800, 1.119400, 50.296500 ],
111 [ 2.387500, 0.000000, 0.377000, 1.111400, 62.093800 ],
112 [ 2.412500, 0.000000, 0.356700, 1.104200, 86.216200 ],
113 [ 2.437500, 0.000000, 0.389200, 1.109600, 80.853200 ],
114 [ 2.462500, 0.000000, 0.452200, 1.119300, 61.117800 ],
115 [ 2.487500, 0.000000, 0.258000, 1.201600, 129.732200 ],
116 ]
117 
118 
119 
120 
122  eta_start_crack = 1.425
123  eta_end_crack = 1.50
124  etamax = 2.5
125  use_raw_eta = False
126 
127  # If "preserve_offset" is set to True, then any offset that has
128  # been applied prior to this correction is preserved. We do not want
129  # to do this here because gapCorrections and lwcorrections are exclusive.
130  preserve_offset = False
131 
132 
133  # only gam35 correction is defined here
134  region = CALOCORR_COMBINED2
135  degree = 3
136  correction = {'ele55' : CaloSwLongWeights_pi0_v1_gam35,
137  'ele35' : CaloSwLongWeights_pi0_v1_gam35,
138  'ele37' : CaloSwLongWeights_pi0_v1_gam35,
139  'gam55' : CaloSwLongWeights_pi0_v1_gam35,
140  'gam35' : CaloSwLongWeights_pi0_v1_gam35,
141  'gam37' : CaloSwLongWeights_pi0_v1_gam35,
142  'gam55_conv' : CaloSwLongWeights_pi0_v1_gam35,
143  'gam35_conv' : CaloSwLongWeights_pi0_v1_gam35,
144  'gam37_conv' : CaloSwLongWeights_pi0_v1_gam35,
145  'ele33' : CaloSwLongWeights_pi0_v1_gam35,
146  'ele57' : CaloSwLongWeights_pi0_v1_gam35,
147  'ele77' : CaloSwLongWeights_pi0_v1_gam35,
148  'gam33' : CaloSwLongWeights_pi0_v1_gam35,
149  'gam57' : CaloSwLongWeights_pi0_v1_gam35,
150  'gam77' : CaloSwLongWeights_pi0_v1_gam35,
151  }
152 
CaloSwLongWeights_pi0_v1.CaloSwLongWeights_pi0_v1_parms
Definition: CaloSwLongWeights_pi0_v1.py:121