Package org.jlab.clas.detector
Class DetectorTrack
java.lang.Object
org.jlab.clas.detector.DetectorTrack
- All Implemented Interfaces:
Comparable
- Author:
- gavalian, baltzell
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
ConstructorsConstructorDescriptionDetectorTrack
(int charge) DetectorTrack
(int charge, double mom) DetectorTrack
(int charge, double px, double py, double pz) DetectorTrack
(int charge, double px, double py, double pz, double vx, double vy, double vz) DetectorTrack
(int charge, double mom, int index) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCross
(double x, double y, double z, double ux, double uy, double uz) int
int
int
double
getchi2()
float[][]
float
getCovMatrix
(int ii, int jj) getCross
(int index) int
int
double
int
getNDF()
double
getP()
double
getPath()
double
getPathLength
(DetectorType type, int layId) int
int
int
getTrajectoryPoint
(int detId, int layId) void
setAssociation
(int x) setCharge
(int charge) void
setchi2
(double x) void
setCovMatrix
(float[][] matrix) void
setCovMatrix
(int ii, int jj, float val) void
setDetectorID
(int id) void
setNDF
(int x) setNeutralPath
(Vector3 vertex, Vector3D end) setPath
(double path) setSector
(int sector) void
setStatus
(int x) setTrackEnd
(double x, double y, double z) setVector
(double px, double py, double pz) setVertex
(double vx, double vy, double vz) toString()
-
Constructor Details
-
DetectorTrack
public DetectorTrack(int charge) -
DetectorTrack
public DetectorTrack(int charge, double mom) -
DetectorTrack
public DetectorTrack(int charge, double mom, int index) -
DetectorTrack
public DetectorTrack(int charge, double px, double py, double pz) -
DetectorTrack
public DetectorTrack(int charge, double px, double py, double pz, double vx, double vy, double vz)
-
-
Method Details
-
setCovMatrix
public void setCovMatrix(int ii, int jj, float val) -
setCovMatrix
public void setCovMatrix(float[][] matrix) -
getCovMatrix
public float getCovMatrix(int ii, int jj) -
getCovMatrix
public float[][] getCovMatrix() -
getMaxLineLength
public double getMaxLineLength() -
getPathLength
-
getTrajectoryPoint
-
getTrajectoryPoint
-
getTrajectoryPoint
-
getTrajectory
-
setCharge
-
setVector
-
setVector
-
setVertex
-
setVertex
-
setPath
-
setNeutralPath
-
setSector
-
setTrackEnd
-
setTrackEnd
-
setNDF
public void setNDF(int x) -
setStatus
public void setStatus(int x) -
setchi2
public void setchi2(double x) -
setAssociation
public void setAssociation(int x) -
setDetectorID
public void setDetectorID(int id) -
getCharge
public int getCharge() -
getNDF
public int getNDF() -
getStatus
public int getStatus() -
getchi2
public double getchi2() -
getP
public double getP() -
getPath
public double getPath() -
getSector
public int getSector() -
getVector
-
getVertex
-
getTrackEnd
-
getAssociation
public int getAssociation() -
getDetectorID
public int getDetectorID() -
addCross
public void addCross(double x, double y, double z, double ux, double uy, double uz) -
getCrossCount
public int getCrossCount() -
getCross
-
getFirstCross
-
getTrackIndex
public int getTrackIndex() -
getLastCross
-
compareTo
- Specified by:
compareTo
in interfaceComparable
-
toString
-