Belle II Software
light-2411-aldebaran
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
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
Variables
Typedefs
a
b
c
d
l
m
n
p
r
s
w
Enumerations
Enumerator
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
_
c
d
e
f
h
i
m
o
p
r
s
t
v
w
Enumerations
b
c
e
g
h
m
p
s
t
v
Enumerator
b
c
k
t
Related Functions
Files
File List
File Members
All
Functions
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 Wed Dec 4 2024 07:08:48 for Belle II Software by
1.9.6