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 Link icon

    • TObject Link icon

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

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

    • equals Link icon

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

      public int getId()
      Returns:
      the _id
    • setId Link icon

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

      public int getLayer()
      Returns:
      the _layer
    • setLayer Link icon

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

      public double getX()
      Returns:
      the _x
    • setX Link icon

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

      public double getY()
      Returns:
      the _y
    • setY Link icon

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

      public double getZ()
      Returns:
      the _z
    • setZ Link icon

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

      public double getR()
      Returns:
      the _r
    • setR Link icon

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