Package org.jlab.rec.fmt.track.fit
Class StateVecs
java.lang.Object
org.jlab.rec.fmt.track.fit.StateVecs
- Author:
- ziegler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
The track covariance matrixclass
The state vector representing the track at a given measurement site -
Field Summary
FieldsModifier and TypeFieldDescriptionorg.jlab.jnp.matrix.Matrix
double[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
getX0
(double z) void
init
(int sector, double xVtx, double yVtx, double zVtx, double pxVtx, double pyVtx, double pzVtx, int q, double z0, KFitter kf, int c) void
printMatrix
(org.jlab.jnp.matrix.Matrix C) void
setMass
(int hypo, double mass) org.jlab.jnp.matrix.Matrix
transport
(int sector, int i, double Zf, StateVecs.StateVec iVec, StateVecs.CovMat covMat) void
transport
(int sector, int i, int f, StateVecs.StateVec iVec, StateVecs.CovMat covMat) void
transportFixed
(int sector, int i, int f, StateVecs.StateVec iVec, StateVecs.CovMat covMat)
-
Field Details
-
Z
public double[] Z -
trackTraj
-
trackCov
-
StateVec
-
CovMat
-
F
public org.jlab.jnp.matrix.Matrix F
-
-
Constructor Details
-
StateVecs
State vector representing the track in the sector coordinate system at the measurement layer- Parameters:
swimmer
-
-
-
Method Details
-
transport
public org.jlab.jnp.matrix.Matrix transport(int sector, int i, double Zf, StateVecs.StateVec iVec, StateVecs.CovMat covMat) - Parameters:
sector
-i
- initial state vector indexZf
-iVec
- state vector at the initial indexcovMat
- state covariance matrix at the initial index- Returns:
-
transport
- Parameters:
sector
-i
- initial state vector indexf
- final state vector indexiVec
- state vector at the initial indexcovMat
- state covariance matrix at the initial index
-
getX0
public double getX0(double z) -
transportFixed
public void transportFixed(int sector, int i, int f, StateVecs.StateVec iVec, StateVecs.CovMat covMat) - Parameters:
i
- initial state vector indexf
- final state vector indexiVec
- state vector at the initial indexcovMat
- state covariance matrix at the initial index
-
setMass
public void setMass(int hypo, double mass) -
init
public void init(int sector, double xVtx, double yVtx, double zVtx, double pxVtx, double pyVtx, double pzVtx, int q, double z0, KFitter kf, int c) - Parameters:
sector
-xVtx
-yVtx
-zVtx
-z0
- the value in z to which the track is swam back topyVtx
-pzVtx
-q
-kf
- the final state measurement indexpxVtx
-c
-
-
printMatrix
public void printMatrix(org.jlab.jnp.matrix.Matrix C)
-