Class StateVecs

java.lang.Object
org.jlab.rec.fmt.track.fit.StateVecs

public class StateVecs extends Object
Author:
ziegler
  • Field Details

  • Constructor Details

    • StateVecs

      public StateVecs(Swim swimmer)
      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 index
      Zf -
      iVec - state vector at the initial index
      covMat - state covariance matrix at the initial index
      Returns:
    • transport

      public void transport(int sector, int i, int f, StateVecs.StateVec iVec, StateVecs.CovMat covMat)
      Parameters:
      sector -
      i - initial state vector index
      f - final state vector index
      iVec - state vector at the initial index
      covMat - 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 index
      f - final state vector index
      iVec - state vector at the initial index
      covMat - 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 to
      pyVtx -
      pzVtx -
      q -
      kf - the final state measurement index
      pxVtx -
      c -
    • printMatrix

      public void printMatrix(org.jlab.jnp.matrix.Matrix C)