Belle II Software  release-05-01-25
display.py
1 import basf2
2 
3 from argparse import ArgumentParser
4 
5 if __name__ == '__main__':
6  basf2.reset_database()
7  basf2.use_central_database("data_reprocessing_prompt")
8 
9  parser = ArgumentParser(description="Example steering file for the ZMQ tests")
10  parser.add_argument("--input", required=True, help="ZMQ Input Address")
11 
12  args = parser.parse_args()
13 
14  path = basf2.Path()
15 
16  path.add_module("HLTZMQ2DsDirect", input=args.input)
17  path.add_module("Gearbox")
18  path.add_module("Geometry")
19  path.add_module("Display")
20 
21  basf2.process(path)
basf2.process
def process(path, max_event=0)
Definition: __init__.py:25