Cout the enregy deposited in scoring volume

Hi Dears Geant4 user.
I’m trying to Cout the total energy deposited in scoring volume, but the value obtain is zero.


Someone can help me to understand what is the issue ?

here are the root files I obtain
Canvas_1
Canvas_1

Have you solved the issue? I am facing the same problem.

Yes. For myself the running event number was low, when I increase it’s (in order to 10000), I got the value of energy deposited.

Actually, I am using 100000 events but still getting a similar result with no energy deposited.

Could you share the file where you are depositing the energy?

Hi Dear @Rajat_Aggarwal. I think that, all the running events is printed on the screen. Those deposited their energy on the scoring volume (you can see the values of energy deposited) and those who didn’t (where the values printed on screen is zero). Try to scroll your screen and see the all values printed.

Hi Dear @Rajat_Aggarwal. I think that, all the running events is printed on the screen. Those deposited their energy on the scoring volume (you can see the values of energy deposited) and those who didn’t (where the values printed on . Try to scroll your screen and see the all values printed. You can see