Belle II Software
release-05-02-19
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
k
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
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
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
Root2Binary.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
19
20
from
basf2
import
*
21
22
# Set the log level to show only error and fatal messages
23
set_log_level(LogLevel.ERROR)
24
# set_log_level(LogLevel.INFO)
25
26
# input
27
input = register_module(
'RootInput'
)
28
# input = register_module('SeqRootInput')
29
# input.param('inputFileName', 'RootOutput1.root')
30
31
# dump
32
# dump = register_module('PrintDataTemplate')
33
dump = register_module(
'Root2Binary'
)
34
dump.param(
'outputFileName'
,
'temp.dat'
)
35
36
# Create main path
37
main = create_path()
38
39
# Add modules to main path
40
main.add_module(input)
41
# main.add_module(output)
42
main.add_module(dump)
43
44
# Process all events
45
process(main)
rawdata
examples
Root2Binary.py
Generated on Tue Jan 4 2022 03:01:32 for Belle II Software by
1.8.17