Package org.jlab.rec.dc.trajectory
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 -
Method Summary
Modifier and TypeMethodDescriptiondouble
getB()
double
int
double
int
double
double
double
getZ()
void
void
set
(double x, double y, double tanThX, double tanThY) Sets the stateVecvoid
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 trajectoryvoid
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
-
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 _yx
- the _xtanThX
- the _tanThetaXtanThY
- the _tanThetaY
-
StateVec
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
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 _yx
- the _xtanThX
- the _tanThetaXtanThY
- 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()
-