Belle II Software  release-05-01-25
cosmic_dqm_only.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_expressreco_processing
7 
8 args = setup_basf2_and_db(zmq=True)
9 
10 path, reco_path = start_zmq_path(args, location=constants.Location.expressreco)
11 add_expressreco_processing(reco_path, run_type=constants.RunTypes.cosmic, do_reconstruction=False)
12 finalize_zmq_path(path, args, location=constants.Location.expressreco)
13 
14 basf2.print_path(path)
15 hbasf2.process(path, [args.dqm, args.output], True)
softwaretrigger.processing
Definition: processing.py:1