Write full Proteus configuration in RCEWriter
Description
Write out the Proteus device configuration, i.e. list of detectors, pixel pitch, material budget, ..., in addition to the geometry information.
Proposal
The device configuration list the available sensors and all relevant digital and physical information needed to reconstruct tracks. Most of the information is readily available via the Detector
and the DetectorModel
, but some things depend on which other modules are configured:
- We would need to have access to the material database to map the Allpix material names to radiation lengths.
The beam information, i.e. energy, direction, divergence, is defined only in theDepositionGeant4
module. Is there a way to check if the module is loaded and with what configuration?Hit charge and time measurements, e.g. binary vs. tot, range, depend on the configured digitizer module. Any way to access it?
Use cases
This simplifies the simulation+reconstruction chain by reducing the need for manually writing necessary configuration files.
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
-
Feature (a8e311ee) -
Documentation -
Covered by test cases