Package org.jlab.rec.alert.banks
Class RecoBankWriter
java.lang.Object
org.jlab.rec.alert.banks.RecoBankWriter
The ALERT
RecoBankWriter
writes the banks needed for the ALERT
reconstruction: track projections.- Author:
- Noemie Pilleux, Whit Armstrong
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
appendMatchBanks
(DataEvent event, ArrayList<TrackProjection> projections) Appends the alert match banks to an event.static DataBank
fillProjectionsBank
(DataEvent event, ArrayList<TrackProjection> projections) Writes the bank of track projections.static void
-
Constructor Details
-
RecoBankWriter
public RecoBankWriter()
-
-
Method Details
-
fillProjectionsBank
Writes the bank of track projections.- Parameters:
event
- theDataEvent
in which to add the bankprojections
- theArrayList
ofTrackProjection
containing the track projection info to be added to the bank- Returns:
DataBank
the bank with all the projected tracks in the event.
-
appendMatchBanks
Appends the alert match banks to an event.- Parameters:
event
- theDataEvent
in which to append the banksprojections
- theArrayList
ofTrackProjection
containing the track projections info to be added- Returns:
- 0 if it worked, 1 if it failed
-
main
- Parameters:
args
- the command line arguments
-