Belle II Software  release-05-01-25
passthrough.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 import basf2
4 import hbasf2
5 from softwaretrigger import constants
6 from softwaretrigger.processing import setup_basf2_and_db, start_zmq_path, finalize_zmq_path, add_hlt_processing
7 from pxd import add_pxd_percentframe_phase3_early, add_roi_payload_assembler
8 
9 args = setup_basf2_and_db(zmq=True)
10 
11 path, reco_path = start_zmq_path(args, location=constants.Location.hlt)
12 add_pxd_percentframe_phase3_early(reco_path, fraction=0.1, random_position=True)
13 add_roi_payload_assembler(reco_path, ignore_hlt_decision=True)
14 finalize_zmq_path(path, args, location=constants.Location.hlt)
15 
16 basf2.print_path(path)
17 hbasf2.process(path, [args.dqm, args.output], True)
softwaretrigger.processing
Definition: processing.py:1