3 from PyJobTransforms.TransformUtils
import processPreExec, processPreInclude, processPostExec, processPostInclude
4 from TriggerJobOpts
import runHLT
5 from PerfMonComps.PerfMonCompsConfig
import PerfMonMTSvcCfg
7 from AthenaCommon.Logging
import logging
8 log = logging.getLogger(
'RDOtoRDO_TRIG')
11 from AthenaCommon
import JobProperties
12 JobProperties.jobPropertiesDisallowed =
True
17 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
19 from PyJobTransforms.CommonRunArgsToFlags
import commonRunArgsToFlags
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
37 from AthenaConfiguration.Enums
import ProductionStep
38 flags.Common.ProductionStep=ProductionStep.Reconstruction
41 from PerfMonComps.PerfMonConfigHelpers
import setPerfmonFlagsFromRunArgs
61 timeStart = time.time()
65 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
67 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
69 cfg.merge( runHLT.runHLTCfg(flags) )
79 if flags.Exec.OutputLevel <= INFO:
84 timeFinal = time.time()
85 log.info(
"Run RDOtoRDO_TRIG_skeleton in %d seconds", timeFinal - timeStart)
88 sys.exit(sc.isFailure())