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
misalignVXDSystematic.py
1
#!/usr/bin/env python3
2
3
10
11
"""
12
Generate alignment payload for VXD
13
14
"""
15
16
import
basf2
as
b2
17
18
import
alignment.misalignment
as
misalignment
19
20
deformations = []
21
deformations.append(misalignment.Bowing(0.0003))
22
# deformations.append(misalignment.Curl(0.001, 0.)) # Curl can have two parameters
23
# deformations.append(misalignment.Twist(0.001))
24
25
main = b2.create_path()
26
main.add_module(
'EventInfoSetter'
)
27
main.add_module(
'Gearbox'
)
28
main.add_module(
'Geometry'
, components=[
'PXD'
,
'SVD'
])
29
30
main.add_module(misalignment.CreateMisalignmentModule(global_deformations=deformations))
31
32
main.add_module(
'Progress'
)
33
34
b2.process(main)
35
print(b2.statistics)
alignment.misalignment
Definition:
misalignment.py:1
alignment
examples
misalignVXDSystematic.py
Generated on Thu Apr 10 2025 02:29:09 for Belle II Software by
1.9.6