Package org.jlab.rec.dc.trajectory
Class TrajectoryFinder
java.lang.Object
org.jlab.rec.dc.trajectory.TrajectoryFinder
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 Summary
FieldsModifier and TypeFieldDescriptiondouble
Step size used in integral Bdl Riemann integrationdouble
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindTrajectory
(List<Cross> candCrossList, org.jlab.detector.geant4.v2.DCGeant4Factory DcDetector, org.jlab.clas.swimtools.Swim dcSwim) 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.getStateVecsAlongTrajectory
(org.jlab.detector.geant4.v2.DCGeant4Factory DcDetector) double
integralBdl
(int sector, org.jlab.detector.geant4.v2.DCGeant4Factory DcDetector, org.jlab.clas.swimtools.Swim dcSwim)
-
Field Details
-
mmStepSizeForIntBdl
public double mmStepSizeForIntBdlStep 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 trajectoryDcDetector
-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 utilitydcSwim
-- 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
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
-