Package org.jlab.rec.alert.projections
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.int
Gets 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 void
testing purposes.void
setBarInPathLength
(Float BarInPathLength) Sets the path length of the track inside the bar.void
setBarIntersect
(Point3D BarIntersect) Sets the intersection point of the track with the middle surface of the bar.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.void
setTrackID
(int trackID) void
setWedgeInPathLength
(Float WedgeInPathLength) Sets the path length of the track inside the wedges.void
setWedgeIntersect
(Point3D WedgeIntersect) Sets the intersection point of the track with the middle surface of the wedges.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.
-
Constructor Details
-
TrackProjection
public TrackProjection()Default constructor that initializes the intersection points and path lengths toNaN
.
-
-
Method Details
-
getBarIntersect
Gets the intersection point of the track with the middle surface of the bar.- Returns:
Point3D
bar's intersection point.
-
getWedgeIntersect
Gets the intersection point of the track with the middle surface of the wedges.- Returns:
Point3D
wedge's intersection point.
-
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
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
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
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
Sets the intersection point of the track with the middle surface of the bar.- Parameters:
BarIntersect
-Point3D
intersection with the bar.
-
setWedgeIntersect
Sets the intersection point of the track with the middle surface of the wedges.- Parameters:
WedgeIntersect
-Point3D
intersection with the wedge.
-
setBarPathLength
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
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
Sets the path length of the track inside the bar.- Parameters:
BarInPathLength
-Float
path length inside the bar.
-
setWedgeInPathLength
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
testing purposes.- Parameters:
arg
- command-line arguments.
-