Belle II Software
release-06-02-00
misalignVXDSystematic.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
11
12
"""
13
Generate alignment payload for VXD
14
15
"""
16
17
import
basf2
as
b2
18
19
import
alignment.misalignment
as
misalignment
20
21
deformations = []
22
deformations.append(misalignment.Bowing(0.0003))
23
# deformations.append(misalignment.Curl(0.001, 0.)) # Curl can have two parameters
24
# deformations.append(misalignment.Twist(0.001))
25
26
main = b2.create_path()
27
main.add_module(
'EventInfoSetter'
)
28
main.add_module(
'Gearbox'
)
29
main.add_module(
'Geometry'
, components=[
'PXD'
,
'SVD'
])
30
31
main.add_module(misalignment.CreateMisalignmentModule(global_deformations=deformations))
32
33
main.add_module(
'Progress'
)
34
35
b2.process(main)
36
print(b2.statistics)
alignment.misalignment
Definition:
misalignment.py:1
alignment
examples
misalignVXDSystematic.py
Generated on Thu Dec 28 2023 02:16:48 for Belle II Software by
1.9.1