Class EBAnalyzer.PIDHypothesis

java.lang.Object
org.jlab.service.eb.EBAnalyzer.PIDHypothesis
Enclosing class:
EBAnalyzer

public class EBAnalyzer.PIDHypothesis extends Object
  • Constructor Details

    • PIDHypothesis

      public PIDHypothesis()
  • Method Details

    • setEvent

      public void setEvent(DetectorEvent e)
    • setUseStartTimeFromFT

      public void setUseStartTimeFromFT(boolean b)
    • getStartTime

      public double getStartTime()
    • PIDMatch

      public void PIDMatch(DetectorParticle p, int pid)
    • bestPidFromTiming

      public int bestPidFromTiming(DetectorParticle p)
      Get the hadron hypotheses with the closest vertex time.
      Parameters:
      p - the particle for which to find best pid
      Returns:
      the best pid value
    • PIDQuality

      public double PIDQuality(DetectorParticle p, int pid)
      Get a basic pid quality factor.
      Parameters:
      p - the particle for which to calculate a pid quality factor
      pid - the pid hypothesis
      Returns:
      the pid quality factor
    • finalizePID

      public void finalizePID(DetectorParticle p, int pid)
      Set particle's pid and quality factor.
      Parameters:
      p - the particle for which to calculate a pid quality factor
      pid - the pid hypothesis to finalize