Package org.jlab.rec.dc.track
Class TrackCandListFinder
java.lang.Object
org.jlab.rec.dc.track.TrackCandListFinder
A class with a method implementing an algorithm that finds lists of track
candidates in the DC
- Author:
- ziegler, tongtong
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getInitState
(Track trkcand, double z0, int c, AStateVecs.StateVec initStateVec, Swim dcSwim, float[] bf) getMeasSurfaces
(Track trkcand, DCGeant4Factory DcDetector) getTrackCands
(CrossList crossList, DCGeant4Factory DcDetector, double TORSCALE, Swim dcSwim, boolean donotapplyCuts) void
void
removeOverlappingTracks
(List<Track> trkcands) void
removeOverlappingTracksOld
(List<Track> trkcands) void
setKFStateVecsAlongTrajectory
(KFitter kFZRef, double deltaPathToVtx) setKFStateVecsAlongTrajectory
(KFitterStraight kFZRef, double deltaPathToVtx) void
setTrackPars
(Track cand, Trajectory traj, TrajectoryFinder trjFind, StateVec stateVec, double z, DCGeant4Factory getDcDetector, Swim dcSwim) void
setTrackPars
(Track cand, Trajectory traj, TrajectoryFinder trjFind, StateVec stateVec, double z, DCGeant4Factory getDcDetector, Swim dcSwim, double xB, double yB)
-
Constructor Details
-
TrackCandListFinder
- Parameters:
stat
- the tracking status Hit-based or Time-based
-
-
Method Details
-
getTrackCands
public List<Track> getTrackCands(CrossList crossList, DCGeant4Factory DcDetector, double TORSCALE, Swim dcSwim, boolean donotapplyCuts) - Parameters:
crossList
- the input list of crossesDcDetector
-TORSCALE
-dcSwim
-donotapplyCuts
-- Returns:
- a list of track candidates in the DC
-
setTrackPars
public void setTrackPars(Track cand, Trajectory traj, TrajectoryFinder trjFind, StateVec stateVec, double z, DCGeant4Factory getDcDetector, Swim dcSwim) - Parameters:
cand
- the track candidatetraj
- the track trajectorytrjFind
- the track trajectory utilitystateVec
- the track state vector at the last measurement site used by the Kalman Filterz
- the z position in the tilted sector coordinate system at the last measurement sitegetDcDetector
- the detector geometrydcSwim
-
-
setTrackPars
public void setTrackPars(Track cand, Trajectory traj, TrajectoryFinder trjFind, StateVec stateVec, double z, DCGeant4Factory getDcDetector, Swim dcSwim, double xB, double yB) -
removeOverlappingTracksOld
-
removeOverlappingTracks
-
matchHits
public void matchHits(List<StateVec> stateVecAtPlanesList, Track trk, DCGeant4Factory DcDetector, Swim dcSwim) -
setHitDoubletsInfo
-
setKFStateVecsAlongTrajectory
-
setKFStateVecsAlongTrajectory
-
getInitState
public void getInitState(Track trkcand, double z0, int c, AStateVecs.StateVec initStateVec, Swim dcSwim, float[] bf) -
getMeasSurfaces
-