Package org.jlab.rec.alert.Track
Class Track
java.lang.Object
org.jlab.rec.alert.Track.Track
A fitted track: the result of track fitting.
A Track is produced by fitting a TrackCandidate (helix
fit, then Kalman filter). It composes the candidate it was fitted from — so
it still exposes the candidate's hits / clusters to the bank writers — and
adds the fitted vertex, momentum and fit-quality quantities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintdoubleget_chi2()doubleget_dEdx()doubleintdoubledoubleget_path()intintintdoubleget_px()doubleget_py()doubleget_pz()intdoubleintdoubleget_X0()doubleget_Y0()doubleget_Z0()The candidate this track was fitted from.org.apache.commons.math3.linear.RealMatrixGet the starting error covariance matrixerrorCovarianceMatrix(around the beamline) for the current KF iteration.getHits()getType()booleanis_Used()voidset_ATOF_region(int _n) voidset_ATOF_S1_stepper(Stepper _stepper) voidset_ATOF_S2_stepper(Stepper _stepper) voidset_ATOF_S3_stepper(Stepper _stepper) voidset_chi2(double _chi2) voidset_p_drift(double _p_drift) voidset_path(double _path) voidset_predicted_ATOF_layer(int l) voidset_predicted_ATOF_sector(int s) voidset_predicted_ATOF_wedge(int w) voidset_sum_residuals(double _sum_residuals) voidset_trackId(int id) voidset_Used(boolean u) voidsetATOFHits(ArrayList<RadialKFHit> _ATOF_hits) voidsetBeamlineHit(RadialKFHit _beamline_hit) voidsetErrorCovarianceMatrix(org.apache.commons.math3.linear.RealMatrix errorCovarianceMatrix) Update the error covariance matrixerrorCovarianceMatrixvoidsetPositionAndMomentum(HelixFitObject helixFitObject) voidsetPositionAndMomentumVec(double[] x) voidtoString()
-
Constructor Details
-
Track
-
-
Method Details
-
getCandidate
The candidate this track was fitted from. -
setPositionAndMomentum
-
setPositionAndMomentumVec
public void setPositionAndMomentumVec(double[] x) -
toString
-
get_X0
public double get_X0() -
get_Y0
public double get_Y0() -
get_Z0
public double get_Z0() -
get_px
public double get_px() -
get_py
public double get_py() -
get_pz
public double get_pz() -
set_chi2
public void set_chi2(double _chi2) -
set_sum_residuals
public void set_sum_residuals(double _sum_residuals) -
get_chi2
public double get_chi2() -
get_sum_residuals
public double get_sum_residuals() -
set_p_drift
public void set_p_drift(double _p_drift) -
set_path
public void set_path(double _path) -
get_dEdx
public double get_dEdx() -
get_p_drift
public double get_p_drift() -
get_path
public double get_path() -
get_trackId
public int get_trackId() -
set_trackId
public void set_trackId(int id) -
get_n_hits
public int get_n_hits() -
get_sum_adc
public int get_sum_adc() -
getHits
-
get_Clusters
-
getInterclusters
-
get_Distance
public double get_Distance() -
is_Used
public boolean is_Used() -
set_Used
public void set_Used(boolean u) -
getType
-
setType
-
getAtofHits
-
addAtofHit
-
set_predicted_ATOF_sector
public void set_predicted_ATOF_sector(int s) -
set_predicted_ATOF_layer
public void set_predicted_ATOF_layer(int l) -
set_predicted_ATOF_wedge
public void set_predicted_ATOF_wedge(int w) -
get_predicted_ATOF_sector
public int get_predicted_ATOF_sector() -
get_predicted_ATOF_layer
public int get_predicted_ATOF_layer() -
get_predicted_ATOF_wedge
public int get_predicted_ATOF_wedge() -
getErrorCovarianceMatrix
public org.apache.commons.math3.linear.RealMatrix getErrorCovarianceMatrix()Get the starting error covariance matrixerrorCovarianceMatrix(around the beamline) for the current KF iteration. -
getATOFHits
-
getBeamlineHit
-
setATOFHits
-
setBeamlineHit
-
setErrorCovarianceMatrix
public void setErrorCovarianceMatrix(org.apache.commons.math3.linear.RealMatrix errorCovarianceMatrix) Update the error covariance matrixerrorCovarianceMatrix -
set_ATOF_S1_stepper
-
set_ATOF_S2_stepper
-
set_ATOF_S3_stepper
-
set_ATOF_region
public void set_ATOF_region(int _n) -
get_ATOF_S1_stepper
-
get_ATOF_S2_stepper
-
get_ATOF_S3_stepper
-
get_ATOF_region
public int get_ATOF_region()
-