Class KinematicsFactory

java.lang.Object
org.jlab.physics.process.KinematicsFactory

public class KinematicsFactory extends Object
Author:
gavalian
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static double
     
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    static Particle
    getElectron(double E, double q2, double xb)
    returns an electron for given beam energy, q2 and xb
    static double
    getEprime(double E, double q2, double xb)
    returns E' for given energy and kinematics variables.
    static double
    getEpsilon(double q2, double xb)
     
    static double
    getF1_d(double del2)
    returns F1 function for d quark
    static double
    getF1_u(double del2)
    Returns F1 function for U quark
    static double
    getGE_n(double del2)
    returns electric moment of neutron, it's always 0, unless something has changed since writing of this code.
    static double
    getGE_p(double del2)
    returns electric moment of the proton
    static double
    getGM_n(double del2)
    returns magnetic moment for neutron
    static double
    getGM_p(double del2)
    returns magnetic moment of the proton
    static double
    getMu(double q2, double xb)
    returns mu for given kinematics variables
    static double
    getQ2(double E, double x, double y)
     
    static double
    getTheta(double E, double q2, double xb)
    returns scattered electron angle for given kinematics

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • MP Link icon

      public static double MP
  • Constructor Details Link icon

    • KinematicsFactory Link icon

      public KinematicsFactory()
  • Method Details Link icon

    • getMu Link icon

      public static double getMu(double q2, double xb)
      returns mu for given kinematics variables
      Parameters:
      q2 - transferred momentum
      xb - Bjorken x
      Returns:
    • getEprime Link icon

      public static double getEprime(double E, double q2, double xb)
      returns E' for given energy and kinematics variables.
      Parameters:
      E - initial electron energy
      q2 - transferred momentum to proton
      xb - Bjorken x
      Returns:
    • getTheta Link icon

      public static double getTheta(double E, double q2, double xb)
      returns scattered electron angle for given kinematics
      Parameters:
      E - initial electron energy
      q2 - transfered 4 momentum
      xb - Bjorken x
      Returns:
    • getEpsilon Link icon

      public static double getEpsilon(double q2, double xb)
    • getQ2 Link icon

      public static double getQ2(double E, double x, double y)
    • getElectron Link icon

      public static Particle getElectron(double E, double q2, double xb)
      returns an electron for given beam energy, q2 and xb
      Parameters:
      E -
      q2 -
      xb -
      Returns:
    • getGM_p Link icon

      public static double getGM_p(double del2)
      returns magnetic moment of the proton
      Parameters:
      del2 -
      Returns:
    • getGM_n Link icon

      public static double getGM_n(double del2)
      returns magnetic moment for neutron
      Parameters:
      del2 -
      Returns:
    • getGE_n Link icon

      public static double getGE_n(double del2)
      returns electric moment of neutron, it's always 0, unless something has changed since writing of this code.
      Parameters:
      del2 -
      Returns:
    • getGE_p Link icon

      public static double getGE_p(double del2)
      returns electric moment of the proton
      Parameters:
      del2 -
      Returns:
    • getF1_u Link icon

      public static double getF1_u(double del2)
      Returns F1 function for U quark
      Parameters:
      del2 -
      Returns:
    • getF1_d Link icon

      public static double getF1_d(double del2)
      returns F1 function for d quark
      Parameters:
      del2 -
      Returns: