Class RTOFHit

java.lang.Object
org.jlab.service.recoil.tof.RTOFRawHit
org.jlab.service.recoil.tof.RTOFHit

public class RTOFHit extends RTOFRawHit
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 Details

  • Method Details

    • getHitUp

      public RTOFRawHit getHitUp()
    • setHitUp

      public void setHitUp(RTOFRawHit hit_up)
    • getHitDown

      public RTOFRawHit getHitDown()
    • setHitDown

      public void setHitDown(RTOFRawHit hit_down)
    • 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.