21 from AthenaConfiguration.ComponentFactory
import CompFactory
22 from CaloClusterCorrection.constants
import \
23 CALOCORR_COOL, CALOCORR_DEFAULT_KEY, CALOCORR_SW
24 from CaloClusterCorrection.common
import makecorr
30 from CaloClusterCorrection.constants
import sw_valid_keys
as keys
31 cls_g3 = CompFactory.CaloSwClcon_g3
32 cls_v2 = CompFactory.CaloSwClcon_v2
33 CaloSwClcon_versions = [
37 [
'g3', cls_g3, [
'CaloSwClcon_g3.CaloSwClcon_g3_parms',
38 'caloswcorr_pool', CALOCORR_COOL], keys],
44 [
'dc2', cls_v2, [
'CaloSwClcon_dc2.CaloSwClcon_dc2_parms',
45 'caloswcorr_pool', CALOCORR_COOL], keys],
51 [
'dc2new', cls_v2, [
'CaloSwClcon_dc2new.CaloSwClcon_dc2new_parms',
52 'caloswcorr_pool', CALOCORR_COOL], keys],
80 key = CALOCORR_DEFAULT_KEY,
85 return makecorr (flags,
86 versions = CaloSwClcon_versions,
94 confclass = confclass,
95 corrclass = CALOCORR_SW,