Class TableLoader

java.lang.Object
org.jlab.rec.dc.timetodistance.TableLoader

public class TableLoader extends Object
  • Field Details

    • LOGGER

      public static final Logger LOGGER
    • NBINST

      public static final int NBINST
      See Also:
    • betaValues

      public static final double[] betaValues
    • BfieldValues

      public static final double[] BfieldValues
    • minBinIdxB

      public static int minBinIdxB
    • maxBinIdxB

      public static int maxBinIdxB
    • minBinIdxAlpha

      public static int minBinIdxAlpha
    • maxBinIdxAlpha

      public static int maxBinIdxAlpha
    • minBinIdxT

      public static int minBinIdxT
    • maxBinIdxT

      public static final int[][][][] maxBinIdxT
    • DISTFROMTIME

      public static double[][][][][][] DISTFROMTIME
    • timeBinWidth

      public static int timeBinWidth
    • maxTBin

      public static int maxTBin
    • useP

      public static boolean useP
    • delta_T0

      public static double[][] delta_T0
    • delta_bfield_coefficient

      public static double[][] delta_bfield_coefficient
    • distbeta

      public static double[][] distbeta
    • vmid

      public static double[][] vmid
    • v0

      public static double[][] v0
    • b1

      public static double[][] b1
    • b2

      public static double[][] b2
    • b3

      public static double[][] b3
    • b4

      public static double[][] b4
    • Tmax

      public static double[][] Tmax
    • FracDmaxAtMinVel

      public static double[][] FracDmaxAtMinVel
  • Constructor Details

    • TableLoader

      public TableLoader()
  • Method Details

    • main

      public static void main(String[] args)
    • test

      public static void test()
    • getConstants

      public static void getConstants(IndexedTable t2dPressure, IndexedTable t2dPressRef, IndexedTable pressure)
    • FillTable

      public static void FillTable()
    • Fill

      public static void Fill(IndexedTable t2dPressure, IndexedTable t2dPressRef, IndexedTable pressure)
    • calc_Time

      public static double calc_Time(double x, double alpha, double bfield, int sector, int superlayer)
      Parameters:
      x - distance to wire in cm
      alpha - local angle in deg
      bfield - B field value a x in T
      sector - sector
      superlayer - superlayer
      Returns:
      returns time (ns) when given inputs of distance x (cm), local angle alpha (degrees) and magnitude of bfield (Tesla).
    • getDeltaTimeBeta

      public static double getDeltaTimeBeta(double x, double beta, double distbeta, double v_0)