11 CALOCORR_POOLFILE =
'CaloTopoEMCorrections.pool.root'
12 CALOCORR_COOLFILE =
'topoemcool.db'
13 CaloTopoEMCorrKeys = [
'ele633',
'ele420',
'gam633']
16 from AthenaConfiguration.MainServicesConfig
import \
18 from CaloClusterCorrection.WriteCorrectionsConfig
import \
19 WriteCorrectionsFlags, WriteCorrectionsCfg
21 flags = WriteCorrectionsFlags (CALOCORR_COOLFILE)
22 cfg = MainServicesCfg (flags)
25 from CaloClusterCorrection.CaloTopoEMCorrections
import CaloTopoEMCorrections
26 from CaloClusterCorrection.constants
import CALOCORR_EMTOPO
27 (corr_output_list, tag_list, ca) =\
28 CaloTopoEMCorrections.config_for_pool (flags,
33 cfg.merge (WriteCorrectionsCfg (flags, CALOCORR_POOLFILE,
34 corr_output_list, tag_list))
37 sc = cfg.run (flags.Exec.MaxEvents)
39 sys.exit (sc.isFailure())