Package org.jlab.rec.dc.track.fit
Class StateVecsDoca
java.lang.Object
org.jlab.rec.dc.track.fit.StateVecsDoca
- 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
ConstructorsConstructorDescriptionStateVecsDoca
(Swim swimmer) State vector representing the track in the sector coordinate system at the measurement layer -
Method Summary
Modifier and TypeMethodDescriptiondouble
getX0
(double z) void
init
(Track trkcand, double z0, KFitterDoca 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, StateVecsDoca.StateVec iVec, StateVecsDoca.CovMat covMat) void
transport
(int sector, int i, int f, StateVecsDoca.StateVec iVec, StateVecsDoca.CovMat covMat) void
transportFixed
(int sector, int i, int f, StateVecsDoca.StateVec iVec, StateVecsDoca.CovMat covMat)
-
Field Details
-
Z
public double[] Z -
trackTraj
-
trackCov
-
StateVec
-
CovMat
-
F
public org.jlab.jnp.matrix.Matrix F
-
-
Constructor Details
-
StateVecsDoca
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, StateVecsDoca.StateVec iVec, StateVecsDoca.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
public void transport(int sector, int i, int f, StateVecsDoca.StateVec iVec, StateVecsDoca.CovMat covMat) - 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, StateVecsDoca.StateVec iVec, StateVecsDoca.CovMat covMat) - Parameters:
sector
-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
- Parameters:
trkcand
- the track candidatez0
- the value in z to which the track is swam back tokf
- the final state measurement indexc
-
-
printMatrix
public void printMatrix(org.jlab.jnp.matrix.Matrix C)
-