Belle II Software  release-08-01-10
passthrough.py
1 #!/usr/bin/env python3
2 
3 
10 import basf2
11 from softwaretrigger import constants
12 from softwaretrigger.processing import setup_basf2_and_db, start_path, finalize_path
13 from pxd import add_pxd_percentframe_phase3_early, add_roi_payload_assembler
14 
15 args = setup_basf2_and_db()
16 
17 path = start_path(args, location=constants.Location.hlt)
18 add_pxd_percentframe_phase3_early(path, fraction=0.1, random_position=True)
19 add_roi_payload_assembler(path, ignore_hlt_decision=True)
20 finalize_path(path, args, location=constants.Location.hlt)
21 
22 basf2.print_path(path)
23 basf2.process(path)