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