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
isFinal
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
boolean
containsCross
(Cross cross) void
double
getChi2()
double[][]
int
getNDF()
int
void
setChi2
(double _chi2) void
setCovMat
(double[][] covmat) void
setNDF
(int _ndf) void
setStatus
(int status) final void
void
void
void
updateCrosses
(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, setTrajectory
Methods 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, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods 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
-