Different behaviour when loading gdml for gmgeantino
Hello,
I want to report something I have experienced when running gmgeantino using a gdml
input file or loading the same gdml
via the GDMLtoGM
plugin.
The gdml
has been produced via the VolumeDebugger in Athena,21.9 and has been edited to only contain the two innermost layer barrel of the ITk pixel geometry, as shown in the attached picture: image
What I have seen is that the program crashes due to some not obvious reasons when loading directly the gdml [1], while successfully running (and ending) when loading it via the plugin [2].
[1]gmgeantino -m ../install/share/FullSimLight/geantino.g4 -g Pixel.gdml
[2]gmgeantino -m ../install/share/FullSimLight/geantino.g4 -g ../install/lib64/libGDMLtoGM.so
Now, I understand the two approaches are completely different (the former using the G4 gdml parser while the second having the dedicated plugin to convert the gdml to geomodel first), but I am wondering is anyone else is having the same issue. I guess it is worth understanding what happens when the gmld
description is converted first to geomodel and then to G4. Maybe changing some settings of the G4 gdml parser would make it work?
The gmld
file is: Pixel.gdml
Thank you very much!
Cheers, Noemi