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