Class StraightTrackCandListFinder
java.lang.Object
org.jlab.rec.cvt.track.StraightTrackCandListFinder
A class with a method implementing an algorithm that finds lists of track
candidates in the BST
- Author:
- ziegler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassA class representing the measurement variables used to fit a straight track -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRayMeasurementsArrays(ArrayList<Cross> arrayList, boolean ignoreErr, boolean resetSVTMeas, boolean useBMTCforZonly) getStraightTracks(CrossList SVTCrosses, List<Cross> BMTCrosses) voidmatchClusters(List<Cluster> sVTclusters, TrajectoryFinder tf, boolean trajFinal, ArrayList<StateVec> trajectory, int k) matchTrackToBMT(StraightTrack thecand, List<Cross> bmtCrosses) voidupdateCrossesFromTraj(StraightTrack cand, Trajectory trj)
-
Constructor Details
-
StraightTrackCandListFinder
public StraightTrackCandListFinder()
-
-
Method Details
-
getStraightTracks
- Parameters:
SVTCrosses-BMTCrosses-- Returns:
- an array list of track candidates in the SVT
-
updateCrossesFromTraj
-
getRayMeasurementsArrays
public StraightTrackCandListFinder.RayMeasurements getRayMeasurementsArrays(ArrayList<Cross> arrayList, boolean ignoreErr, boolean resetSVTMeas, boolean useBMTCforZonly) -
matchTrackToBMT
- Parameters:
thecand- the straight track candidatebmtCrosses- the BMT crosses- Returns:
- an arraylist of BMT crosses matched to the track
-
matchClusters
public void matchClusters(List<Cluster> sVTclusters, TrajectoryFinder tf, boolean trajFinal, ArrayList<StateVec> trajectory, int k)
-