Class TestParameters

java.lang.Object
cnuphys.snr.test.TestParameters

public class TestParameters extends Object
  • Field Details Link icon

    • showClusters Link icon

      public static boolean showClusters
      used to show clusters
    • noiseOff Link icon

      public static boolean noiseOff
      used to "show clean data
  • Constructor Details Link icon

    • TestParameters Link icon

      public TestParameters()
  • Method Details Link icon

    • getThetaMax Link icon

      public static double getThetaMax()
      Get the maximum track tilt angle in degrees.
      Returns:
      the maximum track tilt angle in degrees.
    • paramString Link icon

      public static String paramString()
    • setThetaMax Link icon

      public static void setThetaMax(double thetaMax)
      Set the maximum track tilt angle.
      Parameters:
      thetaMax - the maximum track tilt angle in degrees.
    • getProbTracks Link icon

      public static double[] getProbTracks()
      Get the probability of increasing numbers of tracks.
      Returns:
      an array that should be probabilities in descending order.
    • setProbTracks Link icon

      public 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 Link icon

      public static Color getGenericHitColor()
    • setGenericHitColor Link icon

      public static void setGenericHitColor(Color genericHitColor)
    • getRealityNoiseColor Link icon

      public static Color getRealityNoiseColor()
    • getSavedNoiseColor Link icon

      public static Color getSavedNoiseColor()
    • setRealityNoiseColor Link icon

      public static void setRealityNoiseColor(Color realityNoiseColor)
    • getRealityTrackColor Link icon

      public static Color getRealityTrackColor()
    • setRealityTrackColor Link icon

      public static void setRealityTrackColor(Color realityTrackColor)
    • getAnalyzedNoiseColor Link icon

      public static Color getAnalyzedNoiseColor()
    • setAnalyzedNoiseColor Link icon

      public static void setAnalyzedNoiseColor(Color analyzedNoiseColor)
    • getAnalyzedTrackColor Link icon

      public static Color getAnalyzedTrackColor()
    • setAnalyzedTrackColor Link icon

      public static void setAnalyzedTrackColor(Color analyzedTrackColor)
    • getTrackColor Link icon

      public static Color getTrackColor()
    • setTrackColor Link icon

      public static void setTrackColor(Color trackColor)
    • getNoiseRate Link icon

      public static double getNoiseRate()
    • getProbBlob Link icon

      public static double getProbBlob()
    • getBlobSize Link icon

      public static int getBlobSize()
    • setNoiseRate Link icon

      public static void setNoiseRate(double noiseRate)
    • getProbBadWire Link icon

      public static double getProbBadWire()
    • setProbBadWire Link icon

      public static void setProbBadWire(double probBadWire)
    • getAccumulationIncrement Link icon

      public static int getAccumulationIncrement()
    • setAccumulationIncrement Link icon

      public static void setAccumulationIncrement(int accumulationIncrement)
    • getStroke Link icon

      public static Stroke getStroke(float lineWidth, LineStyle lineStyle)
      Gets 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.