hep.lcd.vertexing.zvtop
Class ZvTrkDist
java.lang.Object
|
+--hep.lcd.vertexing.zvtop.ZvTrkDist
- public class ZvTrkDist
- extends Object
ZvTrkDist
Calculation of transverse and longitudinal distance between track and
reference line.
See K.Abe et al. (SLD collab.), PRL 80,4 (1998) 660-665.
- Version:
- $Id: ZvTrkDist.java,v 1.2 2001/06/05 18:20:58 walkowia Exp $
- Author:
- Wolfgang Walkowiak, 10/05/00
- Source Code:
- ZvTrkDist.java
Constructor Summary |
ZvTrkDist(ZvTrack track,
double[] x1,
double[] x2)
Calculate transverse and longitudinal distances between track and line |
Method Summary |
double |
angle()
angle in radians between track and reference (vertex) axis,
the value of longDist() is less usefull for low angles |
double |
longDist()
distance from initial point of along reference axis to point
where the transverse distance is measured, negative if in
opposite direction than axis
Note: -1000, if there is no solution, ie track parallel to axis |
double |
transDist()
closest approach of track to reference (vertex) axis |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZvTrkDist
public ZvTrkDist(ZvTrack track,
double[] x1,
double[] x2)
- Calculate transverse and longitudinal distances between track and line
- Parameters:
track
- track to be consideredx1
- start point of line (ie beam spot)x2
- end poin of line
transDist
public double transDist()
- closest approach of track to reference (vertex) axis
longDist
public double longDist()
- distance from initial point of along reference axis to point
where the transverse distance is measured, negative if in
opposite direction than axis
Note: -1000, if there is no solution, ie track parallel to axis
angle
public double angle()
- angle in radians between track and reference (vertex) axis,
the value of longDist() is less usefull for low angles
The LCD Group