New DetectorRole: PASSIVE
Detectors marked with
role = "passive"
will not get DetectorModule instances and hence no data will be loaded for them. They can, however, contribute with their material budget to scattering and therefore are added as planes to track candidates.
This MR also cleans up some Module
methods and adds const'ness where const'ness belowngs. New access methods get_regular_detectors()
and num_regular_detectors()
help reducing the individual checks on detector roles everywhere.