I am simulating a scintillator detector for positron emission tomography. I am trying to bombard a scintillator with 511Kev gamma photons for this I specify the material properties and size etc. All classes work fine and show the visualization of the detector, a tile inside the box. The problem is that when I start runbeamon it disappears and there is no output. Please let me know where I have to make changes so that I can generate the particles.
PrimaryGeneratorAction.cc (1.5 KB)
SensitiveDetector.cc (3.5 KB)
OneHit.cc (329 Bytes)
_Geant4 Version:_11.2.0
_Operating System:_Ubuntu 22.04.4
_Compiler/Version:_11.4.0
CMake Version: 3.22.1
DetectorConstruction.cc (3.7 KB)