Class TObject

java.lang.Object
org.jlab.clas.tracking.objects.TObject
Direct Known Subclasses:
Cross, Segment, Strip

public class TObject extends Object
Author:
ziegler
  • Constructor Details

    • TObject

      public TObject()
      TObject is a tracking object that can be a cross or a segment representing a strip or a wire
    • TObject

      public TObject(int id, double x, double y, double z)
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getId

      public int getId()
      Returns:
      the _id
    • setId

      public void setId(int _id)
      Parameters:
      _id - the _id to set
    • getLayer

      public int getLayer()
      Returns:
      the _layer
    • setLayer

      public void setLayer(int _layer)
      Parameters:
      _layer - the _layer to set
    • getX

      public double getX()
      Returns:
      the _x
    • setX

      public void setX(double _x)
      Parameters:
      _x - the _x to set
    • getY

      public double getY()
      Returns:
      the _y
    • setY

      public void setY(double _y)
      Parameters:
      _y - the _y to set
    • getZ

      public double getZ()
      Returns:
      the _z
    • setZ

      public void setZ(double _z)
      Parameters:
      _z - the _z to set
    • getR

      public double getR()
      Returns:
      the _r
    • setR

      public void setR(double _r)
      Parameters:
      _r - the _r to set