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

    • mmStepSizeForIntBdl

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

      public double TrajChisqProbFitXZ
  • Constructor Details

    • TrajectoryFinder

      public TrajectoryFinder()
  • Method Details

    • findTrajectory

      public Trajectory findTrajectory(List<Cross> candCrossList, org.jlab.detector.geant4.v2.DCGeant4Factory DcDetector, org.jlab.clas.swimtools.Swim dcSwim)
      Parameters:
      candCrossList - the input list of crosses used in determining a trajectory
      DcDetector -
      dcSwim -
      Returns:
      a trajectory object
    • integralBdl

      public double integralBdl(int sector, org.jlab.detector.geant4.v2.DCGeant4Factory DcDetector, org.jlab.clas.swimtools.Swim dcSwim)
      Parameters:
      sector -
      DcDetector - DC detector utility
      dcSwim -
      Returns:
      integral Bdl
    • getStateVecsAlongTrajectory

      public List<StateVec> getStateVecsAlongTrajectory(org.jlab.detector.geant4.v2.DCGeant4Factory DcDetector)
      Parameters:
      DcDetector -
      Returns:
      the list of state vectors along the trajectory
    • fitTrajectory

      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