The result of innerMaterial
and outerMaterial
depends on if the other function is called before
#1413
Labels
innerMaterial
and outerMaterial
depends on if the other function is called before
#1413
Check duplicate issues.
Goal
When calling
outerMaterial()
afterinnerMaterial()
has been called, the result is different for some surfaces than whenouterMaterial()
is called first. This is happening because the TGeoManager keeps some internal state that changes afterinnerMaterial()
is called, leading to it not being the same when callingouterMaterial()
. For CLD_o2_v07, it seems that about 20 surfaces are affected, so it seems it's not a very large effect.Operating System and Version
AlmaLinux 9
compiler
GCC 14
ROOT Version
6.32.08 and 6.34.04
DD4hep Version
master
Reproducer
source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh python issue.py python issue.py --call-inner-material
If we now diff the two output files
We will see that in one file some surfaces are Silicon and in the other Air. For example:
The file issue.py:
Additional context
No response
The text was updated successfully, but these errors were encountered: