ATLAS Offline Software
CaloSwEtamod_v2.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/CaloSwEtamod_v2.py
5 # Created: Nov 2006, sss
6 # Purpose: Eta modulation corrections, v2.
7 #
8 # These corrections were derived using DC2 MC files reconstructed
9 # with 8.x.0. Electrons at 50, 100, and 200 GeV were used.
10 # Derived for 5x5 clusters only.
11 #
12 # This was added in LArClusterRec-02-05-25, in 9.0.3.
13 #
14 # Two versions of this correction are exported.
15 # The original (v2) version of this correction ran before the
16 # gross energy correction. Therefore, when the energy interpolation
17 # was performed, the energy was scaled with a crude eta-dependent
18 # factor. For v3 of the corrections, the modulation corrections
19 # were moved to after the gross energy corrections. Accordingly,
20 # this crude energy correction was turned off (by setting the
21 # correction factor to unity).
22 #
23 # v3 of the correction was in CaloClusterCorrection-00-02-58, in 12.0.3.
24 #
25 
26 
27 from CaloClusterCorrection.constants import CALOCORR_COMBINED2
28 from AthenaCommon.SystemOfUnits import GeV
29 from CaloClusterCorrection.CaloSwEtaphimod_v2_rfac import CaloSwEtaphimod_v2_rfac
30 
31 
32 # Energies at which corrections were tabulated.
33 CaloSw_sample_energies = [50*GeV, 100*GeV, 200*GeV]
34 
35 
36 etamod_v3_correction = [
37  [0.9988, 0.3031, -12.0],
38  [0.9984, 0.356, -13.55],
39  [0.9987, 0.2368, -7.566]
40  ]
41 
42 
43 # Version which goes before the gross energy corrections.
45  region = CALOCORR_COMBINED2
46  energies = CaloSw_sample_energies
47  energy_degree = 2
48  rfac = CaloSwEtaphimod_v2_rfac
49  rfac_degree = 2
50  correction = etamod_v3_correction
51 
52 
53 # Version which goes after the gross energy corrections.
55  region = CALOCORR_COMBINED2
56  energies = CaloSw_sample_energies
57  energy_degree = 2
58  rfac = [ [0, 1], [3, 1] ]
59  rfac_degree = 1
60  correction = etamod_v3_correction
SystemOfUnits
CaloSwEtamod_v2.CaloSwEtamod_v3_parms
Definition: CaloSwEtamod_v2.py:54
CaloSwEtamod_v2.CaloSwEtamod_v2_parms
Definition: CaloSwEtamod_v2.py:44