18 from AthenaConfiguration.ComponentFactory
import CompFactory
19 from CaloClusterCorrection.constants
import \
20 CALOCORR_COOL, CALOCORR_DEFAULT_KEY, CALOCORR_SW
21 from CaloClusterCorrection.common
import makecorr
27 from CaloClusterCorrection.constants
import sw_valid_keys
as keys
28 cls = CompFactory.CaloSwPhioff_v2
29 CaloSwPhioff_versions = [
33 [
'g3', cls, [
'CaloSwPhioff_g3.CaloSwPhioff_g3_parms',
34 'caloswcorr_pool', CALOCORR_COOL], keys],
40 [
'v2', cls, [
'CaloSwPhioff_v2.CaloSwPhioff_v2_parms',
41 'caloswcorr_pool', CALOCORR_COOL], keys],
46 [
'v3', cls, [
'CaloSwPhioff_v3.CaloSwPhioff_v3_parms',
47 'caloswcorr_pool', CALOCORR_COOL], keys],
52 [
'v4', cls, [
'CaloSwPhioff_v4.CaloSwPhioff_v4_parms',
53 'caloswcorr_pool', CALOCORR_COOL], keys],
57 [
'v4data', cls, [
'CaloSwPhioff_v4data.CaloSwPhioff_v4data_parms',
58 'caloswcorr_pool', CALOCORR_COOL], keys],
63 [
'v5', cls, [
'CaloSwPhioff_v5.CaloSwPhioff_v5_parms',
64 'caloswcorr_pool', CALOCORR_COOL], keys],
68 [
'v5data', cls, [
'CaloSwPhioff_v5data.CaloSwPhioff_v5data_parms',
69 'caloswcorr_pool', CALOCORR_COOL], keys],
100 key = CALOCORR_DEFAULT_KEY,
105 return makecorr (flags,
106 versions = CaloSwPhioff_versions,
114 confclass = confclass,
115 corrclass = CALOCORR_SW,