Belle II Software development
beam_dqm_only.py
1#!/usr/bin/env python3
2
3
10import basf2
11import hbasf2
12from softwaretrigger import constants
13from softwaretrigger.processing import setup_basf2_and_db, start_zmq_path, finalize_zmq_path, add_expressreco_processing
14
15
16args = setup_basf2_and_db(zmq=True)
17
18path, reco_path = start_zmq_path(args, location=constants.Location.expressreco)
19add_expressreco_processing(reco_path, run_type=constants.RunTypes.beam, do_reconstruction=False)
20finalize_zmq_path(path, args, location=constants.Location.expressreco)
21
22basf2.print_path(path)
23hbasf2.process(path, [args.dqm, args.output], True)