Belle II Software
development
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
v
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Typedefs
Macros
justReconstruct.py
1
#!/usr/bin/env python3
2
3
10
11
import
basf2
as
b2
12
from
svd
import
add_svd_reconstruction
13
14
numEvents = 2000
15
16
# set this string to identify the output rootfiles
17
outputfile =
"mytest.root"
18
19
main = b2.create_path()
20
21
b2.set_random_seed(1)
22
23
main.add_module(
'RootInput'
)
24
25
main.add_module(
'Gearbox'
)
26
main.add_module(
'Geometry'
)
27
28
add_svd_reconstruction(main)
29
30
'''
31
add_tracking_reconstruction(
32
main,
33
components=["SVD"
])
34
'''
35
36
# main.add_module('RootOutput', outputFileName=outputfile)
37
38
main.add_module('Progress')
39
40
b2.print_path(main)
41
42
b2.process(main)
43
44
print(b2.statistics)
svd
examples
justReconstruct.py
Generated on Wed Apr 9 2025 02:45:07 for Belle II Software by
1.9.6