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