2 from AthenaConfiguration.ComponentFactory
import CompFactory
6 if __name__ ==
'__main__':
8 from AthenaCommon.Logging
import logging
11 logger = logging.getLogger(
'run_nodata')
12 logger.setLevel(DEBUG)
16 from argparse
import RawTextHelpFormatter
19 parser = argparse.ArgumentParser(
20 "Running UCL hypo block",
21 formatter_class=RawTextHelpFormatter)
30 help=
"Maximum number of events will be executed.",
40 help=
"Number of events to skip.",
50 help=
"Decoding L1Calo inputs",
55 args = parser.parse_args()
62 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
66 flags.Exec.MaxEvents = args.nevent
69 flags.Concurrency.NumThreads = 1
70 flags.Concurrency.NumConcurrentEvents = 1
71 flags.Trigger.doLVL1 =
True
74 flags.Concurrency.NumThreads = 1
75 flags.Concurrency.NumConcurrentEvents = 1
77 flags.GeoModel.AtlasVersion=
"ATLAS-R3S-2021-03-01-00"
79 flags.Scheduler.ShowDataDeps =
True
80 flags.Scheduler.CheckDependencies =
True
81 flags.Scheduler.ShowDataFlow =
True
82 flags.Trigger.EDMVersion = 3
83 flags.Trigger.doLVL1 =
True
84 flags.Trigger.enableL1CaloPhase1 =
True
90 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
94 testBench_alg = CompFactory.GlobalSim.InvMassDPhiInc2TestBenchAlg(
95 "invMassDPhiInc2BenchAlg")
97 base_data =
"/eos/atlas/atlascerngroupdisk/data-art/"\
98 "large-input/trig-val/GlobalSimTest/invMassDphiInc2/"
106 exp_mults_data = os.path.join(base_data,
'expectedResults_00.dat')
107 testBench_alg.expectedResults_FileName = exp_mults_data
111 testBench_alg.test_tobs1 = [
'00000000000000000000000000000000',
112 '00000000000000000000000000000001']
113 testBench_alg.test_tobs2 = [
'00000000000000000000000000000010',
114 '10000000000000000000000000000011']
116 acc.addEventAlgo(testBench_alg)
119 testBench_alg.OutputLevel = DEBUG
121 from GlobalSimAlgCfg_invMassDPhiInc2
import GlobalSimulationAlgCfg
124 if acc.run().isFailure():