Belle II Software  release-08-01-10
create_SVDGeometryPar_payload.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 
4 
11 
12 
21 
22 import basf2 as b2
23 
24 
25 main = b2.create_path()
26 main.add_module('EventInfoSetter')
27 
28 # Phase2 Geometry
29 # main.add_module("Gearbox", fileName='/geometry/Beast2_phase2.xml')
30 
31 # Phase3 Geometry
32 main.add_module("Gearbox")
33 
34 main.add_module('Geometry', components=['SVD'], createPayloads=True)
35 
36 # NOTE: uncomment display to see what you get - but it does not work together with creating the payloads above
37 # main.add_module('Display', fullGeometry=True)
38 
39 b2.process(main)
40 print(b2.statistics(b2.statistics.BEGIN_RUN))