Message: Energy Conservation with G4ParticleChange ProposeTrackStatus Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Energy Conservation with G4ParticleChange ProposeTrackStatus 

Forum: Event and Track Management
Date: 22 Jul, 2010
From: Aatif Imtiaz Butt <Aatif Imtiaz Butt>

I understand that if a user "kills" a track in any of the user methods (say UserSteppingAction) that Geant will not keep track of the energy lost in the simulation by killing the particle. As such, the user must keep track of the final kinetic energy in such a case in order to verify conservation of energy at the end of an event.

My question is if I need to manually take into account the energy lost when doing a G4ParticleChange and setting ProposeTrackStatus("fStopAndKill") (say for photon absorption, where I want to kill the primary after the physics process is complete). Ultimately, I'm just not sure what Geant is doing at this point...


Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: Energy Conservation with G4ParticleChange ProposeTrackStatus   (Gumplinger Peter - 22 Jul, 2010)
 Add Message Add Message
to: "Energy Conservation with G4ParticleChange ProposeTrackStatus"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]