Class TrackCandidate
java.lang.Object
org.jlab.rec.alert.Track.TrackCandidate
A track candidate: the output of a track finder.
A candidate is a set of hits grouped into AHDCClusters (and the
derived InterClusters). It is not a fitted track — fitting
consumes a TrackCandidate and produces a Track.
A candidate carries a CandidateType describing its specialization
(AHDC-only, AHDC+ATOF, ...). The type is what dictates how the candidate is
fitted downstream.
-
Constructor Summary
ConstructorsConstructorDescriptionTrackCandidate(ArrayList<Hit> hitslist) TrackCandidate(List<AHDCCluster> clusters) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAtofHit(AtofHitStub hit) doubleintintintintintintgetHits()getType()booleanis_Used()voidset_n_hits(int _n_hits) voidset_predicted_ATOF_layer(int l) voidset_predicted_ATOF_sector(int s) voidset_predicted_ATOF_wedge(int w) voidset_sum_adc(int _sum_adc) voidset_trackId(int _trackId) voidset_Used(boolean _Used) voidsetType(CandidateType type) toString()
-
Constructor Details
-
TrackCandidate
-
TrackCandidate
-
-
Method Details
-
getHits
-
toString
-
get_Distance
public double get_Distance() -
get_Clusters
-
getInterclusters
-
is_Used
public boolean is_Used() -
set_Used
public void set_Used(boolean _Used) -
getType
-
setType
-
getAtofHits
-
addAtofHit
-
set_trackId
public void set_trackId(int _trackId) -
set_n_hits
public void set_n_hits(int _n_hits) -
set_sum_adc
public void set_sum_adc(int _sum_adc) -
get_trackId
public int get_trackId() -
get_n_hits
public int get_n_hits() -
get_sum_adc
public int get_sum_adc() -
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()
-