Package org.jlab.rec.eb
Class EBRadioFrequency
java.lang.Object
org.jlab.rec.eb.EBRadioFrequency
- Author:
- devita, baltzell
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
getStartTime
(DetectorParticle p, DetectorType type, int layer) "traditional" start time, based only on one particledouble
getStartTime
(DetectorParticle trigger, DetectorType type, int layer, double vz) New-style start time, based on one particle's vertex time and position to determine the beam bunch and RF correction (the trigger particle), and another particle's z-vertex's (to correct for systematic z-vertex difference with the trigger particle).double
void
processEvent
(DataEvent event)
-
Constructor Details
-
EBRadioFrequency
-
-
Method Details
-
getStartTime
New-style start time, based on one particle's vertex time and position to determine the beam bunch and RF correction (the trigger particle), and another particle's z-vertex's (to correct for systematic z-vertex difference with the trigger particle). All times/distances are in units of ns/cm.- Parameters:
trigger
- the trigger particletype
- type of timing detector to use for trigger particlelayer
- layer of timing detector to use for trigger particlevz
- the z-vertex of the non-trigger particle- Returns:
- start time corrected for RF and z-vertex
-
getStartTime
"traditional" start time, based only on one particle- Parameters:
p
- the particle with which to determine the start timetype
- type of detector to use for timing infolayer
- layer of detector to use for timing info- Returns:
- RF/vz-corrected start time
-
getTime
-
processEvent
-