Package org.jlab.rec.ahdc.KalmanFilter
Class KFitter
java.lang.Object
org.jlab.rec.ahdc.KalmanFilter.KFitter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKFitter
(org.apache.commons.math3.linear.RealVector initialStateEstimate, org.apache.commons.math3.linear.RealMatrix initialErrorCovariance, Stepper stepper, Propagator propagator) -
Method Summary
Modifier and TypeMethodDescriptionvoid
double
org.apache.commons.math3.linear.RealVector
Returns a copy of the current state estimation vector.void
void
ResetErrorCovariance
(org.apache.commons.math3.linear.RealMatrix initialErrorCovariance) double
void
setVertexDefined
(boolean isvtxdef) int
-
Field Details
-
stepper
-
chi2
public double chi2
-
-
Constructor Details
-
KFitter
public KFitter(org.apache.commons.math3.linear.RealVector initialStateEstimate, org.apache.commons.math3.linear.RealMatrix initialErrorCovariance, Stepper stepper, Propagator propagator)
-
-
Method Details
-
predict
- Throws:
Exception
-
correct
-
residual
-
wire_sign
-
ResetErrorCovariance
public void ResetErrorCovariance(org.apache.commons.math3.linear.RealMatrix initialErrorCovariance) -
getStateEstimationVector
public org.apache.commons.math3.linear.RealVector getStateEstimationVector()Returns a copy of the current state estimation vector.- Returns:
- the state estimation vector
-
getMomentum
public double getMomentum() -
setVertexDefined
public void setVertexDefined(boolean isvtxdef)
-