Class ClasMath

java.lang.Object
org.jlab.analysis.math.ClasMath

public class ClasMath extends Object
Author:
naharrison all angles in radians
  • Constructor Details

    • ClasMath

      public ClasMath()
  • Method Details

    • getRelativePhi

      public static double getRelativePhi(double phi)
    • getSectorFromPhi

      public static int getSectorFromPhi(double phi)
    • getAngle2PiConvention

      public static double getAngle2PiConvention(double angle)
      0 to 2pi convention
    • getAnglePiConvention

      public static double getAnglePiConvention(double angle)
      negative pi to pi convention
    • isWithinXPercent

      public static boolean isWithinXPercent(double X, double val, double standard)