Belle II Software
development
create_SVDGeometryPar_payload.py
1
#!/usr/bin/env python3
2
3
10
11
20
21
import
basf2
as
b2
22
23
24
main = b2.create_path()
25
main.add_module(
'EventInfoSetter'
)
26
27
# Phase2 Geometry
28
# main.add_module("Gearbox", fileName='/geometry/Beast2_phase2.xml')
29
30
# Phase3 Geometry
31
main.add_module(
"Gearbox"
)
32
33
main.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
38
b2.process(main)
39
print(b2.statistics(b2.statistics.BEGIN_RUN))
svd
scripts
dbImporters
create_SVDGeometryPar_payload.py
Generated on Wed Nov 13 2024 02:42:14 for Belle II Software by
1.9.6