Belle II Software development
beam_reco_monitor.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, add_hlt_processing
13
14args = setup_basf2_and_db()
15
16path = start_path(args, location=constants.Location.hlt)
17add_hlt_processing(path, run_type=constants.RunTypes.beam,
18 softwaretrigger_mode=constants.SoftwareTriggerModes.monitor)
19finalize_path(path, args, location=constants.Location.hlt)
20
21basf2.print_path(path)
22basf2.process(path)