Package org.jlab.service.eb
Class EBio
java.lang.Object
org.jlab.service.eb.EBio
- Author:
- gavalian
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isTimeBased
(DataEvent de) static List<DetectorParticle>
readCentralTracks
(DataEvent event) static List<DetectorResponse>
static List<DetectorResponse>
static DetectorHeader
readHeader
(DataEvent event, EBScalers ebs, EBCCDBConstants ccdb) static List<CherenkovResponse>
static List<DetectorParticle>
readTracks
(DataEvent event) static List<DetectorParticle>
readTracks
(DataEvent event, int type) Read tracks from tracking.static DataBank
writeCherenkovResponses
(List<CherenkovResponse> responses, int type) static DataBank
writeResponses
(List<DetectorResponse> responses, int type) static DataBank
writeTraks
(List<DetectorParticle> particles, int type) Creates a DataBank from list of particles. type will indicate which bank to create type=TRACKS_HB will create a EVENTHB bank, and type=TRACKS_TB will create a bank EVENTTB.static DataBank
writeTrigger
(DetectorEvent event)
-
Field Details
-
TRACKS_HB
public static int TRACKS_HB -
TRACKS_TB
public static int TRACKS_TB
-
-
Constructor Details
-
EBio
public EBio()
-
-
Method Details
-
readHeader
-
readTracks
Read tracks from tracking.- Parameters:
event
-type
-- Returns:
-
readCentralTracks
-
isTimeBased
-
readTracks
-
writeTraks
Creates a DataBank from list of particles. type will indicate which bank to create type=TRACKS_HB will create a EVENTHB bank, and type=TRACKS_TB will create a bank EVENTTB.- Parameters:
particles
- list of detector particlestype
- type of the bank to create (Time based or Hit based)- Returns:
-
writeResponses
-
writeCherenkovResponses
-
writeTrigger
-
readECAL
-
readFTOF
-
readHTCC
-