Belle II Software development
misalignVXDSystematic.py
1#!/usr/bin/env python3
2
3
10
11"""
12Generate alignment payload for VXD
13
14"""
15
16import basf2 as b2
17
18import alignment.misalignment as misalignment
19
20deformations = []
21deformations.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
25main = b2.create_path()
26main.add_module('EventInfoSetter')
27main.add_module('Gearbox')
28main.add_module('Geometry', components=['PXD', 'SVD'])
29
30main.add_module(misalignment.CreateMisalignmentModule(global_deformations=deformations))
31
32main.add_module('Progress')
33
34b2.process(main)
35print(b2.statistics)