andriiL
September 5, 2022, 5:55pm
1
version: v2.3.12
commit: 0cf8f3c8
Hi,
I am encountering a problem related to the REST Geant4 geometry
When I am trying to visualize the .gdml
geometry Metadata file with REST_Geant4_ViewGeometry
macros, part of the time I receive Segmentation Violation, and part of the time I see such picture:
While with the oldest version of REST (v2.3.11 / 4ab9ea42), the same file is visualized properly:
I have checked .C file of the macro in both versions and they are almost the same
So, I am thinking that a problem is not in the visualization, but in the interpretation or in the .gdml file itself.
Is there a way to check that?
Thank you in advance for any hint
Andrii
jgalan
February 8, 2023, 4:28pm
2
Thanks for pointing out this problem, this was also recently remarked by @girardcarillo .
We created an issue at : The second call of `REST_Geant4_ViewGeometry.C will produce a geometry without master volume · Issue #88 · rest-for-physics/geant4lib · GitHub
So it seems some changes around version 2.3.11 affected the visualisation. Perhaps @lobis might identify the problem.
ok, thanks for the explanation.
Concerning the fact that the REST_Geant4_ViewGeometry macro crashes even at first try, some update: I have now a Conda environment with Root 6.26/10 (and Geant4 11.0.3).
I still have the same problem. Sometimes, I would have this crash (always with the same error message), and sometimes not, with no modification of the .gdml file between the 2 attempts.