Package org.jlab.clas.tracking.trackrep
Class Helix
java.lang.Object
org.jlab.clas.tracking.trackrep.Helix
- Author:
- ziegler
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoublegetB()doubledoublegetD0()getHelixPointAtPlane(double X1, double Y1, double X2, double Y2, double tolerance) getHelixPointAtR(double r) getHelixPointAtZ(double z) doublegetLAtPlane(double X1, double Y1, double X2, double Y2, double tolerance) doublegetLAtR(double r) doublegetLAtZ(double z) final doublegetMomentumAtPlane(double X1, double Y1, double X2, double Y2, double tolerance) getMomentumAtR(double r) getMomentumAtZ(double z) doublegetOmega()doublegetPathLength(double rMin, double rMax) Computes the path length between to points at radius rMin and rMax of the helix.doublegetPhi(double l) doublegetPhi0()doublegetPt(double B) doublegetPx()doublegetPx(double B, double l) doublegetPy()doublegetPy(double B, double l) doublegetPz()doublegetPz(double B) doublegetR()doubledoublegetTanL()intgetUnits()doublegetX()doublegetX(double l) doublegetXb()doublegetXc()doublegetY()doublegetY(double l) doublegetYb()doublegetYc()doublegetZ()doublegetZ(double l) doublegetZ0()voidreset(double d0, double phi0, double omega, double z0, double tanL, double B) voidsetR(double _R) toString()final voidupdate()
- 
Field Details- 
LIGHTVELpublic static final double LIGHTVEL- See Also:
 
 
- 
- 
Constructor Details- 
Helixpublic Helix()
- 
Helixpublic Helix(double d0, double phi0, double omega, double z0, double tanL, int turningSign, double B, double xb, double yb, Units unit) 
- 
Helixpublic Helix(double x0, double y0, double z0, double px0, double py0, double pz0, int q, double B, double xb, double yb, Units unit) 
 
- 
- 
Method Details- 
getUnits
- 
getLightVelocitypublic final double getLightVelocity()
- 
resetpublic void reset(double d0, double phi0, double omega, double z0, double tanL, double B) 
- 
updatepublic final void update()
- 
getBpublic double getB()
- 
getD0public double getD0()
- 
getPhi0public double getPhi0()
- 
getCosphi0public double getCosphi0()
- 
getSinphi0public double getSinphi0()
- 
getOmegapublic double getOmega()
- 
getZ0public double getZ0()
- 
getTanLpublic double getTanL()
- 
getTurningSignpublic int getTurningSign()
- 
getRpublic double getR()
- 
setRpublic void setR(double _R) 
- 
getXcpublic double getXc()
- 
getYcpublic double getYc()
- 
getXbpublic double getXb()
- 
getYbpublic double getYb()
- 
getPhipublic double getPhi(double l) 
- 
getPtpublic double getPt(double B) 
- 
getXpublic double getX(double l) 
- 
getYpublic double getY(double l) 
- 
getZpublic double getZ(double l) 
- 
getPxpublic double getPx(double B, double l) 
- 
getPypublic double getPy(double B, double l) 
- 
getPzpublic double getPz(double B) 
- 
getXpublic double getX()
- 
getYpublic double getY()
- 
getZpublic double getZ()
- 
getPxpublic double getPx()
- 
getPypublic double getPy()
- 
getPzpublic double getPz()
- 
getLAtPlanepublic double getLAtPlane(double X1, double Y1, double X2, double Y2, double tolerance) 
- 
getHelixPointAtPlane
- 
getMomentumAtPlane
- 
getLAtRpublic double getLAtR(double r) 
- 
getHelixPointAtR
- 
getMomentumAtR
- 
getLAtZpublic double getLAtZ(double z) 
- 
getHelixPointAtZ
- 
getMomentumAtZ
- 
getPathLengthpublic double getPathLength(double rMin, double rMax) Computes the path length between to points at radius rMin and rMax of the helix.- Parameters:
- rMin- the radius of the point from which to measure.
- rMax- the radius of the point to which to measure. helix parametrization is X(l) = xc - s*R*sin(phi0+omega*l) Y(l) = yc + s*R*cos(phi0+omega*l) Z(l) = z0 - l*tanL d^2 = (dX/dl)^2 + (dY/dl)^2 + (dZ/dl)^2 pathlength = integral of d(l) from l(rMin) to l(rMax) pathlength = sqrt(R^2omega^2+tanL^2)*(l(rMax)-l(rMin))
 
- 
toString
 
-