ATLAS Offline Software
CaloSwPhioff_g3.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/CaloSwPhioff_g3.py
5 # Created: Nov 2006, sss
6 # Purpose: Phi position corrections, original G3 version.
7 #
8 # This is the original G3-based phi offset correction, translated from the
9 # original fortran version.
10 #
11 
12 
13 from CaloClusterCorrection.constants import \
14  CALOCORR_EMB2, CALOCORR_EME2, EMB2, EME2
15 
16 
17 
21  region = CALOCORR_EMB2
22  correction_coef = 0.001
23  interp_barriers = [0.8]
24  degree = 2
25  flip_phi = 0
26  energies = [0]
27  energy_degree = 1
28  correction = [
29  [
30  [0.05, 0.4424],
31  [0.15, 0.4058],
32  [0.25, 0.4753],
33  [0.35, 0.7823],
34  [0.45, 0.8636],
35  [0.55, 0.9798],
36  [0.65, 0.8224],
37  [0.75, 0.7925],
38 
39  [0.85, -0.2889],
40  [0.95, -0.3849],
41  [1.05, -0.6478],
42  [1.15, -0.9297],
43  [1.25, -1.1424],
44  [1.35, -1.1506],
45  ]
46  ]
47 
48 
49 
53  region = CALOCORR_EME2
54  correction_coef = 0.001
55  interp_barriers = [2.3]
56  degree = 2
57  flip_phi = 0
58  energies = [0]
59  energy_degree = 1
60  correction = [
61  [
62  [1.45, -2.02],
63  [1.55, -0.57],
64  [1.65, -0.5],
65  [1.75, -0.37],
66  [1.85, -0.36],
67  [1.95, -0.23],
68  [2.05, -0.53],
69  [2.15, -0.46],
70  [2.25, -0.54],
71 
72  [2.35, 0.18],
73  [2.45, 0.35],
74  ]
75  ]
76 
77 
78 
79 
80 CaloSwPhioff_g3_parms = { EMB2 : CaloSwPhioff_g3_b_parms,
81  EME2 : CaloSwPhioff_g3_e_parms,
82  }
83 
84 
CaloSwPhioff_g3.CaloSwPhioff_g3_e_parms
Definition: CaloSwPhioff_g3.py:52
CaloSwPhioff_g3.CaloSwPhioff_g3_b_parms
barrel phi position correction for sampling 2
Definition: CaloSwPhioff_g3.py:20