Class TrackVec

java.lang.Object
Jama.Matrix
org.jlab.rec.dc.trajectory.TrackVec
All Implemented Interfaces:
Serializable, Cloneable

public class TrackVec extends Jama.Matrix
Describes a track pars in the DC.
Author:
ziegler
See Also:
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    int
     
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    Instantiates a new vec.
    TrackVec(double x, double y, double z, double px, double py, double pz)
     
    TrackVec(double x, double y, double z, double px, double py, double pz, int sec)
     
    Instantiates a new vec
    TrackVec(TrackVec v, int sec)
    Instantiates a new vec
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    int
     
    double
     
    double
    px()
    Description of x().
    double
    py()
    Description of py().
    double
    pz()
    Description of pz().
    double[]
    rotateToSec(int sector, double x, double y, int t)
     
    void
    set(double x, double y, double z, double px, double py, double pz)
     
    void
    Sets the.
    void
    setSector(int _sector)
     
    void
    setZ(double z)
     
    double[]
    tilt(double X, double Z, int t)
     
    void
    TransformToLabFrame(int sector)
     
    double[]
    TransformToLabFrame(int sector, double x, double y, double z)
     
    void
     
    double[]
    TransformToTiltSectorFrame(int sector, double x, double y, double z)
     
    double
    x()
    Description of x().
    double
    y()
    Description of y().
    double
    z()
    Description of z().

    Methods inherited from class Jama.Matrix Link icon

    arrayLeftDivide, arrayLeftDivideEquals, arrayRightDivide, arrayRightDivideEquals, arrayTimes, arrayTimesEquals, chol, clone, cond, constructWithCopy, copy, det, eig, get, getArray, getArrayCopy, getColumnDimension, getColumnPackedCopy, getMatrix, getMatrix, getMatrix, getMatrix, getRowDimension, getRowPackedCopy, identity, inverse, lu, minus, minusEquals, norm1, norm2, normF, normInf, plus, plusEquals, print, print, print, print, qr, random, rank, read, set, setMatrix, setMatrix, setMatrix, setMatrix, solve, solveTranspose, svd, times, times, timesEquals, trace, transpose, uminus

    Methods inherited from class java.lang.Object Link icon

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • FrameRefId Link icon

      public int FrameRefId
  • Constructor Details Link icon

    • TrackVec Link icon

      public TrackVec()
      Instantiates a new vec.
    • TrackVec Link icon

      public TrackVec(double x, double y, double z, double px, double py, double pz)
    • TrackVec Link icon

      public TrackVec(TrackVec v)
      Instantiates a new vec
      Parameters:
      v - the v
    • TrackVec Link icon

      public TrackVec(double x, double y, double z, double px, double py, double pz, int sec)
    • TrackVec Link icon

      public TrackVec(TrackVec v, int sec)
      Instantiates a new vec
      Parameters:
      v - the v
      sec -
  • Method Details Link icon

    • set Link icon

      public void set(TrackVec V)
      Sets the.
      Parameters:
      V - the v
    • getZ Link icon

      public double getZ()
    • setZ Link icon

      public void setZ(double z)
    • set Link icon

      public void set(double x, double y, double z, double px, double py, double pz)
    • x Link icon

      public double x()
      Description of x().
      Returns:
      the x component
    • y Link icon

      public double y()
      Description of y().
      Returns:
      the y component
    • z Link icon

      public double z()
      Description of z().
      Returns:
      the z component
    • px Link icon

      public double px()
      Description of x().
      Returns:
      the x component
    • py Link icon

      public double py()
      Description of py().
      Returns:
      the py component
    • pz Link icon

      public double pz()
      Description of pz().
      Returns:
      the pz component
    • TransformToLabFrame Link icon

      public double[] TransformToLabFrame(int sector, double x, double y, double z)
    • TransformToLabFrame Link icon

      public void TransformToLabFrame(int sector)
    • TransformToTiltSectorFrame Link icon

      public double[] TransformToTiltSectorFrame(int sector, double x, double y, double z)
    • TransformToTiltSectorFrame Link icon

      public void TransformToTiltSectorFrame()
    • tilt Link icon

      public double[] tilt(double X, double Z, int t)
      Parameters:
      X -
      Z -
      t - invalid input: '<'0 going to lab, >0 going to tilted system
      Returns:
    • rotateToSec Link icon

      public double[] rotateToSec(int sector, double x, double y, int t)
      Parameters:
      sector -
      x -
      y -
      t - >0 going from TSC to LAB
      Returns:
    • getSector Link icon

      public int getSector()
      Returns:
      the _sector
    • setSector Link icon

      public void setSector(int _sector)
      Parameters:
      _sector - the _sector to set