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 TypeMethodDescriptionvoid
findHits
(org.jlab.io.base.DataEvent event, org.jlab.geom.base.Detector atof) Find hits in the event, matches them to tracks found in the ahdc and build their properties.static void
void
setBarHits
(ArrayList<BarHit> bar_hits) void
setWedgeHits
(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(org.jlab.io.base.DataEvent event, org.jlab.geom.base.Detector atof) Find hits in the event, matches them to tracks found in the ahdc and build their properties.- Parameters:
event
- theDataEvent
containing hits.atof
- theDetector
representing the atof geometry to match the sector/layer/component to x/y/z.
-
main
- Parameters:
args
- the command line arguments
-