Package org.jlab.rec.cvt.track
Class StraightTrack
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Cross>
org.jlab.rec.cvt.trajectory.Trajectory
org.jlab.rec.cvt.track.StraightTrack
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Cross>,Collection<Cross>,List<Cross>,RandomAccess
- See Also:
-
Field Summary
FieldsFields inherited from class org.jlab.rec.cvt.trajectory.Trajectory
isFinalFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublebooleancontainsCross(Cross cross) voiddoublegetChi2()double[][]intgetNDF()intvoidsetChi2(double _chi2) voidsetCovMat(double[][] covmat) voidsetNDF(int _ndf) voidsetStatus(int status) final voidvoidvoidvoidupdateCrosses(Ray ray) Methods inherited from class org.jlab.rec.cvt.trajectory.Trajectory
getBMTIntersections, getHelix, getId, getRay, getSVTIntersections, getSVTSector, getTrajectory, setBMTIntersections, setHelix, setId, setRay, setSVTIntersections, setSVTSector, setTrajectoryMethods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Field Details
-
trajs
-
-
Constructor Details
-
StraightTrack
-
StraightTrack
-
-
Method Details
-
getClusters
-
update
-
updateCrosses
-
updateCrosses
public void updateCrosses() -
updateClusters
public void updateClusters() -
getNDF
public int getNDF() -
setNDF
public void setNDF(int _ndf) -
getChi2
public double getChi2() -
setChi2
public void setChi2(double _chi2) -
getCovMat
public double[][] getCovMat() -
setCovMat
public void setCovMat(double[][] covmat) -
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
getTrajectories
-
containsCross
-
findTrajectory
public void findTrajectory() -
calcStraightTrkChi2
public double calcStraightTrkChi2()- Returns:
- the chi^2 for the straight track fit
-