24 from AthenaConfiguration.ComponentFactory
import CompFactory
25 from CaloClusterCorrection.constants
import \
26 CALOCORR_COOL, CALOCORR_DEFAULT_KEY, CALOCORR_SW
27 from CaloClusterCorrection.common
import makecorr
33 from CaloClusterCorrection.constants
import sw_valid_keys
as keys
34 cls_g3 = CompFactory.CaloSwEtamod_g3
35 cls_v2 = CompFactory.CaloSwEtamod_v2
36 CaloSwEtamod_versions = [
40 [
'g3', cls_g3, [
'CaloSwEtamod_g3.CaloSwEtamod_g3_parms',
41 'caloswcorr_pool', CALOCORR_COOL], keys],
48 [
'v2', cls_v2, [
'CaloSwEtamod_v2.CaloSwEtamod_v2_parms',
49 'caloswcorr_pool', CALOCORR_COOL], keys],
54 [
'v3', cls_v2, [
'CaloSwEtamod_v2.CaloSwEtamod_v3_parms',
55 'caloswcorr_pool', CALOCORR_COOL], keys],
60 [
'v4', cls_v2, [
'CaloSwEtamod_v4.CaloSwEtamod_v4_parms',
61 'caloswcorr_pool', CALOCORR_COOL], keys],
89 key = CALOCORR_DEFAULT_KEY,
94 return makecorr (flags,
95 versions = CaloSwEtamod_versions,
103 confclass = confclass,
104 corrclass = CALOCORR_SW,