Class StateVec

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

public class StateVec extends Jama.Matrix
A StateVec describes a cross measurement in the DC. It is characterized by a point in the DC tilted coordinate system at each wire plane (i.e. constant z) and by unit tangent vectors in the x and y directions in that coordinate system. The state vector parameters are the plane index, (x, y, tanTheta_x, tanTheta_y). [The tilted coordinate system is the sector coordinate system rotated by 25 degrees so that the z axis perperdicular to the wire planes]
Author:
ziegler
See Also:
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    Instantiates a new vec.
    StateVec(double x, double y, double tanThX, double tanThY)
    Instantiates a new stateVec
    Instantiates a new stateVec
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    double
     
    double
     
    int
     
    double
     
    int
     
    double
     
    double
     
    double
     
    void
     
    void
    set(double x, double y, double tanThX, double tanThY)
    Sets the stateVec
    void
    Sets the.
    void
    setB(double b)
     
    void
    setDAFWeight(double weight)
     
    void
    setIsDoubleHit(int _isDoubleHit)
     
    void
    setPathLength(double _PathLength)
     
    void
    setPlaneIdx(int _planeIdx)
    Sets the wire plane index in the series of planes used in the trajectory
    void
    setProjector(double h)
     
    void
    setProjectorDoca(double h)
     
    void
    setZ(double z)
     
    double
    Description of tanThetaX().
    double
    Description of tanThetaY().
    double
    x()
    Description of x().
    double
    y()
    Description of y().

    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
  • Constructor Details Link icon

    • StateVec Link icon

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

      public StateVec(double x, double y, double tanThX, double tanThY)
      Instantiates a new stateVec
      Parameters:
      x - the _x
      y - the _y
      tanThX - the _tanThetaX
      tanThY - the _tanThetaY
    • StateVec Link icon

      public StateVec(StateVec v)
      Instantiates a new stateVec
      Parameters:
      v - the v
  • Method Details Link icon

    • getPathLength Link icon

      public double getPathLength()
    • setPathLength Link icon

      public void setPathLength(double _PathLength)
    • getDAFWeight Link icon

      public double getDAFWeight()
    • setDAFWeight Link icon

      public void setDAFWeight(double weight)
    • getIsDoubleHit Link icon

      public int getIsDoubleHit()
    • setIsDoubleHit Link icon

      public void setIsDoubleHit(int _isDoubleHit)
    • set Link icon

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

      public int getPlaneIdx()
      Returns:
      the wire plane index in the series of planes used in the trajectory
    • setPlaneIdx Link icon

      public void setPlaneIdx(int _planeIdx)
      Sets the wire plane index in the series of planes used in the trajectory
      Parameters:
      _planeIdx - wire plane index in the series of planes used in the trajectory
    • getZ Link icon

      public double getZ()
    • setZ Link icon

      public void setZ(double z)
    • getB Link icon

      public double getB()
    • setB Link icon

      public void setB(double b)
    • getProjector Link icon

      public double getProjector()
    • setProjector Link icon

      public void setProjector(double h)
    • getProjectorDoca Link icon

      public double getProjectorDoca()
    • setProjectorDoca Link icon

      public void setProjectorDoca(double h)
    • set Link icon

      public void set(double x, double y, double tanThX, double tanThY)
      Sets the stateVec
      Parameters:
      x - the _x
      y - the _y
      tanThX - the _tanThetaX
      tanThY - the _tanThetaY
    • 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
    • tanThetaX Link icon

      public double tanThetaX()
      Description of tanThetaX().
      Returns:
      the tanThetaX component
    • tanThetaY Link icon

      public double tanThetaY()
      Description of tanThetaY().
      Returns:
      the tanThetaY component
    • printInfo Link icon

      public void printInfo()