Package org.jlab.service.recoil.tof
Class RTOFHit
java.lang.Object
org.jlab.service.recoil.tof.RTOFRawHit
org.jlab.service.recoil.tof.RTOFHit
Represents a hit in the recoil tof bar. Extends class RTOFRawHit. Is further defined
by the two hits upstream and downstream composing a full rtof hit. y position,
time and energy are defined from the up/down hits.
- Author:
- npilleux, Nilanga Wickramaarachchi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidComputes rtof hit energy from up/downstream hits.final voidComputes rtof hit y coordinate in the global coordinate system.final voidComputes rtof hit y local coordinate from up/downstream hit times.final voidComputes rtof hit time from up/downstream hit times.getHitUp()voidsetHitDown(RTOFRawHit hit_down) voidsetHitUp(RTOFRawHit hit_up) Methods inherited from class org.jlab.service.recoil.tof.RTOFRawHit
calculateXYZ, convertTdcToTime, convertTotToEnergy, getAssociatedClusterIndex, getColumn, getEnergy, getIdTDC, getIsInACluster, getLocalY, getOrder, getPhi, getRow, getSector, getTdc, getTime, getTot, getType, getX, getY, getZ, makeType, matchBar, setAssociatedClusterIndex, setColumn, setEnergy, setIdTDC, setIsInACluster, setLocalY, setOrder, setRow, setSector, setTdc, setTime, setTot, setType, setX, setY, setZ
-
Constructor Details
-
RTOFHit
-
RTOFHit
public RTOFHit()
-
-
Method Details
-
getHitUp
-
setHitUp
-
getHitDown
-
setHitDown
-
computeLocalY
public final void computeLocalY()Computes rtof hit y local coordinate from up/downstream hit times. -
computeGlobalY
public final void computeGlobalY()Computes rtof hit y coordinate in the global coordinate system. -
computeTime
public final void computeTime()Computes rtof hit time from up/downstream hit times. The time is set as the time of the most energetic hit. It is corrected for propagation time. -
computeEnergy
public final void computeEnergy()Computes rtof hit energy from up/downstream hits. The energy of the up/downstream hits is corrected for attenuation now that y is known. The energy of the rtof hit is the sum of the energy of the up/downstream hits.
-