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
test1_DSTtoMDST.py
1
#!/usr/bin/env python3
2
3
10
11
"""
12
<header>
13
<input>../GenericB_GENSIMRECtoDST.dst.root</input>
14
<output>../DSTtoMDST.mdst.root</output>
15
<contact>Frank Meier; frank.meier
@duke.edu
</contact>
16
</header>
17
"""
18
19
import sys
20
21
import basf2
22
from mdst import add_mdst_output
23
24
rootFileName = '../DSTtoMDST'
25
logFileName = rootFileName + '.log'
26
sys.stdout = open(logFileName, 'w')
27
28
main = basf2.create_path()
29
input = basf2.register_module('RootInput')
30
input.param('inputFileName', '../GenericB_GENSIMRECtoDST.dst.root')
31
main.add_module(input)
32
add_mdst_output(main, True, '../DSTtoMDST.mdst.root')
33
34
main.add_module('Progress')
35
basf2.process(main)
36
37
# Print call statistics
38
print(basf2.statistics)
analysis
validation
test1_DSTtoMDST.py
Generated on Thu Apr 10 2025 02:30:39 for Belle II Software by
1.9.6