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 Summary
ConstructorsConstructorDescriptionHitReader
(Banks names, RawBank.OrderType[] rawBankOrders, ConstantsManager manager, DCGeant4Factory detector) HitReader
(Banks names, DCGeant4Factory detector) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.get_DCHits
(int sectorSelect) int
void
initialize
(DataEvent event) void
read_HBHits
(DataEvent event, TimeToDistanceEstimator tde) void
read_NNHits
(DataEvent event) void
set_NumTDCBankRows
(int num)
-
Constructor Details
-
HitReader
-
HitReader
public 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_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
-