Belle II Software
development
reco_cdst_noHLT.py
1
8
9
'''
10
This test checks if we can reconstruct cDST data when the software trigger calculation is disabled,
11
as it is done during the cDST production stage in a calibration loop.
12
'''
13
14
15
import
basf2
as
b2
16
import
generators
as
ge
17
import
simulation
as
si
18
import
reconstruction
as
re
19
import
b2test_utils
as
b2tu
20
21
22
if
__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)
reconstruction
tests
reco_cdst_noHLT.py
Generated on Tue Nov 12 2024 02:41:08 for Belle II Software by
1.9.6