Class HitReader

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

public class HitReader extends Object
Author:
payette
  • Constructor Details

    • HitReader

      public HitReader()
  • Method Details

    • get_RTPCHits

      public List<Hit> get_RTPCHits()
      Returns:
      a list of RTPC hits
    • set_RTPCHits

      public void set_RTPCHits(List<Hit> RTPCHits)
      sets the list of RTPC hits
      Parameters:
      RTPCHits - list of RTPC hits
    • fetch_RTPCHits

      public void fetch_RTPCHits(DataEvent event, boolean simulation, boolean cosmic)
      reads the hits using clas-io methods to get the EvioBank for the RTPC and fill the values to instanciate the RTPChit and MChit classes. This methods fills the RTPChit and MChit list of hits. If the data is not MC, the MChit list remains empty
      Parameters:
      event - DataEvent