Problem 264 - G4StepPoint::GetVelocity() and G4StepPoint::GetBeta() do not function properly
Summary: G4StepPoint::GetVelocity() and G4StepPoint::GetBeta() do not function properly
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: tracking (show other problems)
Version: 3.1
Hardware: PC Linux
: P2 normal
Assignee: kurasige
URL:
Depends on:
Blocks:
 
Reported: 2001-06-14 10:43 CEST by o35
Modified: 2001-07-03 04:18 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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