Belle II Software
development
dump_geometry.py
1
#!/usr/bin/env python3
2
3
10
11
"""
12
Write out the location and direction of all ECL crystals. Uses information
13
from the payload ECLCrystalsPositionAndShape for the experiment and run of
14
set via EventInfoSetter
15
"""
16
17
import
basf2
as
b2
18
from
ecl_utils
import
ECLDumpGeometry
19
20
main = b2.Path()
21
22
main.add_module(
'EventInfoSetter'
)
23
main.add_module(
'Gearbox'
)
24
main.add_module(
'Geometry'
)
25
main.add_module(ECLDumpGeometry())
26
27
b2.process(main, 1)
ecl
examples
geometry
dump_geometry.py
Generated on Thu Oct 8 2026 03:35:12 for Belle II Software by
1.13.2