Class Constants

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

public class Constants extends Object
Author:
devita
  • Field Details

    • NLAYERS

      public static final int NLAYERS
      See Also:
    • CIRCLECONFUSION

      public static double CIRCLECONFUSION
    • MIN_SWIM_PATH

      public static double MIN_SWIM_PATH
    • EPSILON

      public static double EPSILON
    • MAX_NB_CROSSES

      public static int MAX_NB_CROSSES
  • Constructor Details

    • Constants

      public Constants()
  • Method Details

    • setDetector

      public static void setDetector(Detector detector)
    • getDerivatives

      public static Vector3D getDerivatives(int layer, double x, double y, double z)
    • getLayer

      public static FMTLayer getLayer(int layer)
    • getPitch

      public static double getPitch()
    • getStrip

      public static Line3D getStrip(int layer, int strip)
    • getLocalStrip

      public static Line3D getLocalStrip(int layer, int strip)
    • getThickness

      public static double getThickness()
    • getTransform

      public static Transformation3D getTransform(int layer)
    • getInverseTransform

      public static Transformation3D getInverseTransform(int layer)
    • areClose

      public static boolean areClose(int layer, int strip1, int strip2)
      Parameters:
      layer -
      strip1 -
      strip2 -
      Returns:
      a boolean comparing 2 hits based on basic descriptors; returns true if the hits are the same
    • toLocal

      public static Point3D toLocal(int layer, Point3D p)
    • toLocal

      public static Point3D toLocal(int layer, double x, double y, double z)