3from PyJobTransforms.TransformUtils
import processPreExec, processPreInclude, processPostExec, processPostInclude
17 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
18 flags = initConfigFlags()
19 from PyJobTransforms.CommonRunArgsToFlags
import commonRunArgsToFlags
20 commonRunArgsToFlags(runArgs, flags)
23 runHLT.set_flags(flags)
26 if hasattr(runArgs,
'inputRDOFile'):
27 flags.Input.Files = runArgs.inputRDOFile
30 if hasattr(runArgs,
'outputRDO_TRIGFile'):
31 flags.Output.RDOFileName = runArgs.outputRDO_TRIGFile
32 log.info(
"---------- Configured RDO_TRIG output")
34 from RecJobTransforms.RecoConfigFlags
import recoRunArgsToFlags
35 recoRunArgsToFlags(runArgs, flags)
37 from AthenaConfiguration.Enums
import ProductionStep
38 flags.Common.ProductionStep=ProductionStep.Reconstruction
41 from PerfMonComps.PerfMonConfigHelpers
import setPerfmonFlagsFromRunArgs
42 setPerfmonFlagsFromRunArgs(flags, runArgs)
45 processPreInclude(runArgs, flags)
46 processPreExec(runArgs, flags)
61 timeStart = time.time()
65 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
66 cfg = MainServicesCfg(flags)
67 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
68 cfg.merge(PoolReadCfg(flags))
69 cfg.merge( runHLT.runHLTCfg(flags) )
71 cfg.merge( PerfMonMTSvcCfg(flags) )
74 processPostInclude(runArgs, flags, cfg)
77 processPostExec(runArgs, flags, cfg)
80 if flags.Exec.OutputLevel <= INFO:
85 timeFinal = time.time()
86 log.info(
"Run RDOtoRDO_TRIG_skeleton in %d seconds", timeFinal - timeStart)
89 sys.exit(sc.isFailure())