Belle II Software  release-06-01-15
beam_dqm_only.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 
4 
11 import basf2
12 import hbasf2
13 from softwaretrigger import constants
14 from softwaretrigger.processing import setup_basf2_and_db, start_zmq_path, finalize_zmq_path, add_hlt_processing
15 
16 
17 basf2.logging.add_udp('hltctl', 6900)
18 
19 args = setup_basf2_and_db(zmq=True)
20 
21 path, reco_path = start_zmq_path(args, location=constants.Location.hlt)
22 add_hlt_processing(path, run_type=constants.RunTypes.beam, do_reconstruction=False)
23 finalize_zmq_path(path, args, location=constants.Location.hlt)
24 
25 basf2.print_path(path)
26 hbasf2.process(path, [args.dqm, args.output], True)