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