Class EBAnalyzer.PIDHypothesis
java.lang.Object
org.jlab.service.eb.EBAnalyzer.PIDHypothesis
- Enclosing class:
EBAnalyzer
- Author:
- gavalian, jnewton, devita, baltzell
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the hadron hypotheses with the closest vertex time.voidfinalizePID(DetectorParticle p, int pid) Set particle's pid and quality factor.doublevoidPIDMatch(DetectorParticle p, int pid) doublePIDQuality(DetectorParticle p, int pid) Get a basic pid quality factor.voidvoidsetUseStartTimeFromFT(boolean b)
-
Constructor Details
-
PIDHypothesis
public PIDHypothesis()
-
-
Method Details
-
setEvent
-
setUseStartTimeFromFT
public void setUseStartTimeFromFT(boolean b) -
getStartTime
public double getStartTime() -
PIDMatch
-
bestPidFromTiming
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
Get a basic pid quality factor.- Parameters:
p- the particle for which to calculate a pid quality factorpid- the pid hypothesis- Returns:
- the pid quality factor
-
finalizePID
Set particle's pid and quality factor.- Parameters:
p- the particle for which to calculate a pid quality factorpid- the pid hypothesis to finalize
-