Belle II Software
release-05-01-25
misalignVXDSystematic.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
"""
5
Generate alignment payload for VXD
6
7
"""
8
9
import
basf2
as
b2
10
11
import
alignment.misalignment
as
misalignment
12
13
deformations = []
14
deformations.append(misalignment.Bowing(0.0003))
15
# deformations.append(misalignment.Curl(0.001, 0.)) # Curl can have two parameters
16
# deformations.append(misalignment.Twist(0.001))
17
18
main = b2.create_path()
19
main.add_module(
'EventInfoSetter'
)
20
main.add_module(
'Gearbox'
)
21
main.add_module(
'Geometry'
, components=[
'PXD'
,
'SVD'
])
22
23
main.add_module(misalignment.CreateMisalignmentModule(global_deformations=deformations))
24
25
main.add_module(
'Progress'
)
26
27
b2.process(main)
28
print(b2.statistics)
alignment.misalignment
Definition:
misalignment.py:1
alignment
examples
misalignVXDSystematic.py
Generated on Fri Nov 5 2021 03:44:46 for Belle II Software by
1.8.17