8 from AthenaCommon
import JobProperties
9 JobProperties.jobPropertiesDisallowed =
True
11 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
14 parser = flags.getArgumentParser()
15 parser.add_argument(
"menu", nargs=
"?", default=
'PhysicsP1_pp_run3_v1',
16 help=
"the menu to generate [%(default)s]")
17 parser.add_argument(
"--bgrp", action=
"store_true",
18 help=
"generate default MC bunchgroup")
19 parser.add_argument(
"-v",
"--verbose", action=
"store_true",
20 help=
"increase output verbosity")
21 args = flags.fillFromArgs(parser=parser)
24 flags.Input.Files = []
25 flags.Trigger.triggerMenuSetup = args.menu
30 from AthenaCommon.Logging
import logging
31 logging.getLogger(
"TriggerMenuMT").
setLevel(logging.DEBUG)
35 from TriggerMenuMT.L1.Base.Limits
import Limits
36 from TriggerMenuMT.L1.Base.BunchGroupSet
import createDefaultBunchGroupSet
37 Limits.setLimits(CTPVersion=4)
39 bgs.writeJSON(outputFile =
"L1BunchGroupSet.json")
42 from TrigConfigSvc.TrigConfigSvcCfg
import generateL1Menu