What type of energy (total mechanical energy, kinetic energy, etc.) is the energy that one sets for the primary particles?

Hi, considering the example B1, regarding a primary particle(for example: a muon; Energy = 1 GeV), What type of energy (total mechanical energy, kinetic energy, etc.) is the energy that one sets in PrimaryGeneratorAction.cc for the primary particles, both in SetParticleEnergy() as well as in the Geant4 user interface?, that is, is this energy the total mechanical energy?; Is it just the kinetic energy of the particle?. Is this energy the energy that is given by the relativistic momentum-energy relationship: E^2=m^2 c^4+p^2 c^2?. I hope you can help me.

_Geant4 Version:_11.2.1
_Operating System:_Windows 10
_Compiler/Version:_Visual Studio 2022
_CMake Version:_3.29.0-rc2


In Geant4, you set the kinetic energy. The mass is determined by the particle type, and total energy and momentum magnitude are computed for you on demand (using the relativistic relationship).

2 Likes

OK, thanks for answering. You have solved my doubt

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.