diff --git a/Trigger/TriggerCommon/TriggerJobOpts/python/Lvl1MuonSimulationConfig.py b/Trigger/TriggerCommon/TriggerJobOpts/python/Lvl1MuonSimulationConfig.py index d3c17a32ed0a31ff96b12a324001736f0aa478fb..fb43cce33daa7bc801fdca979bfae0f44887143e 100644 --- a/Trigger/TriggerCommon/TriggerJobOpts/python/Lvl1MuonSimulationConfig.py +++ b/Trigger/TriggerCommon/TriggerJobOpts/python/Lvl1MuonSimulationConfig.py @@ -424,15 +424,10 @@ if __name__ == "__main__": from AthenaConfiguration.AllConfigFlags import initConfigFlags flags = initConfigFlags() flags.Input.Files = ['/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/TriggerTest/valid1.410000.PowhegPythiaEvtGen_P2012_ttbar_hdamp172p5_nonallhad.merge.RDO.e4993_s3214_r11315/RDO.17533168._000001.pool.root.1'] - flags.Common.isOnline=False - flags.Exec.MaxEvents=25 + flags.Exec.MaxEvents = 5 flags.Concurrency.NumThreads = 1 - flags.Concurrency.NumConcurrentEvents=1 - flags.Scheduler.ShowDataDeps=True - flags.Scheduler.CheckDependencies=True - flags.Scheduler.ShowDataFlow=True - flags.Trigger.enableL1MuonPhase1=True - flags.Trigger.triggerMenuSetup='Dev_pp_run3_v1' + flags.Trigger.enableL1MuonPhase1 = True + flags.Trigger.triggerMenuSetup = 'Dev_pp_run3_v1' flags.fillFromArgs() flags.lock() @@ -448,5 +443,4 @@ if __name__ == "__main__": acc.merge(Lvl1MuonSimulationCfg(flags)) acc.printConfig(withDetails=True, summariseProps=True, printDefaults=True) - sys.exit(acc.run().isFailure()) diff --git a/Trigger/TriggerCommon/TriggerJobOpts/python/Lvl1SimulationConfig.py b/Trigger/TriggerCommon/TriggerJobOpts/python/Lvl1SimulationConfig.py index a699c4b8c5f92e546b9d049592cd2d91bec56831..22c6eaa8fce55fb09df6f65b2bc8ea31210c1e90 100644 --- a/Trigger/TriggerCommon/TriggerJobOpts/python/Lvl1SimulationConfig.py +++ b/Trigger/TriggerCommon/TriggerJobOpts/python/Lvl1SimulationConfig.py @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration ## @brief this function sets up the top L1 simulation sequence ## @@ -67,17 +67,12 @@ if __name__ == '__main__': flags = initConfigFlags() flags.Input.Files = ['/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/TriggerTest/valid1.601229.PhPy8EG_A14_ttbar_hdamp258p75_SingleLep.recon.RDO.e8514_e8528_s4159_s4114_r14799_tid34171421_00/RDO.34171421._000011.pool.root.1'] - flags.Common.isOnline=False - flags.Exec.MaxEvents=25 + flags.Exec.MaxEvents = 5 flags.Concurrency.NumThreads = 1 - flags.Concurrency.NumConcurrentEvents=1 - flags.Scheduler.ShowDataDeps=True - flags.Scheduler.CheckDependencies=True - flags.Scheduler.ShowDataFlow=True - flags.Trigger.enableL1MuonPhase1=True - flags.Trigger.triggerMenuSetup='Dev_pp_run3_v1' + flags.Trigger.triggerMenuSetup = 'Dev_pp_run3_v1' + flags.Trigger.enableL1MuonPhase1 = True flags.Trigger.enableL1CaloPhase1 = True - flags.Trigger.doHLT= True # this is necessary so that the simulation of L1Calo (if running on MC) gets output with keys that Topo sim expects + flags.Trigger.doHLT = True # this is necessary so that the simulation of L1Calo (if running on MC) gets output with keys that Topo sim expects flags.fillFromArgs() flags.lock() @@ -91,12 +86,6 @@ if __name__ == '__main__': generateL1Menu(flags) acc.merge(Lvl1SimulationCfg(flags)) - from AthenaCommon.Constants import DEBUG - acc.getEventAlgo("CTPSimulation").OutputLevel=DEBUG # noqa: ATL900 acc.printConfig(withDetails=True, summariseProps=True, printDefaults=True) - with open("L1Sim.pkl", "wb") as p: - acc.store(p) - p.close() - sys.exit(acc.run().isFailure())