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