Package org.jlab.rec.dc.timetodistance
Class TimeToDistanceEstimator
java.lang.Object
org.jlab.rec.dc.timetodistance.TimeToDistanceEstimator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondebug()
int
getBIdx
(double b1) int
getTimeIdx
(double t1) double
interpolateOnGrid
(double Bf, double alpha, double beta, double t, int SecIdx, int SlyrIdx) void
-
Field Details
-
t2DPrecisionImprov
public boolean t2DPrecisionImprov
-
-
Constructor Details
-
TimeToDistanceEstimator
public TimeToDistanceEstimator()
-
-
Method Details
-
interpolateOnGrid
public double interpolateOnGrid(double Bf, double alpha, double beta, double t, int SecIdx, int SlyrIdx) - Parameters:
Bf
-alpha
-beta
-t
-SecIdx
-SlyrIdx
-- Returns:
-
setDebug
-
debug
-
getTimeIdx
public int getTimeIdx(double t1) - Parameters:
t1
- time value in ns- Returns:
- time bin
-
getBIdx
public int getBIdx(double b1) - Parameters:
b1
- bfield value in T- Returns:
- B field bin
-