ATLAS Offline Software
Loading...
Searching...
No Matches
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
6from AthenaConfiguration.ComponentFactory import CompFactory
7
8
13
14class EgammaHitsCalibrationBarrelConfig(CompFactory.EgammaHitsCalibration):
15 __slots__=[]
16 def __init__(self,name="EgammaHitsCalibrationBarrel"):
17 super(EgammaHitsCalibrationBarrelConfig,self).__init__(name)
18 self.correction=str(CaloSwCalibHitsCalibration_v9leakdata_ele37)
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
27class EgammaHitsCalibrationEndcapConfig(CompFactory.EgammaHitsCalibration):
28 __slots__=[]
29 def __init__(self,name="EgammaHitsCalibrationEndcap"):
30 super(EgammaHitsCalibrationEndcapConfig,self).__init__(name)
31 self.correction=str(CaloSwCalibHitsCalibration_v9leakdata_ele55)
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
46class EgammaGapCalibrationConfig(CompFactory.EgammaGapCalibration):
47 __slots__=[]
48 def __init__(self,name="EgammaGapCalibration"):
49 super(EgammaGapCalibrationConfig,self).__init__(name)
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
62class 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
73class 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
90class 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
__init__(self, name="EgammaTransitionRegionsConfig")