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
assert_parallel_certificate.py
1
8
9
# Test for the parallel certified flag in all modules in the standard simulation.
10
11
import
basf2
as
b2
12
from
simulation
import
add_simulation
13
14
# Create an empty path
15
path = b2.create_path()
16
17
# Add only the simulation
18
add_simulation(path, bkgfiles=
"some_file"
, simulateT0jitter=
True
)
19
20
# Assert that all modules have a parallel processing certified flag, except for BGOverlayInput.
21
for
m
in
path.modules():
22
if
m.name() ==
'BGOverlayInput'
:
23
continue
24
assert
m.has_properties(
25
b2.ModulePropFlags.PARALLELPROCESSINGCERTIFIED), f
'{m} is missing c_ParallelProcessingCertified flag!'
simulation
tests
assert_parallel_certificate.py
Generated on Thu Apr 10 2025 03:04:19 for Belle II Software by
1.9.6