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 TypeMethodDescriptionvoiddoubleget_chi2()doubleget_dEdx()doubleintdoubledoubleget_path()intintintdoubleget_px()doubleget_py()doubleget_pz()intdoubleintdoubleget_X0()doubleget_Y0()doubleget_Z0()The candidate this track was fitted from.getHits()getType()booleanis_Used()voidset_chi2(double _chi2) voidset_dEdx(double _dEdx) voidset_n_hits(int n) 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_adc(int s) voidset_sum_residuals(double _sum_residuals) voidset_trackId(int id) voidset_Used(boolean u) voidsetPositionAndMomentum(HelixFitObject helixFitObject) voidsetPositionAndMomentumVec(double[] x) voidtoString()
-
Constructor Details
-
Track
< length of the track (mm)
-
-
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_dEdx
public void set_dEdx(double _dEdx) -
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() -
set_n_hits
public void set_n_hits(int n) -
get_sum_adc
public int get_sum_adc() -
set_sum_adc
public void set_sum_adc(int s) -
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()
-