Belle II Software development
beam_dqm_only.py
1
8import basf2
9from softwaretrigger import constants
10from softwaretrigger.processing import setup_basf2_and_db, start_zmq_path, finalize_zmq_path, add_hlt_processing
11
12
13args = setup_basf2_and_db(event_distribution_mode=constants.EventDistributionModes.zmqbasf2)
14
15path, _ = start_zmq_path(args, location=constants.Location.hlt,
16 event_distribution_mode=constants.EventDistributionModes.zmqbasf2)
17add_hlt_processing(path, run_type=constants.RunTypes.beam, do_reconstruction=False)
18finalize_zmq_path(path, args, location=constants.Location.hlt)
19
20basf2.print_path(path)
21basf2.process(path, calculateStatistics=True)