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

    • TrackProjection

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

    • getBarIntersect

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

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

      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

      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

      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

      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

      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

      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

      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

      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

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

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

      public void setTrackID(int trackID)
    • getTrackID

      public int getTrackID()
    • main

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