Skip to content

Passive Material: Add Possibility to Read GDML FIles

Simon Spannagel requested to merge gdml into master

This MR adds another type of passive material models which allows to read complex structures from GDML files. Unfortunately this is not possible (and not easily feasible) with the actual detector models, because we need a lot more information and handle on them than passive material which only G4 cares about.

To use:

[MyPassiveStuff]
role = "passive"
model = "gdml"
file_name = "assembly.gdml"
position = 0 0 300mm
orientation = 0 180deg 0

This fixes #175 (closed)

Edited by Simon Spannagel

Merge request reports