Package org.jlab.rec.atof.hit
Class HitFinder
java.lang.Object
org.jlab.rec.atof.hit.HitFinder
The
HitFinder class finds hits in the atof.
Uses atof tdc bank information
Creates a ArrayList of BarHit for bar hits read. Creates a
ArrayList of ATOFHit for wedge hits read.
- Author:
- pilleux
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor that initializes the list of hits as new empty lists. -
Method Summary
Modifier and TypeMethodDescriptionvoidfindHits(DataEvent event, Detector atof, Float startTime, IndexedTable atofTimeOffsetsTable, IndexedTable atofEffectiveVelocityTable, int Run) Find hits in the event, matches them to tracks found in the ahdc and build their properties.static voidvoidsetBarHits(ArrayList<BarHit> bar_hits) voidsetWedgeHits(ArrayList<ATOFHit> wedge_hits)
-
Constructor Details
-
HitFinder
public HitFinder()Default constructor that initializes the list of hits as new empty lists.
-
-
Method Details
-
getBarHits
-
setBarHits
-
getWedgeHits
-
setWedgeHits
-
findHits
public void findHits(DataEvent event, Detector atof, Float startTime, IndexedTable atofTimeOffsetsTable, IndexedTable atofEffectiveVelocityTable, int Run) Find hits in the event, matches them to tracks found in the ahdc and build their properties.- Parameters:
event- theDataEventcontaining hits.atof- theDetectorrepresenting the atof geometry to match the sector/layer/component to x/y/z.startTime- the event start timeatofTimeOffsetsTable- the constant table with time offsetsatofEffectiveVelocityTable- the constant table with effective velocityRun- the run number corresponding to the event for run-dependent slope correction
-
main
- Parameters:
args- the command line arguments
-