I am doing a simulation on HPGe detector. I have successfully build the make file using cmake
command and also build the target using make -jN
command. But when I am trying to run the executable file then that gives me the error:
**************************************************************
Geant4 version Name: geant4-10-06-patch-02 [MT] (29-May-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
: NIM A 835 (2016), 186-225
WWW : http://geant4.org/
**************************************************************
-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : Event0101
issued by : G4ParticleGun::SetParticleDefinition()
Null pointer is given.
*** Fatal Exception *** core dump ***
**** Track information is not available at this moment
**** Step information is not available at this moment
-------- EEEE -------- G4Exception-END --------- EEEE -------
*** G4Exception: Aborting execution ***
Aborted (core dumped)
I am not able to find the problem here. What should I do with this problem? It will be very helpful if anyone tells me about this.
Here is the list of files…
hpgeActionInitialization.cc
hpgeDetectorConstruction.cc
hpgeEventAction.cc
hpgePhysicsList.cc
hpgePrimaryGeneratorAction.cc
hpgeRunAction.cc
I also have the header files corresponding to this and also the main.cc file and the CmakeList file.
Please let me know if I have any missing files.
Thank you.