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