I am building a scintillator detector on G4beamline and I am trying to determine using HISTROOT, ROOT where exactly where the Gamma Rays hit the detector.
Attached is the code
Physics QGSP
beam gaussian particle=gamma nEvents=1000 beamZ=0.0 \
sigmaX=10.0 sigmaY=10.0 sigmaXp=0.100 sigmaYp=0.100 \
meanMomentum=200.0 sigmaP=4.0 meanT=0.0 sigmaT=0.0
# a reference particle
reference particle=e- referenceMomentum=200
box BeamVis width=100.0 height=100.0 length=10.0 material=Vacuum color=0.5,1,0
place BeamVis z=0
# define the detector
detector Det material=BGO radius=1000.0 length=50.0 color=1,1,1
place Det z=4000.0 rotation=X-45 rename=Det1#
# label the visualization
label text="Example.scintillation" 1200,0,-500
label text="B.G.O" 0,1000,4000
label text="Gamma ray" 0,700,2000d a picture from G4beamline.