Belle II Software
release-05-01-25
justReconstruct.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
from
basf2
import
*
4
from
svd
import
add_svd_reconstruction
5
from
tracking
import
add_tracking_reconstruction
6
import
glob
7
8
numEvents = 2000
9
10
# set this string to identify the output rootfiles
11
outputfile =
"mytest.root"
12
13
main = create_path()
14
15
set_random_seed(1)
16
17
main.add_module(
'RootInput'
)
18
19
main.add_module(
'Gearbox'
)
20
main.add_module(
'Geometry'
)
21
22
add_svd_reconstruction(main)
23
24
'''
25
add_tracking_reconstruction(
26
main,
27
components=["SVD"])
28
'''
29
30
# main.add_module('RootOutput', outputFileName=outputfile)
31
32
main.add_module(
'Progress'
)
33
34
print_path(main)
35
36
process(main)
37
38
print(statistics)
svd
examples
justReconstruct.py
Generated on Fri Nov 5 2021 03:58:08 for Belle II Software by
1.8.17