Skip to content

Adding module that creates a fixed passive material

Added a module which creates a given volume of a given material in a given position.

A Builder-file was added to the core which holds the function Build. Both the GeometryBuilderGeant4 and the PassiveMaterialBuilderGeant4 use this function to add a specified geometry to a vector of "Builders". This vector is created by the GeometryManager, with corresponding functions to add a builder to the vector. The GeometryConstructor in the GeometryBuilderGeant4 will then create all the geometries added to this vector.

A passive_material_geometry.conf file can be added to create multiple passive materials.

A template is used in the GeometryBuilder in the core/geometry, to keep Geant4 out of the core.

Edited by Simon Spannagel

Merge request reports