Class TrackCandListFinder

java.lang.Object
org.jlab.rec.dc.track.TrackCandListFinder

public class TrackCandListFinder extends Object
A class with a method implementing an algorithm that finds lists of track candidates in the DC
Author:
ziegler, tongtong
  • Constructor Details

    • TrackCandListFinder

      public TrackCandListFinder(String stat)
      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 crosses
      DcDetector -
      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 candidate
      traj - the track trajectory
      trjFind - the track trajectory utility
      stateVec - the track state vector at the last measurement site used by the Kalman Filter
      z - the z position in the tilted sector coordinate system at the last measurement site
      getDcDetector - the detector geometry
      dcSwim -
    • setTrackPars

      public void setTrackPars(Track cand, Trajectory traj, TrajectoryFinder trjFind, StateVec stateVec, double z, DCGeant4Factory getDcDetector, Swim dcSwim, double xB, double yB)
    • removeOverlappingTracksOld

      public void removeOverlappingTracksOld(List<Track> trkcands)
    • removeOverlappingTracks

      public void removeOverlappingTracks(List<Track> trkcands)
    • matchHits

      public void matchHits(List<StateVec> stateVecAtPlanesList, Track trk, DCGeant4Factory DcDetector, Swim dcSwim)
    • setHitDoubletsInfo

      public void setHitDoubletsInfo(Segment seg)
    • setKFStateVecsAlongTrajectory

      public List<StateVec> setKFStateVecsAlongTrajectory(KFitter kFZRef, double deltaPathToVtx)
    • setKFStateVecsAlongTrajectory

      public List<StateVec> setKFStateVecsAlongTrajectory(KFitterStraight kFZRef, double deltaPathToVtx)
    • getInitState

      public void getInitState(Track trkcand, double z0, int c, AStateVecs.StateVec initStateVec, Swim dcSwim, float[] bf)
    • getMeasSurfaces

      public List<Surface> getMeasSurfaces(Track trkcand, DCGeant4Factory DcDetector)