8 """Test timeout handling in athenaHLT"""
9
10
11 Conf.set_flags(flags)
12 flags.lock()
13 cfg = ComponentAccumulator()
14
15
16 hypo_tools = [Conf.make_hypo_tool('HLT_MTCalibPeb{:d}'.format(num)) for num in range(1, 4)]
17 for tool in hypo_tools:
18
19 tool.RandomAcceptRate = 1.0
20 tool.ROBAccessDict = {}
21 tool.BurnTimePerCycleMillisec = 200
22 tool.NumBurnCycles = 7
23 tool.PEBROBList = [0x7c0000]
24
25 hypo = Conf.make_hypo_alg('HypoAlg1')
26 hypo.HypoTools = hypo_tools
27
28
29 from SGComps.SGInputLoaderConfig import SGInputLoaderCfg
30 cfg.merge(SGInputLoaderCfg(flags))
31
32
33 cfg.merge( Conf.l1_seq_cfg(flags) )
34 cfg.merge( Conf.hlt_seq_cfg(flags,
35 num_chains=1,
36 concurrent=False,
37 hypo_algs=[hypo]) )
38
39 return cfg