Class HitReader

java.lang.Object
org.jlab.rec.dc.banks.HitReader

public class HitReader extends Object
A class to fill in lists of hits corresponding to DC reconstructed hits characterized by the wire, its location in the detector (superlayer, layer, sector), its reconstructed time. The class also returns a MC hit, which has truth-information (i.e. Left-Right ambiguity)
Author:
ziegler
  • Constructor Details Link icon

  • Method Details Link icon

    • initialize Link icon

      public void initialize(DataEvent event)
    • get_DCHits Link icon

      public List<Hit> get_DCHits()
      Returns:
      a list of DC hits
    • get_HBHits Link icon

      public List<FittedHit> get_HBHits()
      Returns:
      list of DCHB hits
    • get_TBHits Link icon

      public List<FittedHit> get_TBHits()
      Returns:
      list of DCTB hits
    • fetch_DCHits Link icon

      public void fetch_DCHits(DataEvent event)
      reads the hits using clas-io methods to get the EvioBank for the DC and fill the values to instantiate the DChit and MChit classes.This methods fills the DChit list of hits.
    • read_Hits Link icon

      public Map<Integer, ArrayList<FittedHit>> read_Hits(DataEvent event)
    • read_HBHits Link icon

      public void read_HBHits(DataEvent event, TimeToDistanceEstimator tde)
    • read_NNHits Link icon

      public void read_NNHits(DataEvent event)
    • get_DCHits Link icon

      public List<Hit> get_DCHits(int sectorSelect)
    • set_NumTDCBankRows Link icon

      public void set_NumTDCBankRows(int num)
      Parameters:
      num - # of rows in DC::TDC bank
    • get_NumTDCBankRows Link icon

      public int get_NumTDCBankRows()
      Returns:
      # of rows in DC::TDC bank