10 from AthenaConfiguration.ComponentFactory
import CompFactory
11 from CaloClusterCorrection.constants
import \
12 CALOCORR_COOL, CALOCORR_DEFAULT_KEY, CALOCORR_EMTOPO, CALOCORR_CLUSTER
13 from CaloClusterCorrection.common
import makecorr
19 from CaloClusterCorrection.constants
import topoem_valid_keys
as keys
20 cls = CompFactory.CaloTopoEMGap
21 CaloTopoEMgap_versions = [
24 [
'v1', cls, [
'CaloTopoEMgap.CaloTopoEMgap_v1_parms',
25 'calotopoemcorr_pool', CALOCORR_COOL], keys],
54 key = CALOCORR_DEFAULT_KEY,
59 return makecorr (flags,
60 versions = CaloTopoEMgap_versions,
68 confclass = confclass,
69 corrclass = CALOCORR_EMTOPO,
77 [1.4375, 881.659, 1.51111, 1.09507, 893.54],
78 [1.4625, 924.435, 1.60056, 1.14361, 2136.88],
79 [1.4875, 1738.92, 1.35488, 1.06781, 2691.53],
80 [1.5125, 1418.49, 1.52461, 0.864585, 3665.26],
81 [1.5375, 404.816, 1.14325, 0.914854, 1577.98],
85 [1.4375, 707.923, 1.0929, 1.12359, 0.0],
86 [1.4625, 2385.57, 1.35795, 1.10472, 0.0],
87 [1.4875, 11680, 1.98237, 0.732961, 0.0],
88 [1.5125, 4506.57, 1.77194, 0.749464, 0.0],
89 [1.5375, 589.303, 0.850365, 0.955104, 0.0],
94 _default_keys = [
'ele633',
'gam633']
96 region = CALOCORR_CLUSTER
99 etamin_crack = {
'ele633' : _etamin_crack,
100 'gam633' : _etamin_crack,
101 'ele420' : 999999999,
102 'ele430' : 999999999,
107 correction = {
'ele633' : GapCorr_el_1203,
108 'gam633' : GapCorr_gam_1203}