Package org.jlab.rec.alert.projections
Class TrackProjector
java.lang.Object
org.jlab.rec.alert.projections.TrackProjector
The 
TrackProjector class projects ahdc tracks to the inner surfaces
 of the bar and wedges of the atof
 
 Uses ahdc track bank information (for now position, momentum) Creates a
 TrackProjection for each track.
 
TO DO: - replace hardcoded values with database values. - magnetic field ? use swimmer tools? - charge ?
- Author:
- pilleux
- 
Constructor SummaryConstructorsConstructorDescriptionDefault constructor that initializes the list of projections as new empty list and the magnetic field to 5T.
- 
Method SummaryModifier and TypeMethodDescriptiongetB()Gets the solenoid magnitudeGets the list of track projections.static voidvoidprojectMCTracks(DataEvent event) Projects the MC particles onto the atof using aHelixmodel.voidprojectTracks(DataEvent event) Projects the ahdc tracks in the event onto the atof using aHelixmodel.voidSets the solenoid magnitude.voidsetProjections(ArrayList<TrackProjection> Projections) Sets the list of track projections.
- 
Constructor Details- 
TrackProjectorpublic TrackProjector()Default constructor that initializes the list of projections as new empty list and the magnetic field to 5T.
 
- 
- 
Method Details- 
getProjectionsGets the list of track projections.- Returns:
- a ListofTrackProjectionobjects representing the projections.
 
- 
getBGets the solenoid magnitude- Returns:
- solenoid magnitude
 
- 
setProjectionsSets the list of track projections.- Parameters:
- Projections- a- Listof- TrackProjection.
 
- 
setBSets the solenoid magnitude.- Parameters:
- B- a double.
 
- 
projectTracksProjects the ahdc tracks in the event onto the atof using aHelixmodel.- Parameters:
- event- the- DataEventcontaining track data to be projected.
 
- 
projectMCTracksProjects the MC particles onto the atof using aHelixmodel.- Parameters:
- event- the- DataEventcontaining track data to be projected.
 
- 
main
 
-