Belle II Software  release-08-01-10
beam_reco_monitor.py
1 #!/usr/bin/env python3
2 
3 
10 import basf2
11 from softwaretrigger import constants
12 from softwaretrigger.processing import setup_basf2_and_db, start_path, finalize_path, add_hlt_processing
13 
14 args = setup_basf2_and_db()
15 
16 path = start_path(args, location=constants.Location.hlt)
17 add_hlt_processing(path, run_type=constants.RunTypes.beam,
18  softwaretrigger_mode=constants.SoftwareTriggerModes.monitor)
19 finalize_path(path, args, location=constants.Location.hlt)
20 
21 basf2.print_path(path)
22 basf2.process(path)