Let us write some the simplest definitions:
the distance along is
and distance along 2-dim
circle is
from these two equation and taken into
account that the same point has the same time to reach it one can
derive in some approximation:
; where:
is particle mass:
then we have
Some definitions:
Subroutine Mom_Helix_Dist_Array (xp,yp,zp,cx,cy,cz,p,qq,nh,xhi,yhi,zhi,dist)
The same as Mom_Helix_Dist but for array of hits.
Subroutine Helix_dist
(xs,ys,zs,xh,yh,zh,x0,y0,rad,b,phi0,dphi,xm,ym,zm,dist)