Message: Apparent discrepancy in energy and momentum? Question on G4Track::GetTotalEnergy, GetMomentum Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Apparent discrepancy in energy and momentum? Question on G4Track::GetTotalEnergy, GetMomentum 

Forum: Event and Track Management
Date: 15 Jun, 2010
From: Peter Mardahl <Peter Mardahl>

Sirs,

  These track methods (G4Track::GetTotalEnergy, GetMomentum) seem to both return in units of MeV.

However, they do not seem to agree with each other.

  Here is an example, when both of these are called on the same track:
ParticleName: e- TiD 1 Momentum: (1.2935833,-19.454915,3.1657942) Energy: 19.759819

The magnitude of momentum is: 19.753210582789258

This is about .03% off the energy.

Is this because energy and momentum are actually reported for slightly different times, even though I am calling them one right after the other in the code?

Thanks,

--PeterM

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

1 Disagree: Re: Apparent discrepancy in energy and momentum? Question on G4Track::GetTotalEnergy, GetMomentum   (Gumplinger Peter - 15 Jun, 2010)
 Add Message Add Message
to: "Apparent discrepancy in energy and momentum? Question on G4Track::GetTotalEnergy, GetMomentum"

 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 ]