ATLAS Offline Software
EgammaCalibrationConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2 
3 # flake8: noqa
4 # ... because this file is hopeless ...
5 
6 from AthenaConfiguration.ComponentFactory import CompFactory
7 
8 
13 
14 class EgammaHitsCalibrationBarrelConfig(CompFactory.EgammaHitsCalibration):
15  __slots__=[]
16  def __init__(self,name="EgammaHitsCalibrationBarrel"):
17  super(EgammaHitsCalibrationBarrelConfig,self).__init__(name)
18  self.correction=str(CaloSwCalibHitsCalibration_v9leakdata_ele37)
19  self.fix_v6_pathologies=False
20  self.sampling_depth = str(samplings_depths)
21  self.eta_start_crack=1.425
22  self.eta_end_crack=1.55
23  self.etamax = 2.5
24  self.use_raw_eta=True
25  self.preserve_offset=False
26 
27 class EgammaHitsCalibrationEndcapConfig(CompFactory.EgammaHitsCalibration):
28  __slots__=[]
29  def __init__(self,name="EgammaHitsCalibrationEndcap"):
30  super(EgammaHitsCalibrationEndcapConfig,self).__init__(name)
31  self.correction=str(CaloSwCalibHitsCalibration_v9leakdata_ele55)
32  self.fix_v6_pathologies=False
33  self.sampling_depth = str(samplings_depths)
34  self.eta_start_crack=1.425
35  self.eta_end_crack=1.55
36  self.etamax = 2.5
37  self.use_raw_eta=True
38  self.preserve_offset=False
39 
40 
41 
45 
46 class EgammaGapCalibrationConfig(CompFactory.EgammaGapCalibration):
47  __slots__=[]
48  def __init__(self,name="EgammaGapCalibration"):
49  super(EgammaGapCalibrationConfig,self).__init__(name)
50  self.UseInterpolation=True
51  self.correction=str(CaloSwGap_v4_ele37)
52  self.eta_start_crack=1.425
53  self.eta_end_crack=1.55
54  self.degree=3
55  self.use_raw_eta=False
56 
57 
61 
62 class EgammaSshapeCalibrationBarrelConfig(CompFactory.EgammaSshapeCalibration):
63  __slots__=[]
64  def __init__(self,name="EgammaSshapeCalibrationBarrel"):
65  super(EgammaSshapeCalibrationBarrelConfig,self).__init__(name)
66  self.correction=str(ele_layer2_etaoffv4_1_37_b)
67  self.regions=str(layer2_etaoffv4_1_regions_b)
68  self.energies=str(ele_etaoffv4_1_energies)
69  self.forms="[[]]"
71  self.rangeBarrel=True
72 
73 class EgammaSshapeCalibrationEndcapConfig(CompFactory.EgammaSshapeCalibration):
74  __slots__=[]
75  def __init__(self,name="EgammaSshapeCalibrationEndcap"):
76  super(EgammaSshapeCalibrationEndcapConfig,self).__init__(name)
77  self.correction=str(ele_layer2_etaoffv4_1_55_e)
78  self.regions=str(layer2_etaoffv4_1_regions_e)
79  self.energies=str(ele_etaoffv4_1_energies)
80  self.forms="[[]]"
82  self.rangeBarrel=False
83 
84 
85 
89 
90 class EgammaTransitionRegionsConfig(CompFactory.EgammaTransitionRegions):
91  __slots__=[]
92  def __init__(self,name="EgammaTransitionRegionsConfig"):
93  super(EgammaTransitionRegionsConfig,self).__init__(name)
94  self.correction=str(CaloSwTransitionRegionsCorr_v5_1_ele)
95  self.etamin_TR00 =0.001
96  self.etamax_TR00 =0.015
97  self.etamin_TR08 =0.78
98  self.etamax_TR08 =0.82
99  self.use_raw_eta=True
EgammaCalibrationConfig.EgammaHitsCalibrationBarrelConfig.eta_start_crack
eta_start_crack
Definition: EgammaCalibrationConfig.py:21
EgammaCalibrationConfig.EgammaSshapeCalibrationBarrelConfig.__init__
def __init__(self, name="EgammaSshapeCalibrationBarrel")
Definition: EgammaCalibrationConfig.py:64
CaloSwEtaoff_v4_1
EgammaCalibrationConfig.EgammaGapCalibrationConfig.__init__
def __init__(self, name="EgammaGapCalibration")
Definition: EgammaCalibrationConfig.py:48
EgammaCalibrationConfig.EgammaHitsCalibrationEndcapConfig.sampling_depth
sampling_depth
Definition: EgammaCalibrationConfig.py:33
EgammaCalibrationConfig.EgammaHitsCalibrationBarrelConfig.correction
correction
Definition: EgammaCalibrationConfig.py:18
EgammaCalibrationConfig.EgammaHitsCalibrationBarrelConfig.fix_v6_pathologies
fix_v6_pathologies
Definition: EgammaCalibrationConfig.py:19
EgammaCalibrationConfig.EgammaHitsCalibrationBarrelConfig.preserve_offset
preserve_offset
Definition: EgammaCalibrationConfig.py:25
EgammaCalibrationConfig.EgammaSshapeCalibrationEndcapConfig
Definition: EgammaCalibrationConfig.py:73
EgammaCalibrationConfig.EgammaSshapeCalibrationBarrelConfig.correction
correction
Definition: EgammaCalibrationConfig.py:66
EgammaCalibrationConfig.EgammaGapCalibrationConfig.degree
degree
Definition: EgammaCalibrationConfig.py:54
EgammaCalibrationConfig.EgammaSshapeCalibrationBarrelConfig.energy_degree
energy_degree
Definition: EgammaCalibrationConfig.py:70
EgammaCalibrationConfig.EgammaSshapeCalibrationBarrelConfig.forms
forms
Definition: EgammaCalibrationConfig.py:69
EgammaCalibrationConfig.EgammaTransitionRegionsConfig.__init__
def __init__(self, name="EgammaTransitionRegionsConfig")
Definition: EgammaCalibrationConfig.py:92
EgammaCalibrationConfig.EgammaSshapeCalibrationBarrelConfig.rangeBarrel
rangeBarrel
Definition: EgammaCalibrationConfig.py:71
EgammaCalibrationConfig.EgammaGapCalibrationConfig.correction
correction
Definition: EgammaCalibrationConfig.py:51
EgammaCalibrationConfig.EgammaTransitionRegionsConfig.use_raw_eta
use_raw_eta
Definition: EgammaCalibrationConfig.py:99
EgammaCalibrationConfig.EgammaTransitionRegionsConfig.correction
correction
Definition: EgammaCalibrationConfig.py:94
EgammaCalibrationConfig.EgammaSshapeCalibrationEndcapConfig.energies
energies
Definition: EgammaCalibrationConfig.py:79
CaloSwCalibHitsCalibration_v9
EgammaHitsCalibration.
EgammaCalibrationConfig.EgammaGapCalibrationConfig.UseInterpolation
UseInterpolation
Definition: EgammaCalibrationConfig.py:50
EgammaCalibrationConfig.EgammaGapCalibrationConfig.use_raw_eta
use_raw_eta
Definition: EgammaCalibrationConfig.py:55
EgammaCalibrationConfig.EgammaTransitionRegionsConfig
Definition: EgammaCalibrationConfig.py:90
EgammaCalibrationConfig.EgammaHitsCalibrationEndcapConfig.eta_start_crack
eta_start_crack
Definition: EgammaCalibrationConfig.py:34
CaloSwTransitionRegionsCorr_v5_1
CaloSwCalibHitsCalibration_v9leakdata
EgammaCalibrationConfig.EgammaSshapeCalibrationEndcapConfig.__init__
def __init__(self, name="EgammaSshapeCalibrationEndcap")
Definition: EgammaCalibrationConfig.py:75
EgammaCalibrationConfig.EgammaTransitionRegionsConfig.etamin_TR00
etamin_TR00
Definition: EgammaCalibrationConfig.py:95
EgammaCalibrationConfig.EgammaSshapeCalibrationBarrelConfig.energies
energies
Definition: EgammaCalibrationConfig.py:68
EgammaCalibrationConfig.EgammaSshapeCalibrationEndcapConfig.regions
regions
Definition: EgammaCalibrationConfig.py:78
EgammaCalibrationConfig.EgammaHitsCalibrationBarrelConfig.use_raw_eta
use_raw_eta
Definition: EgammaCalibrationConfig.py:24
EgammaCalibrationConfig.EgammaHitsCalibrationEndcapConfig.etamax
etamax
Definition: EgammaCalibrationConfig.py:36
EgammaCalibrationConfig.EgammaGapCalibrationConfig
Definition: EgammaCalibrationConfig.py:46
EgammaCalibrationConfig.EgammaSshapeCalibrationEndcapConfig.forms
forms
Definition: EgammaCalibrationConfig.py:80
EgammaCalibrationConfig.EgammaHitsCalibrationEndcapConfig.use_raw_eta
use_raw_eta
Definition: EgammaCalibrationConfig.py:37
EgammaCalibrationConfig.EgammaSshapeCalibrationBarrelConfig.regions
regions
Definition: EgammaCalibrationConfig.py:67
EgammaCalibrationConfig.EgammaHitsCalibrationBarrelConfig.eta_end_crack
eta_end_crack
Definition: EgammaCalibrationConfig.py:22
EgammaCalibrationConfig.EgammaHitsCalibrationBarrelConfig.etamax
etamax
Definition: EgammaCalibrationConfig.py:23
EgammaCalibrationConfig.EgammaHitsCalibrationEndcapConfig.fix_v6_pathologies
fix_v6_pathologies
Definition: EgammaCalibrationConfig.py:32
EgammaCalibrationConfig.EgammaTransitionRegionsConfig.etamin_TR08
etamin_TR08
Definition: EgammaCalibrationConfig.py:97
EgammaCalibrationConfig.EgammaSshapeCalibrationEndcapConfig.energy_degree
energy_degree
Definition: EgammaCalibrationConfig.py:81
EgammaCalibrationConfig.EgammaHitsCalibrationBarrelConfig.sampling_depth
sampling_depth
Definition: EgammaCalibrationConfig.py:20
EgammaCalibrationConfig.EgammaHitsCalibrationEndcapConfig.eta_end_crack
eta_end_crack
Definition: EgammaCalibrationConfig.py:35
EgammaCalibrationConfig.EgammaGapCalibrationConfig.eta_end_crack
eta_end_crack
Definition: EgammaCalibrationConfig.py:53
EgammaCalibrationConfig.EgammaSshapeCalibrationEndcapConfig.rangeBarrel
rangeBarrel
Definition: EgammaCalibrationConfig.py:82
EgammaCalibrationConfig.EgammaTransitionRegionsConfig.etamax_TR00
etamax_TR00
Definition: EgammaCalibrationConfig.py:96
EgammaCalibrationConfig.EgammaHitsCalibrationEndcapConfig.preserve_offset
preserve_offset
Definition: EgammaCalibrationConfig.py:38
EgammaCalibrationConfig.EgammaHitsCalibrationBarrelConfig.__init__
def __init__(self, name="EgammaHitsCalibrationBarrel")
Definition: EgammaCalibrationConfig.py:16
EgammaCalibrationConfig.EgammaHitsCalibrationEndcapConfig
Definition: EgammaCalibrationConfig.py:27
str
Definition: BTagTrackIpAccessor.cxx:11
EgammaCalibrationConfig.EgammaHitsCalibrationBarrelConfig
Definition: EgammaCalibrationConfig.py:14
EgammaCalibrationConfig.EgammaSshapeCalibrationEndcapConfig.correction
correction
Definition: EgammaCalibrationConfig.py:77
CaloSwGap_v4
EgammaCalibrationConfig.EgammaSshapeCalibrationBarrelConfig
Definition: EgammaCalibrationConfig.py:62
EgammaCalibrationConfig.EgammaHitsCalibrationEndcapConfig.correction
correction
Definition: EgammaCalibrationConfig.py:31
EgammaCalibrationConfig.EgammaGapCalibrationConfig.eta_start_crack
eta_start_crack
Definition: EgammaCalibrationConfig.py:52
EgammaCalibrationConfig.EgammaTransitionRegionsConfig.etamax_TR08
etamax_TR08
Definition: EgammaCalibrationConfig.py:98
EgammaCalibrationConfig.EgammaHitsCalibrationEndcapConfig.__init__
def __init__(self, name="EgammaHitsCalibrationEndcap")
Definition: EgammaCalibrationConfig.py:29