Class TrackProjection

java.lang.Object
org.jlab.rec.alert.projections.TrackProjection

public class TrackProjection extends Object
The TrackProjection class holds ahdc track information relevant for atof analysis i.e projected to the surfaces of the bar and wedges
Author:
pilleux
  • Constructor Details Link icon

    • TrackProjection Link icon

      public TrackProjection()
      Default constructor that initializes the intersection points and path lengths to NaN.
  • Method Details Link icon

    • getBarIntersect Link icon

      public Point3D getBarIntersect()
      Gets the intersection point of the track with the middle surface of the bar.
      Returns:
      Point3D bar's intersection point.
    • getWedgeIntersect Link icon

      public Point3D getWedgeIntersect()
      Gets the intersection point of the track with the middle surface of the wedges.
      Returns:
      Point3D wedge's intersection point.
    • getBarPathLength Link icon

      public Float getBarPathLength()
      Gets the path length of the track from the DOCA to the beam line to the inner surface of the bar.
      Returns:
      Float path length to the bar's middle surface.
    • getBarInPathLength Link icon

      public Float getBarInPathLength()
      Gets the path length of the track from the inner surface of the bar to its middle surface.
      Returns:
      Float path length inside the bar.
    • getWedgePathLength Link icon

      public Float getWedgePathLength()
      Gets the path length of the track from the DOCA to the beam line to the inner surface of the wedges.
      Returns:
      Float path length to the wedge's middle surface.
    • getWedgeInPathLength Link icon

      public Float getWedgeInPathLength()
      Gets the path length of the track from the the inner surface of the wedge to its middle surface.
      Returns:
      Float path length inside the wedge.
    • setBarIntersect Link icon

      public void setBarIntersect(Point3D BarIntersect)
      Sets the intersection point of the track with the middle surface of the bar.
      Parameters:
      BarIntersect - Point3D intersection with the bar.
    • setWedgeIntersect Link icon

      public void setWedgeIntersect(Point3D WedgeIntersect)
      Sets the intersection point of the track with the middle surface of the wedges.
      Parameters:
      WedgeIntersect - Point3D intersection with the wedge.
    • setBarPathLength Link icon

      public void setBarPathLength(Float BarPathLength)
      Sets the path length of the track from the DOCA to the beam line to the inner surface of the bar.
      Parameters:
      BarPathLength - Float path length to the bar inner surface.
    • setWedgePathLength Link icon

      public void setWedgePathLength(Float WedgePathLength)
      Sets the path length of the track from the DOCA to the beam line to the inner surface of the wedges.
      Parameters:
      WedgePathLength - Float path length to the wedge inner surface.
    • setBarInPathLength Link icon

      public void setBarInPathLength(Float BarInPathLength)
      Sets the path length of the track inside the bar.
      Parameters:
      BarInPathLength - Float path length inside the bar.
    • setWedgeInPathLength Link icon

      public void setWedgeInPathLength(Float WedgeInPathLength)
      Sets the path length of the track inside the wedges.
      Parameters:
      WedgeInPathLength - Float path length inside the wedge.
    • setTrackID Link icon

      public void setTrackID(int trackID)
    • getTrackID Link icon

      public int getTrackID()
    • main Link icon

      public static void main(String[] arg)
      testing purposes.
      Parameters:
      arg - command-line arguments.