Class ParameterConverter

java.lang.Object
xal.tools.beam.ParameterConverter

@Deprecated public class ParameterConverter extends Object
Deprecated.
use RelativisticParameterConverter
Author:
Christopher K. Allen
See Also:
  • gov.sns.tool.beam#RelativisticParameterConverter
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    computeBetaFromEnergies(double w, double eR)
    Deprecated.
    Convenience function for computing the probe's velocity beta (w.r.t. the speed of light) from the kinetic energy.
    static double
    computeBetaFromGamma(double gamma)
    Deprecated.
    Convenience function for computing the probe's velocity beta (w.r.t. the speed of light) from the relativistic factor gamma.
    static double
    computeGammaFromBeta(double beta)
    Deprecated.
    Computes the relativistic factor gamma from the current beta value
    static double
    computeGammaFromEnergies(double w, double eR)
    Deprecated.
    Convenience function for computing the relativistic factor gamma from a particle's kinetic energy and rest energy.
    static double
    computeMomentumFromEnergies(double w, double eR)
    Deprecated.
    Convenience function for computing momentum from kinetic energy

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • computeGammaFromBeta

      public static double computeGammaFromBeta(double beta)
      Deprecated.
      Computes the relativistic factor gamma from the current beta value
      Parameters:
      beta - speed of probe w.r.t. the speed of light
      Returns:
      relativistic factor gamma
    • computeGammaFromEnergies

      public static double computeGammaFromEnergies(double w, double eR)
      Deprecated.
      Convenience function for computing the relativistic factor gamma from a particle's kinetic energy and rest energy.
      Parameters:
      w - kinetic energy of the particle
      eR - rest energy of particle
      Returns:
      relativistic factor gamma
    • computeBetaFromGamma

      public static double computeBetaFromGamma(double gamma)
      Deprecated.
      Convenience function for computing the probe's velocity beta (w.r.t. the speed of light) from the relativistic factor gamma.
      Parameters:
      gamma - relativistic factor gamma
      Returns:
      speed of probe (w.r.t. speed of light)
    • computeBetaFromEnergies

      public static double computeBetaFromEnergies(double w, double eR)
      Deprecated.
      Convenience function for computing the probe's velocity beta (w.r.t. the speed of light) from the kinetic energy.
      Parameters:
      w - kinetic energy (eV)
      eR - rest energy of particle (eV)
      Returns:
      speed of probe (w.r.t. speed of light)
    • computeMomentumFromEnergies

      public static double computeMomentumFromEnergies(double w, double eR)
      Deprecated.
      Convenience function for computing momentum from kinetic energy
      Parameters:
      w - kinetic energy of the particle (eV)
      eR - rest energy of particle (eV)
      Returns:
      particle momentum in eV/c where c is the speed of light