Optional switches for GDML dump / overlap checking / Assembly identification
All changes add options which be default should not change any behaviour.
Integrated the GDML dump directly into the Gauss configurable, e.g.
from Configurables import Gauss
Gauss().SaveGDML = 'LHCbDump.gdml' # Default: "" -> no output
Also added two new options to GaussGeo:
from Configurables import GaussGeo
GaussGeo().OverlapCheck = True
GaussGeo().AssemblyNameSeparator = "ASSEMBLED"
First option activates the geometry check when placing logical volumes:
- Generate 1000 events on the surface of the volume
- Check points are inside parent volume
- Check points are outside all sibling volumes
Second option allows to modify the separator in the physical volume name when constructing assemblies. Default used to be '#'
which was changed alongside many other characters to '_'
by the GDML writer, making the identification difficult.
@bcouturi let me know if the modification for assembly names is sufficient for your studies.
Edited by Dominik Muller