Class TrackProjection
java.lang.Object
org.jlab.rec.alert.projections.TrackProjection
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 Summary
ConstructorsConstructorDescriptionDefault constructor that initializes the intersection points and path lengths toNaN. -
Method Summary
Modifier and TypeMethodDescriptionGets the path length of the track from the inner surface of the bar to its middle surface.Gets the intersection point of the track with the middle surface of the bar.Gets the path length of the track from the DOCA to the beam line to the inner surface of the bar.intGets the path length of the track from the the inner surface of the wedge to its middle surface.Gets the intersection point of the track with the middle surface of the wedges.Gets the path length of the track from the DOCA to the beam line to the inner surface of the wedges.static voidtesting purposes.voidsetBarInPathLength(Float BarInPathLength) Sets the path length of the track inside the bar.voidsetBarIntersect(Point3D BarIntersect) Sets the intersection point of the track with the middle surface of the bar.voidsetBarPathLength(Float BarPathLength) Sets the path length of the track from the DOCA to the beam line to the inner surface of the bar.voidsetTrackID(int trackID) voidsetWedgeInPathLength(Float WedgeInPathLength) Sets the path length of the track inside the wedges.voidsetWedgeIntersect(Point3D WedgeIntersect) Sets the intersection point of the track with the middle surface of the wedges.voidsetWedgePathLength(Float WedgePathLength) Sets the path length of the track from the DOCA to the beam line to the inner surface of the wedges.
-
Constructor Details
-
TrackProjection
public TrackProjection()Default constructor that initializes the intersection points and path lengths toNaN.
-
-
Method Details
-
getBarIntersect
-
getWedgeIntersect
-
getBarPathLength
Gets the path length of the track from the DOCA to the beam line to the inner surface of the bar.- Returns:
Floatpath length to the bar's middle surface.
-
getBarInPathLength
Gets the path length of the track from the inner surface of the bar to its middle surface.- Returns:
Floatpath length inside the bar.
-
getWedgePathLength
Gets the path length of the track from the DOCA to the beam line to the inner surface of the wedges.- Returns:
Floatpath length to the wedge's middle surface.
-
getWedgeInPathLength
Gets the path length of the track from the the inner surface of the wedge to its middle surface.- Returns:
Floatpath length inside the wedge.
-
setBarIntersect
-
setWedgeIntersect
-
setBarPathLength
Sets the path length of the track from the DOCA to the beam line to the inner surface of the bar.- Parameters:
BarPathLength-Floatpath length to the bar inner surface.
-
setWedgePathLength
Sets the path length of the track from the DOCA to the beam line to the inner surface of the wedges.- Parameters:
WedgePathLength-Floatpath length to the wedge inner surface.
-
setBarInPathLength
Sets the path length of the track inside the bar.- Parameters:
BarInPathLength-Floatpath length inside the bar.
-
setWedgeInPathLength
Sets the path length of the track inside the wedges.- Parameters:
WedgeInPathLength-Floatpath length inside the wedge.
-
setTrackID
public void setTrackID(int trackID) -
getTrackID
public int getTrackID() -
main
-