3 if __name__ ==
'__main__':
5 from AthenaCommon.Logging
import logging
8 logger = logging.getLogger(
'run_firstChain')
11 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
13 parser = flags.getArgumentParser()
15 args, _ = parser.parse_known_args()
17 from AthenaConfiguration.TestDefaults
import defaultTestFiles, defaultGeometryTags, defaultConditionsTags
19 if not args.filesInput:
20 flags.Input.Files = defaultTestFiles.RAW_RUN3_DATA24
21 flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN3
22 flags.IOVDb.GlobalTag = defaultConditionsTags.RUN3_DATA24
24 flags.Output.AODFileName =
'AOD.pool.root'
25 flags.Concurrency.NumThreads = 1
26 flags.Concurrency.NumConcurrentEvents = 1
27 flags.Trigger.doLVL1 =
True
29 flags.Scheduler.ShowDataDeps =
True
30 flags.Scheduler.CheckDependencies =
True
31 flags.Scheduler.ShowDataFlow =
True
32 flags.Trigger.EDMVersion = 3
33 flags.Trigger.enableL1CaloPhase1 =
True
34 flags.Trigger.triggerConfig=
'FILE'
36 flags.fillFromArgs(parser=parser)
38 from AthenaConfiguration.DetectorConfigFlags
import setupDetectorFlags
47 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
51 from TrigConfigSvc.TrigConfigSvcCfg
import L1ConfigSvcCfg, generateL1Menu
55 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
58 from TrigCaloRec.TrigCaloRecConfig
import hltCaloCellSeedlessMakerCfg
61 from AthenaConfiguration.Enums
import Format
62 if flags.Input.Format == Format.POOL:
63 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
66 from TriggerJobOpts.TriggerByteStreamConfig
import ByteStreamReadCfg
70 from CaloRec.CaloTopoClusterConfig
import CaloTopoClusterCfg
72 acc.merge(caloconditions)
74 gepAlgs_output_level = DEBUG
77 from GlobalSimulation.LArCellPreparationAlgCfg
import LArCellPreparationAlgCfg
78 gblLArCellContainerKey =
"GlobalLArCells"
80 NumberOfEnergyBits = 6,
81 ValueLeastSignificantBit = 40,
83 gblLArCellsKey = gblLArCellContainerKey,
87 from GlobalSimulation.LArCellMuxAlgCfg
import LArCellMuxAlgCfg
89 gblLArCellsKey = gblLArCellContainerKey,
90 writeMuxInputBitstreamToFile =
True,
91 writeMuxOutputBitstreamToFile =
True,
95 from GlobalSimulation.GlobalCellTowerAlgToolCfg
import GlobalCellTowerAlgToolCfg
97 gblLArCellsKey = gblLArCellContainerKey,
98 gblCellTowersKey =
"GlobalCellTowers",
101 if acc.run().isFailure():