Belle II Software development
processor.py
1#!/usr/bin/env python3
2
3
10import basf2
11import hbasf2
12from softwaretrigger import constants
13from softwaretrigger.processing import finalize_zmq_path, setup_basf2_and_db, start_zmq_path
14
15
16args = setup_basf2_and_db(zmq=True)
17
18path, reco_path = start_zmq_path(args, location=constants.Location.expressreco)
19
20# Monitor/Debug modules
21reco_path.add_module('MonitorData')
22reco_path.add_module('ElapsedTime', EventInterval=10000)
23
24finalize_zmq_path(path, args, location=constants.Location.expressreco)
25
26basf2.print_path(path)
27hbasf2.process(path, [args.dqm, args.output], True)