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