Package cnuphys.snr.test
Class TestParameters
java.lang.Object
cnuphys.snr.test.TestParameters
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic booleanused to "show clean datastatic booleanused to show clusters
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic intstatic Colorstatic Colorstatic intstatic Colorstatic doublestatic doublestatic doublestatic double[]Get the probability of increasing numbers of tracks.static Colorstatic Colorstatic Colorstatic StrokeGets a stroke appropriate for the line width and line type.static doubleGet the maximum track tilt angle in degrees.static Colorstatic Stringstatic voidsetAccumulationIncrement(int accumulationIncrement) static voidsetAnalyzedNoiseColor(Color analyzedNoiseColor) static voidsetAnalyzedTrackColor(Color analyzedTrackColor) static voidsetGenericHitColor(Color genericHitColor) static voidsetNoiseRate(double noiseRate) static voidsetProbBadWire(double probBadWire) static voidsetProbTracks(double[] probTracks) Set the probability of increasing numbers of tracks.static voidsetRealityNoiseColor(Color realityNoiseColor) static voidsetRealityTrackColor(Color realityTrackColor) static voidsetThetaMax(double thetaMax) Set the maximum track tilt angle.static voidsetTrackColor(Color trackColor) 
- 
Field Details- 
showClusterspublic static boolean showClustersused to show clusters
- 
noiseOffpublic static boolean noiseOffused to "show clean data
 
- 
- 
Constructor Details- 
TestParameterspublic TestParameters()
 
- 
- 
Method Details- 
getThetaMaxpublic static double getThetaMax()Get the maximum track tilt angle in degrees.- Returns:
- the maximum track tilt angle in degrees.
 
- 
paramString
- 
setThetaMaxpublic static void setThetaMax(double thetaMax) Set the maximum track tilt angle.- Parameters:
- thetaMax- the maximum track tilt angle in degrees.
 
- 
getProbTrackspublic static double[] getProbTracks()Get the probability of increasing numbers of tracks.- Returns:
- an array that should be probabilities in descending order.
 
- 
setProbTrackspublic static void setProbTracks(double[] probTracks) Set the probability of increasing numbers of tracks.- Parameters:
- probTracks- an array that should be probabilities in descending order.
 
- 
getGenericHitColor
- 
setGenericHitColor
- 
getRealityNoiseColor
- 
getSavedNoiseColor
- 
setRealityNoiseColor
- 
getRealityTrackColor
- 
setRealityTrackColor
- 
getAnalyzedNoiseColor
- 
setAnalyzedNoiseColor
- 
getAnalyzedTrackColor
- 
setAnalyzedTrackColor
- 
getTrackColor
- 
setTrackColor
- 
getNoiseRatepublic static double getNoiseRate()
- 
getProbBlobpublic static double getProbBlob()
- 
getBlobSizepublic static int getBlobSize()
- 
setNoiseRatepublic static void setNoiseRate(double noiseRate) 
- 
getProbBadWirepublic static double getProbBadWire()
- 
setProbBadWirepublic static void setProbBadWire(double probBadWire) 
- 
getAccumulationIncrementpublic static int getAccumulationIncrement()
- 
setAccumulationIncrementpublic static void setAccumulationIncrement(int accumulationIncrement) 
- 
getStrokeGets a stroke appropriate for the line width and line type. Try the hash table first, if not found create the Stroke and place it in the hashtable for future use.- Parameters:
- lineWidth- the desired line width in pixels.
- lineStyle- the desired line style.
- Returns:
- the appropriate stroke.
 
 
-