Package org.jlab.service.eb
Class EBAnalyzer.PIDHypothesis
java.lang.Object
org.jlab.service.eb.EBAnalyzer.PIDHypothesis
- Enclosing class:
- EBAnalyzer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Get the hadron hypotheses with the closest vertex time.void
finalizePID
(DetectorParticle p, int pid) Set particle's pid and quality factor.double
void
PIDMatch
(DetectorParticle p, int pid) double
PIDQuality
(DetectorParticle p, int pid) Get a basic pid quality factor.void
void
setUseStartTimeFromFT
(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
-