Class Constants
java.lang.Object
org.jlab.rec.cvt.Constants
-
Field Summary
FieldsModifier and TypeFieldDescriptionintbooleanstatic doublestatic doublestatic doublestatic doublestatic doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final double[][]static final double[][]static double[][]static intstatic final doublestatic final doublebooleanstatic final double[]booleanbooleanstatic booleanbooleanstatic intbooleanbooleanstatic booleanstatic intstatic final doublestatic Loggerstatic final intstatic final doublebooleanbooleanstatic final doublestatic final intbooleanbooleanbooleanbooleanstatic final doublestatic final doublestatic final doublestatic final doublebooleanbooleanbooleanbooleanbooleanbooleanbooleanboolean -
Method Summary
Modifier and TypeMethodDescriptiondoubleintintdouble[][]intstatic Constantspublic access to the singletonstatic doublegetRCUT()intgetRmReg()static doublestatic doubleintstatic doublevoidinitialize(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) voidinitialize(String engine, String variation) booleanstatic double[][]scaleCovMat(double[][] matrix) booleanvoidsetBmtcmaxclussize(int bmtcmaxclussize) voidsetBMTExclude(String exbmtlys) voidsetBmtzmaxclussize(int bmtzmaxclussize) voidstatic voidsetRCUT(double r) voidsetSvtmaxclussize(int svtmaxclussize) voidsetTargetMaterial(String material) voidsetUsedLayers(String layers) static voidsetZRANGE(double zr) booleanbooleanbooleanboolean
-
Field Details
-
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
-
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 access to the singleton- Returns:
- the cvt constants singleton
-
getBeamRadius
public double getBeamRadius() -
seedBeamSpotConstraint
public boolean seedBeamSpotConstraint() -
kfBeamSpotConstraint
public boolean kfBeamSpotConstraint() -
setTargetMaterial
-
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
- Returns:
- the layersUsed
-
setUsedLayers
- Parameters:
layers-
-
setBMTExclude
-
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
-
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
-