Message: Re: What are y and dydx in the equation of motion? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: What are y and dydx in the equation of motion? 

Forum: Fields: Magnetic and Otherwise
Re: None What are y and dydx in the equation of motion? (Bertalan Juhasz)
Date: 07 Apr, 2004
From: John Apostolakis <John Apostolakis>

Dear Bertalan,

Your question is very good. 

My notes at hand are that the components of these vectors are:
[y] 
 0, 1, 2:  (x, y, z)     in Geant4 length units   (mm by default)
 3, 4, 5:  (px, py, pz)  in Geant4 momentum units (GeV/c)
 7:         time in lab frame
Likely other components are not needed or important

dyds are the derivatives of the above with respect to the distance 
along the curve, (hence the name). The units (of ds) are length 
in G4 units.

I suggest that your additional code will be more portable if you 
retain, to the extent possible, the unit convention of G4 (adding
a unit for all quantities that you specify in your code.)

I hope that this provides the necessary starting point for 
creating your equation of motion.

Best regards, John Apostolakis

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

1 None: Re: What are y and dydx in the equation of motion?   (michel maire - 07 Apr, 2004)
2 None: Re: What are y and dydx in the equation of motion?   (Bertalan Juhasz - 07 Apr, 2004)
1 None: Re: What are y and dydx in the equation of motion?   (michel maire - 10 Apr, 2004)
 Add Message Add Message
to: "Re: What are y and dydx in the equation of motion?"

 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 ]