Class HitFinder

java.lang.Object
org.jlab.rec.atof.hit.HitFinder

public class HitFinder extends Object
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 Details

    • HitFinder

      public HitFinder()
      Default constructor that initializes the list of hits as new empty lists.
  • Method Details

    • getBarHits

      public ArrayList<BarHit> getBarHits()
    • setBarHits

      public void setBarHits(ArrayList<BarHit> bar_hits)
    • getWedgeHits

      public ArrayList<ATOFHit> getWedgeHits()
    • setWedgeHits

      public void setWedgeHits(ArrayList<ATOFHit> wedge_hits)
    • findHits

      public void findHits(DataEvent event, Detector atof, Float startTime, IndexedTable atofTimeOffsetsTable, IndexedTable atofEffectiveVelocityTable)
      Find hits in the event, matches them to tracks found in the ahdc and build their properties.
      Parameters:
      event - the DataEvent containing hits.
      atof - the Detector representing the atof geometry to match the sector/layer/component to x/y/z.
    • main

      public static void main(String[] args)
      Parameters:
      args - the command line arguments