Package org.jlab.rec.rtpc.banks
Class HitReader
java.lang.Object
org.jlab.rec.rtpc.banks.HitReader
- Author:
- payette
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.void
set_RTPCHits
(List<Hit> RTPCHits) sets the list of RTPC hits
-
Constructor Details
-
HitReader
public HitReader()
-
-
Method Details
-
get_RTPCHits
- Returns:
- a list of RTPC hits
-
set_RTPCHits
sets the list of RTPC hits- Parameters:
RTPCHits
- list of RTPC hits
-
fetch_RTPCHits
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
-