Class Constants

java.lang.Object
org.jlab.rec.cvt.Constants

public class Constants extends Object
  • Field Details

    • LOGGER

      public static Logger LOGGER
    • CAANGLE1

      public static double CAANGLE1
    • CAANGLE2

      public static double CAANGLE2
    • CAANGLE3

      public static double CAANGLE3
    • CAANGLE4

      public static double CAANGLE4
    • CAANGLE5

      public static double CAANGLE5
    • seedingDebugMode

      public boolean seedingDebugMode
    • isCosmics

      public boolean isCosmics
    • svtOnly

      public boolean svtOnly
    • beamSpotConstraint

      public int beamSpotConstraint
    • svtSeeding

      public boolean svtSeeding
    • svtLinkerSeeding

      public boolean svtLinkerSeeding
    • timeCuts

      public boolean timeCuts
    • bmtHVCuts

      public boolean bmtHVCuts
    • useOnlyTruthHits

      public boolean useOnlyTruthHits
    • useOnlyBMTTruthHits

      public boolean useOnlyBMTTruthHits
    • useOnlyBMTCTruthHits

      public boolean useOnlyBMTCTruthHits
    • useOnlyBMTZTruthHits

      public boolean useOnlyBMTZTruthHits
    • useOnlyBMTC50PercTruthHits

      public boolean useOnlyBMTC50PercTruthHits
    • useOnlyBMTZ50PercTruthHits

      public boolean useOnlyBMTZ50PercTruthHits
    • preElossCorrection

      public boolean preElossCorrection
    • KFMatrixLibrary

      public MatrixOps.Libr KFMatrixLibrary
    • useSVTTimingCuts

      public boolean useSVTTimingCuts
    • removeOverlappingSeeds

      public boolean removeOverlappingSeeds
    • flagSeeds

      public boolean flagSeeds
    • KFfailRecovery

      public boolean KFfailRecovery
    • KFfailRecovMisCls

      public boolean KFfailRecovMisCls
    • gemcIgnBMT0ADC

      public boolean gemcIgnBMT0ADC
    • LIGHTVEL

      public static final double LIGHTVEL
    • TANDIP

      public static final double TANDIP
      See Also:
    • NDFCUT

      public static final double NDFCUT
      See Also:
    • CHI2CUT

      public static final double CHI2CUT
      See Also:
    • CHI2CUTSSA

      public static final double CHI2CUTSSA
      See Also:
    • DZCUTBUFFEESSA

      public static final double DZCUTBUFFEESSA
      See Also:
    • RESICUT

      public static final double RESICUT
      See Also:
    • MINSVTCRSFORCOSMIC

      public static final int MINSVTCRSFORCOSMIC
      See Also:
    • CIRCLEFIT_MAXCHI2

      public static final double CIRCLEFIT_MAXCHI2
      See Also:
    • DEFAULTSWIMACC

      public static final double DEFAULTSWIMACC
      See Also:
    • SWIMACCURACYSVT

      public static final double SWIMACCURACYSVT
      See Also:
    • SWIMACCURACYBMT

      public static final double SWIMACCURACYBMT
      See Also:
    • SWIMACCURACYCD

      public static final double SWIMACCURACYCD
      See Also:
    • COSMICSMINRESIDUALX

      public static final double COSMICSMINRESIDUALX
      See Also:
    • COSMICSMINRESIDUALZ

      public static final double COSMICSMINRESIDUALZ
      See Also:
    • SEEDFITITERATIONS

      public static final int SEEDFITITERATIONS
      See Also:
    • KFFILTERON

      public static boolean KFFILTERON
    • INITFROMMC

      public static boolean INITFROMMC
    • KFITERATIONS

      public static int KFITERATIONS
    • KFDIR

      public static int KFDIR
    • DEFAULTPID

      public static int DEFAULTPID
    • EXCLUDELAYERS

      public boolean EXCLUDELAYERS
    • COVMATSCALEFACT

      public static double[][] COVMATSCALEFACT
    • COVHELIX

      public static final double[][] COVHELIX
    • COVCOSMIC

      public static final double[][] COVCOSMIC
    • f

      public static final double[] f
  • Method Details

    • getInstance

      public static Constants getInstance()
      public access to the singleton
      Returns:
      the cvt constants singleton
    • getBeamRadius

      public double getBeamRadius()
    • seedBeamSpotConstraint

      public boolean seedBeamSpotConstraint()
    • kfBeamSpotConstraint

      public boolean kfBeamSpotConstraint()
    • setTargetMaterial

      public void setTargetMaterial(String material)
    • getTargetType

      public String getTargetType()
    • getRmReg

      public int getRmReg()
    • useOnlyMCTruthHits

      public boolean useOnlyMCTruthHits()
    • useOnlyBMTTruthHits

      public boolean useOnlyBMTTruthHits()
      Returns:
      the useOnlyBMTTruthHits
    • useOnlyBMTCTruthHits

      public boolean useOnlyBMTCTruthHits()
      Returns:
      the useOnlyBMTCTruthHits
    • useOnlyBMTZTruthHits

      public boolean useOnlyBMTZTruthHits()
      Returns:
      the useOnlyBMTCTruthHits
    • getUsedLayers

      public Map getUsedLayers()
      Returns:
      the layersUsed
    • setUsedLayers

      public void setUsedLayers(String layers)
      Parameters:
      layers -
    • setBMTExclude

      public void setBMTExclude(String exbmtlys)
    • getBMTPhiZRangeExcld

      public double[][] getBMTPhiZRangeExcld()
      Returns:
      the BMTPhiZRangeExcld
    • getBMTLayerExcld

      public int getBMTLayerExcld()
      Returns:
      the BMTLayerExcld
    • getSvtmaxclussize

      public int getSvtmaxclussize()
      Returns:
      the svtmaxclussize
    • setSvtmaxclussize

      public void setSvtmaxclussize(int svtmaxclussize)
      Parameters:
      svtmaxclussize - the svtmaxclussize to set
    • getBmtcmaxclussize

      public int getBmtcmaxclussize()
      Returns:
      the bmtcmaxclussize
    • setBmtcmaxclussize

      public void setBmtcmaxclussize(int bmtcmaxclussize)
      Parameters:
      bmtcmaxclussize - the bmtcmaxclussize to set
    • getBmtzmaxclussize

      public int getBmtzmaxclussize()
      Returns:
      the bmtzmaxclussize
    • setBmtzmaxclussize

      public void setBmtzmaxclussize(int bmtzmaxclussize)
      Parameters:
      bmtzmaxclussize - the bmtzmaxclussize to set
    • getRCUT

      public static double getRCUT()
      Returns:
      the RCUT
    • setRCUT

      public static void setRCUT(double r)
    • getZRANGE

      public static double getZRANGE()
      Returns:
      the ZRANGE
    • setZRANGE

      public static void setZRANGE(double zr)
    • scaleCovMat

      public static double[][] scaleCovMat(double[][] matrix)
    • setMatLib

      public void setMatLib(String matLib)
    • getSolenoidMagnitude

      public static double getSolenoidMagnitude()
    • getSolenoidScale

      public static double getSolenoidScale()
    • initialize

      public void initialize(String engine, boolean isCosmics, boolean svtOnly, String excludeLayers, String excludeBMTLayers, int removeRegion, int beamSpotConstraint, double beamSpotRadius, String targetMaterial, boolean elosPrecorrection, boolean svtSeeding, boolean timeCuts, boolean hvCuts, boolean useSVTTimingCuts, boolean removeOverlappingSeeds, boolean flagSeeds, boolean gemcIgnBMT0ADC, boolean KFfailRecovery, boolean KFfailRecovMisCls, String matrixLibrary, boolean useOnlyTruth, boolean useSVTLinkerSeeder, double docacut, double docacutsum, int svtmaxclussize, int bmtcmaxclussize, int bmtzmaxclussize, double rcut, double z0cut)
    • initialize

      public void initialize(String engine, String variation)