Belle II Software development
justReconstruct.py
1#!/usr/bin/env python3
2
3
10
11import basf2 as b2
12from svd import add_svd_reconstruction
13
14numEvents = 2000
15
16# set this string to identify the output rootfiles
17outputfile = "mytest.root"
18
19main = b2.create_path()
20
21b2.set_random_seed(1)
22
23main.add_module('RootInput')
24
25main.add_module('Gearbox')
26main.add_module('Geometry')
27
28add_svd_reconstruction(main)
29
30'''
31add_tracking_reconstruction(
32 main,
33 components=["SVD"])
34'''
35
36# main.add_module('RootOutput', outputFileName=outputfile)
37
38main.add_module('Progress')
39
40b2.print_path(main)
41
42b2.process(main)
43
44print(b2.statistics)