Package org.jlab.rec.cvt
Class Constants
java.lang.Object
org.jlab.rec.cvt.Constants
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
boolean
static double
static double
static double
static double
static double
static final double
static final double
static final double
static final double
static final double
static final double[][]
static final double[][]
static double[][]
static int
static final double
static final double
boolean
static final double[]
boolean
boolean
static boolean
boolean
static int
boolean
boolean
static boolean
static int
static final double
static Logger
static final int
static final double
boolean
boolean
static final double
static final int
boolean
boolean
boolean
boolean
static final double
static final double
static final double
static final double
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Method Summary
Modifier and TypeMethodDescriptiondouble
int
int
double[][]
int
static Constants
public access to the singletonstatic double
getRCUT()
int
getRmReg()
static double
static double
int
static double
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) void
initialize
(String engine, String variation) boolean
static double[][]
scaleCovMat
(double[][] matrix) boolean
void
setBmtcmaxclussize
(int bmtcmaxclussize) void
setBMTExclude
(String exbmtlys) void
setBmtzmaxclussize
(int bmtzmaxclussize) void
static void
setRCUT
(double r) void
setSvtmaxclussize
(int svtmaxclussize) void
setTargetMaterial
(String material) void
setUsedLayers
(String layers) static void
setZRANGE
(double zr) boolean
boolean
boolean
boolean
-
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
-