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 SummaryFieldsModifier and TypeFieldDescriptiondoubleStep size used in integral Bdl Riemann integrationdouble
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfindTrajectory(List<Cross> candCrossList, DCGeant4Factory DcDetector, Swim dcSwim) voidfitTrajectory(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(DCGeant4Factory DcDetector) doubleintegralBdl(int sector, DCGeant4Factory DcDetector, Swim dcSwim) 
- 
Field Details- 
mmStepSizeForIntBdlpublic double mmStepSizeForIntBdlStep size used in integral Bdl Riemann integration
- 
TrajChisqProbFitXZpublic double TrajChisqProbFitXZ
 
- 
- 
Constructor Details- 
TrajectoryFinderpublic TrajectoryFinder()
 
- 
- 
Method Details- 
findTrajectorypublic 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- Parameters:
- sector-
- DcDetector- DC detector utility
- dcSwim-
- Returns:
- integral Bdl
 
- 
getStateVecsAlongTrajectory- Parameters:
- DcDetector-
- Returns:
- the list of state vectors along the trajectory
 
- 
fitTrajectoryThe 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
 
 
-