Class StateVecs
java.lang.Object
org.jlab.rec.fmt.track.fit.StateVecs
- Author:
- ziegler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassThe track covariance matrixclassThe state vector representing the track at a given measurement site -
Field Summary
FieldsModifier and TypeFieldDescriptionorg.jlab.jnp.matrix.Matrixdouble[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetX0(double z) voidinit(int sector, double xVtx, double yVtx, double zVtx, double pxVtx, double pyVtx, double pzVtx, int q, double z0, KFitter kf, int c) voidprintMatrix(org.jlab.jnp.matrix.Matrix C) voidsetMass(int hypo, double mass) org.jlab.jnp.matrix.Matrixtransport(int sector, int i, double Zf, StateVecs.StateVec iVec, StateVecs.CovMat covMat) voidtransport(int sector, int i, int f, StateVecs.StateVec iVec, StateVecs.CovMat covMat) voidtransportFixed(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-pxVtx-pyVtx-pzVtx-q-z0- 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)
-