Please fill out the following information to help in answering your question, and also see tips for posting code snippets
_Geant4 Version:4.11.2
_Operating System:ubuntu 20.04
_Compiler/Version:9.4.0
Hello everybody,
I have a problem when recovering the quantities (energy and position) at each point located in my detector.
it returns core dumped and I used geant4 in debug mode and got the image below.
it talks about a null pointer, but I don’t know which one.
So I would like some help.
Attached is my detector with its hits and sd.
Thank you so much
cordially Raoul
DetectorConstruction.cc (1.6 KB)
myHit.cc (336 Bytes)
mySD.cc (1.3 KB)
DetectorConstruction.hh (624 Bytes)
myHit.hh (527 Bytes)
mySD.hh (569 Bytes)
EXPLE.cc (1.3 KB) (main file)