Belle II Software development
AlignmentLimits.py
1#!/usr/bin/env python3
2
3
10
11# Study of alignment limits.
12
13import basf2
14from ROOT import Belle2 # noqa: make the Belle2 namespace available
15from ROOT.Belle2 import KLMDisplacementGenerator
16
17# Create main path
18main = basf2.create_path()
19basf2.set_log_level(basf2.LogLevel.INFO)
20
21# EventInfoSetter
22main.add_module('EventInfoSetter')
23
24# Gearbox
25main.add_module('Gearbox')
26
27# Process the main path
28basf2.process(main)
29
30displacementGenerator = KLMDisplacementGenerator()
31displacementGenerator.studyAlignmentLimits('EKLMAlignmentLimits.root')