Package org.jlab.rec.rtpc.banks
Class HitReader
java.lang.Object
org.jlab.rec.rtpc.banks.HitReader
- Author:
- payette
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidfetch_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.voidset_RTPCHits(List<Hit> RTPCHits) sets the list of RTPC hits
- 
Constructor Details- 
HitReaderpublic HitReader()
 
- 
- 
Method Details- 
get_RTPCHits- Returns:
- a list of RTPC hits
 
- 
set_RTPCHitssets the list of RTPC hits- Parameters:
- RTPCHits- list of RTPC hits
 
- 
fetch_RTPCHitsreads 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
 
 
-