Class TrajectoryFinder

java.lang.Object
org.jlab.rec.dc.trajectory.TrajectoryFinder

public class TrajectoryFinder extends Object
A driver class to find the trajectory of a track candidate. NOTE THAT THE PATH TO FIELD MAPS IS SET BY THE CLARA_SERVICES ENVIRONMENT VAR.
Author:
ziegler
  • Field Details Link icon

    • mmStepSizeForIntBdl Link icon

      public double mmStepSizeForIntBdl
      Step size used in integral Bdl Riemann integration
    • TrajChisqProbFitXZ Link icon

      public double TrajChisqProbFitXZ
  • Constructor Details Link icon

    • TrajectoryFinder Link icon

      public TrajectoryFinder()
  • Method Details Link icon

    • findTrajectory Link icon

      public Trajectory findTrajectory(List<Cross> candCrossList, DCGeant4Factory DcDetector, Swim dcSwim)
      Parameters:
      candCrossList - the input list of crosses used in determining a trajectory
      DcDetector -
      dcSwim -
      Returns:
      a trajectory object
    • integralBdl Link icon

      public double integralBdl(int sector, DCGeant4Factory DcDetector, Swim dcSwim)
      Parameters:
      sector -
      DcDetector - DC detector utility
      dcSwim -
      Returns:
      integral Bdl
    • getStateVecsAlongTrajectory Link icon

      public List<StateVec> getStateVecsAlongTrajectory(DCGeant4Factory DcDetector)
      Parameters:
      DcDetector -
      Returns:
      the list of state vectors along the trajectory
    • fitTrajectory Link icon

      public void fitTrajectory(List<Cross> candCrossList)
      The parametric form of the trajectory determined from fitting the tangent values of the state vecs linearly, and constraining the quadratic parameters of the function describing the position values of the state vecs.
      Parameters:
      candCrossList - list of crosses used in the fit