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
check_geometry.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
11
12
16
17
from
basf2
import
Path, process
18
from
sys
import
argv
19
20
# Create main path
21
main = Path()
22
# Add modules to main path
23
main.add_module(
"EventInfoSetter"
)
24
# Geometry parameter loader
25
main.add_module(
"Gearbox"
)
26
# Geometry builder
27
main.add_module(
"Geometry"
)
28
# Overlap checker
29
if
len(argv) > 1:
30
main.add_module(
"OverlapChecker"
, points=int(argv[1]))
31
else
:
32
main.add_module(
"OverlapChecker"
)
33
# Save overlaps to file to be able to view them with b2display
34
main.add_module(
"RootOutput"
, outputFileName=
"Overlaps.root"
)
35
# Process one event
36
process(main)
geometry
examples
check_geometry.py
Generated on Tue Jan 28 2025 01:54:54 for Belle II Software by
1.9.1