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