Belle II Software development
reco_cdst_noHLT.py
1
8
9'''
10This test checks if we can reconstruct cDST data when the software trigger calculation is disabled,
11as it is done during the cDST production stage in a calibration loop.
12'''
13
14
15import basf2 as b2
16import generators as ge
17import simulation as si
18import reconstruction as re
19import b2test_utils as b2tu
20
21
22if __name__ == '__main__':
23 with b2tu.clean_working_directory():
24 b2.set_random_seed('this_is_a_seed')
25 main = b2.Path()
26 main.add_module('EventInfoSetter')
27 main.add_module('Progress')
28 ge.add_evtgen_generator(main, 'mixed')
29 si.add_simulation(main)
30 re.add_reconstruction(main, reconstruct_cdst='rawFormat', add_trigger_calculation=False)
31 re.add_cdst_output(main)
32 b2.process(main, 3)