Problem 264

Summary: G4StepPoint::GetVelocity() and G4StepPoint::GetBeta() do not function properly
Product: Geant4 Reporter: o35
Component: trackingAssignee: kurasige
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.1   
Hardware: PC   
OS: Linux   

Description o35 2001-06-14 10:43:21 CEST
class G4StepPoint does not return the velocity of the particle when
G4StepPoint::GetVelocity() is called, but apearantly the INITIAL velocity of the
track. The same is the case for G4StepPoint::GetBeta().
Comment 1 kurasige 2001-07-03 04:18:59 CEST
Velocity in the pre-step point is correct, but one in the post-step was not
updated at all.
I fixed this problem (the next release after 3.2) and velocity for the
post-step point is valid after
G4Step::UpdateTrack() method is invoked.

Remark: Kinetic energy (+momentum direction) and mass is essential to determine
"kinetic" information of the G4Track. So, velocity in the step point is used as
"utility" only and not supposed to be used for updating G4Track information.
used only for updating