Class Hit

java.lang.Object
org.jlab.rec.ahdc.Hit.Hit
All Implemented Interfaces:
Comparable<Hit>
Direct Known Subclasses:
Hit_beam

public class Hit extends Object implements Comparable<Hit>
  • Constructor Details

    • Hit

      public Hit(int _Id, int _Super_layer, int _Layer, int _Wire, double _Doca, double _ADC, double _Time)
  • Method Details

    • setWirePosition

      public void setWirePosition(AlertDCDetector factory)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(Hit arg0)
      Specified by:
      compareTo in interface Comparable<Hit>
    • getId

      public int getId()
    • getSuperLayerId

      public int getSuperLayerId()
    • getLayerId

      public int getLayerId()
    • getWireId

      public int getWireId()
    • getDoca

      public double getDoca()
    • getLine

      public Line3D getLine()
    • getRadius

      public double getRadius()
    • getNbOfWires

      public int getNbOfWires()
    • is_NoUsed

      public boolean is_NoUsed()
    • setUse

      public void setUse(boolean use)
    • getX

      public double getX()
    • getY

      public double getY()
    • getPhi

      public double getPhi()
    • getADC

      public double getADC()
    • getResidual

      public double getResidual()
    • setResidual

      public void setResidual(double resid)
    • setToT

      public void setToT(double _tot)
    • getToT

      public double getToT()
    • setADC

      public void setADC(double _adc)
    • getRawADC

      public double getRawADC()
    • getTime

      public double getTime()
    • getTrackId

      public int getTrackId()
    • setTrackId

      public void setTrackId(int _trackId)
    • get_Vector

      public org.apache.commons.math3.linear.RealVector get_Vector()
    • get_MeasurementNoise

      public org.apache.commons.math3.linear.RealMatrix get_MeasurementNoise()
    • get_Vector_beam

      public org.apache.commons.math3.linear.RealVector get_Vector_beam()
    • distance

      public double distance(Point3D point3D)
    • main

      public static void main(String[] args)