Belle II Software
release-08-02-06
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
checkDataFormat.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
11
12
import
basf2
as
b2
13
import
sys
14
from
basf2
import
conditions
as
b2conditions
15
16
23
24
25
print(
'***'
)
26
print(
'*** this is the data format check script used:'
)
27
with
open(sys.argv[0],
'r'
)
as
fin:
28
print(fin.read(), end=
""
)
29
print(
'*** end of the script'
)
30
print(
'***'
)
31
32
b2conditions.prepend_globaltag(
"svd_basic"
)
33
34
# Create path 1
35
main = b2.create_path()
36
37
main.add_module(
'RootInput'
, branchNames=[
'RawSVDs'
])
38
39
main.add_module(
"Gearbox"
)
40
main.add_module(
'Geometry'
)
41
42
# unpack SVD raw data
43
main.add_module(
'SVDUnpacker'
)
44
45
main.add_module(
'SVDDataFormatCheck'
, ShaperDigits=
'SVDShaperDigits'
)
46
47
main.add_module(
'Progress'
)
48
49
b2.print_path(main)
50
b2.process(main)
51
52
print(b2.statistics)
svd
scripts
checkDataFormat.py
Generated on Tue Jan 28 2025 01:56:05 for Belle II Software by
1.9.1