Package org.jlab.rec.dc.banks
Class HitReader
java.lang.Object
org.jlab.rec.dc.banks.HitReader
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 SummaryConstructorsConstructorDescriptionHitReader(Banks names, RawBank.OrderType[] rawBankOrders, ConstantsManager manager, DCGeant4Factory detector) HitReader(Banks names, DCGeant4Factory detector) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidfetch_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.get_DCHits(int sectorSelect) intvoidinitialize(DataEvent event) voidread_HBHits(DataEvent event, TimeToDistanceEstimator tde) voidread_NNHits(DataEvent event) voidset_NumTDCBankRows(int num) 
- 
Constructor Details- 
HitReader
- 
HitReaderpublic HitReader(Banks names, RawBank.OrderType[] rawBankOrders, ConstantsManager manager, DCGeant4Factory detector) 
 
- 
- 
Method Details- 
initialize
- 
get_DCHits- Returns:
- a list of DC hits
 
- 
get_HBHits- Returns:
- list of DCHB hits
 
- 
get_TBHits- Returns:
- list of DCTB hits
 
- 
fetch_DCHitsreads 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
- 
read_HBHits
- 
read_NNHits
- 
get_DCHits
- 
set_NumTDCBankRowspublic void set_NumTDCBankRows(int num) - Parameters:
- num- # of rows in DC::TDC bank
 
- 
get_NumTDCBankRowspublic int get_NumTDCBankRows()- Returns:
- # of rows in DC::TDC bank
 
 
-