16 from AthenaConfiguration.ComponentFactory
import CompFactory
17 from CaloClusterCorrection.constants
import \
18 CALOCORR_COOL, CALOCORR_DEFAULT_KEY, CALOCORR_SW
19 from CaloClusterCorrection.common
import makecorr
25 from CaloClusterCorrection.constants
import sw_valid_keys
as keys
26 cls = CompFactory.CaloSwTransitionRegionsCorr
27 CaloSwTransitionRegionsCorr_versions = [
30 [
'v1', cls, [
'CaloSwTransitionRegionsCorr_v1.' +
31 'CaloSwTransitionRegionsCorr_v1_parms',
32 'caloswcorr_pool', CALOCORR_COOL], keys],
35 [
'v5', cls, [
'CaloSwTransitionRegionsCorr_v5.' +
36 'CaloSwTransitionRegionsCorr_v5_parms',
37 'caloswcorr_pool', CALOCORR_COOL], keys],
41 [
'v5_1', cls, [
'CaloSwTransitionRegionsCorr_v5_1.'+
42 'CaloSwTransitionRegionsCorr_v5_1_parms',
43 'caloswcorr_pool', CALOCORR_COOL], keys],
69 key = CALOCORR_DEFAULT_KEY,
75 return makecorr (flags,
76 versions = CaloSwTransitionRegionsCorr_versions,
84 confclass = confclass,
85 corrclass = CALOCORR_SW,