Class DetectorTrack

java.lang.Object
org.jlab.clas.detector.DetectorTrack
All Implemented Interfaces:
Comparable

public class DetectorTrack extends Object implements Comparable
Author:
gavalian, baltzell
  • 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

      public double getPathLength(org.jlab.detector.base.DetectorType type, int layId)
    • getTrajectoryPoint

      public DetectorTrack.TrajectoryPoint getTrajectoryPoint(int detId, int layId)
    • getTrajectoryPoint

      public DetectorTrack.TrajectoryPoint getTrajectoryPoint(org.jlab.detector.base.DetectorDescriptor dd)
    • getTrajectoryPoint

      public DetectorTrack.TrajectoryPoint getTrajectoryPoint(DetectorResponse dr)
    • getTrajectory

      public DetectorTrack.Trajectory getTrajectory()
    • setCharge

      public DetectorTrack setCharge(int charge)
    • setVector

      public DetectorTrack setVector(double px, double py, double pz)
    • setVector

      public DetectorTrack setVector(org.jlab.clas.physics.Vector3 v)
    • setVertex

      public DetectorTrack setVertex(double vx, double vy, double vz)
    • setVertex

      public DetectorTrack setVertex(org.jlab.clas.physics.Vector3 v)
    • setPath

      public DetectorTrack setPath(double path)
    • setNeutralPath

      public DetectorTrack setNeutralPath(org.jlab.clas.physics.Vector3 vertex, org.jlab.geom.prim.Vector3D end)
    • setSector

      public DetectorTrack setSector(int sector)
    • setTrackEnd

      public DetectorTrack setTrackEnd(double x, double y, double z)
    • setTrackEnd

      public DetectorTrack setTrackEnd(org.jlab.geom.prim.Vector3D v)
    • 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

      public org.jlab.clas.physics.Vector3 getVector()
    • getVertex

      public org.jlab.clas.physics.Vector3 getVertex()
    • getTrackEnd

      public org.jlab.geom.prim.Vector3D 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

      public org.jlab.geom.prim.Line3D getCross(int index)
    • getFirstCross

      public org.jlab.geom.prim.Line3D getFirstCross()
    • getTrackIndex

      public int getTrackIndex()
    • getLastCross

      public org.jlab.geom.prim.Line3D getLastCross()
    • compareTo

      public int compareTo(Object o)
      Specified by:
      compareTo in interface Comparable
    • toString

      public String toString()
      Overrides:
      toString in class Object