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 Summary
ConstructorsConstructorDescriptionHitReader(Banks names, RawBank.OrderType[] rawBankOrders, ConstantsManager manager, DCGeant4Factory detector) HitReader(Banks names, DCGeant4Factory detector) -
Method Summary
Modifier 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
-
HitReader
public HitReader(Banks names, RawBank.OrderType[] rawBankOrders, ConstantsManager manager, DCGeant4Factory detector)
-
-
Method Details
-
initialize
-
get_DCHits
-
get_HBHits
-
get_TBHits
-
fetch_DCHits
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
-
read_HBHits
-
read_NNHits
-
get_DCHits
-
set_NumTDCBankRows
public void set_NumTDCBankRows(int num) - Parameters:
num- # of rows in DC::TDC bank
-
get_NumTDCBankRows
public int get_NumTDCBankRows()- Returns:
- # of rows in DC::TDC bank
-