59 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
61 flags.addFlag(
'egamma.configOnly',
False, help=
'custom option for egammaSteeringConfig to not run, only output config file')
63 from AthenaConfiguration.TestDefaults
import defaultTestFiles, defaultConditionsTags
64 flags.Input.Files = defaultTestFiles.RDO_RUN3
65 flags.IOVDb.GlobalTag = defaultConditionsTags.RUN3_MC
66 flags.Exec.MaxEvents = 1
68 flags.Output.doWriteESD =
True
69 flags.Output.doWriteAOD =
True
70 flags.Output.ESDFileName =
"myESD.pool.root"
71 flags.Output.AODFileName =
"myAOD.pool.root"
73 from egammaConfig.ConfigurationHelpers
import egammaOnlyFromRaw
79 from RecJobTransforms.RecoSteering
import RecoSteering
83 from DigitizationConfig.DigitizationSteering
import DigitizationMessageSvcCfg
86 from AthenaConfiguration.Utils
import setupLoggingLevels
90 from RecJobTransforms.RecoConfigFlags
import printRecoFlags
93 with open(
"egammasteeringconfig.pkl",
"wb")
as f:
96 if hasattr(flags,
'egamma')
and flags.egamma.configOnly:
99 statusCode = acc.run()