|Message: Energy Deposition||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I am trying to understand how geant4 calculates the total deposited energy in a particular step. I am printing out the step's energy information, and trying to figure out the meaning of G4Track::GetTotalEnergyDeposit(). To do this, I calculate the change in kinetic energy between pre-step and post-step, and compare it to energy deposit. I find that in most cases -- but not always(!!) -- the two disagree.
Unfortunately I can't find anything in Geant4's documentation on G4Track::GetTotalEnergyDeposit()...
Can someone explain the following, or guide me to the relevant documentation?
Below is a table of my results, to illustrate what I mean. For particle ID: 11=e-,22=gamma,2112=neutron,2212=proton.
(E_pre-E_post)(MeV) E_dep(MeV) ParticlePDG_id
0.805901 8.99e-06 22
0.00109695 0.00029101 22
0.267185 1.361e-05 22
0.00798453 0.00029101 22
3.7369 1.756e-05 22
2.92031e-05 2.92636e-05 2112
5.87537e-06 5.88414e-06 2112
1.87573 0 2112
0.0812705 0 2112
0.000246409 0.000246409 2212
0.000119122 0.000119122 2212
0.00115092 0.00115092 2212
0.244781 0.244781 11
0.233412 0.233412 11
0.058573 0.058573 11
|Inline Depth:||Outline Depth:||Add message:|