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

    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

    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

    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

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StateVec

      public StateVec()
      Instantiates a new vec.
    • StateVec

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

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

    • getPathLength

      public double getPathLength()
    • setPathLength

      public void setPathLength(double _PathLength)
    • getDAFWeight

      public double getDAFWeight()
    • setDAFWeight

      public void setDAFWeight(double weight)
    • getIsDoubleHit

      public int getIsDoubleHit()
    • setIsDoubleHit

      public void setIsDoubleHit(int _isDoubleHit)
    • set

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

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

      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

      public double getZ()
    • setZ

      public void setZ(double z)
    • getB

      public double getB()
    • setB

      public void setB(double b)
    • getProjector

      public double getProjector()
    • setProjector

      public void setProjector(double h)
    • getProjectorDoca

      public double getProjectorDoca()
    • setProjectorDoca

      public void setProjectorDoca(double h)
    • set

      public void set(double x, double y, double tanThX, double tanThY)
      Sets the stateVec
      Parameters:
      y - the _y
      x - the _x
      tanThX - the _tanThetaX
      tanThY - the _tanThetaY
    • x

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

      public double y()
      Description of y().
      Returns:
      the y component
    • tanThetaX

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

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

      public void printInfo()