_Geant4 Version:_11.02
_Operating System:_linux
Hello, I use 10MeV neutron shoot Fe.
The material Fe is 20cm20cm50cm
I want to use mesh scoring to get the energy deposit in Fe.
if I do this,
/score/create/boxMesh boxMesh
/score/mesh/boxSize 10. 10. 50. cm
/score/mesh/nBin 1 1 100
/score/quantity/energyDeposit eDepP
/score/filter/particle neutronFilter neutron
/score/close
/run/beamOn 100000
/score/dumpQuantityToFile boxMesh eDepP ./Fe1.txt
The result is 0, no energy deposit.
However, if i do this,
/score/create/boxMesh boxMesh
/score/mesh/boxSize 10. 10. 50. cm
/score/mesh/nBin 1 1 100
/score/quantity/energyDeposit eDepP
/score/close
/run/beamOn 100000
/score/dumpQuantityToFile boxMesh eDepP ./Fe1.txt
I can see the energy deposit in boxmesh.
So, I have two questions.
First, why the first result is 0.
Second, the second can show the deposit of neutron in Fe.
Thanks