Belle II Software
release-08-01-10
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
a
b
c
e
f
g
n
p
s
v
z
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
Typedefs
Macros
raw2mdst.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
11
12
import
basf2
as
b2
13
from
mdst
import
add_mdst_output
14
from
softwaretrigger.constants
import
SoftwareTriggerModes
15
from
softwaretrigger.processing
import
add_hlt_processing
16
17
# create path
18
main = b2.create_path()
19
20
# input
21
main.add_module(
'RootInput'
)
22
23
# gearbox and geometry
24
main.add_module(
'Gearbox'
)
25
main.add_module(
'Geometry'
)
26
27
# reconstruction
28
# No filter is applied in monitoring mode. To enable filtering, use, for example,
29
# softwaretrigger_mode=SoftwareTriggerModes.filter
30
add_hlt_processing(main, softwaretrigger_mode=SoftwareTriggerModes.monitor, prune_output=
False
, calcROIs=
False
)
31
32
# mdst output
33
add_mdst_output(main)
34
35
# process events and print call statistics
36
b2.process(main)
37
print(b2.statistics)
softwaretrigger.constants
Definition:
constants.py:1
softwaretrigger.processing
Definition:
processing.py:1
reconstruction
examples
raw2mdst.py
Generated on Mon Sep 23 2024 14:03:52 for Belle II Software by
1.9.1