Belle II Software  release-06-00-14
processor.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 finalize_zmq_path, setup_basf2_and_db, start_zmq_path
15 
16 args = setup_basf2_and_db(zmq=True)
17 
18 path, reco_path = start_zmq_path(args, location=constants.Location.hlt)
19 
20 # Monitor/Debug modules
21 reco_path.add_module('MonitorData')
22 reco_path.add_module('ElapsedTime', EventInterval=10000)
23 
24 finalize_zmq_path(path, args, location=constants.Location.hlt)
25 
26 basf2.print_path(path)
27 hbasf2.process(path, [args.dqm, args.output], True)