Colt 1.0.1

cern.clhep
Class PhysicalConstants

java.lang.Object
  |
  +--cern.clhep.PhysicalConstants

public class PhysicalConstants
extends Object

High Energy Physics coherent Physical Constants. This class is a Java port of the C++ version found in CLHEP 1.4.0, which in turn has been provided by Geant4 (a simulation toolkit for HEP).

For aliasing see physicalConstants.


Field Summary
static double alpha_rcl2
           
static double amu
           
static double amu_c2
           
static double Avogadro
           
static double Bohr_radius
           
static double c_light
           
static double c_squared
           
static double classic_electr_radius
           
static double e_squared
           
static double electron_charge
           
static double electron_Compton_length
           
static double electron_mass_c2
           
static double elm_coupling
           
static double epsilon0
           
static double fine_structure_const
           
static double h_Planck
           
static double halfpi
           
static double hbar_Planck
           
static double hbarc
           
static double hbarc_squared
           
static double k_Boltzmann
           
static double kGasThreshold
           
static double mu0
           
static double neutron_mass_c2
           
static PhysicalConstants physicalConstants
          Little trick to allow for "aliasing", that is, renaming this class.
static double pi
           
static double pi2
           
static double proton_mass_c2
           
static double STP_Pressure
           
static double STP_Temperature
           
static double twopi
           
static double twopi_mc2_rcl2
           
static double universe_mean_density
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

physicalConstants

public static final PhysicalConstants physicalConstants
Little trick to allow for "aliasing", that is, renaming this class. Normally you would write
 PhysicalConstants.twopi;
 PhysicalConstants.c_light;
 PhysicalConstants.h_Planck;
 
Since this class has only static methods, but no instance methods you can also shorten the name "PhysicalConstants" to a name that better suits you, for example "P".
 PhysicalConstants P = PhysicalConstants.physicalConstants; // kind of "alias"
 P.twopi;
 P.c_light;
 P.h_Planck;
 

pi

public static final double pi

twopi

public static final double twopi

halfpi

public static final double halfpi

pi2

public static final double pi2

Avogadro

public static final double Avogadro

c_light

public static final double c_light

c_squared

public static final double c_squared

h_Planck

public static final double h_Planck

hbar_Planck

public static final double hbar_Planck

hbarc

public static final double hbarc

hbarc_squared

public static final double hbarc_squared

electron_charge

public static final double electron_charge

e_squared

public static final double e_squared

electron_mass_c2

public static final double electron_mass_c2

proton_mass_c2

public static final double proton_mass_c2

neutron_mass_c2

public static final double neutron_mass_c2

amu_c2

public static final double amu_c2

amu

public static final double amu

mu0

public static final double mu0

epsilon0

public static final double epsilon0

elm_coupling

public static final double elm_coupling

fine_structure_const

public static final double fine_structure_const

classic_electr_radius

public static final double classic_electr_radius

electron_Compton_length

public static final double electron_Compton_length

Bohr_radius

public static final double Bohr_radius

alpha_rcl2

public static final double alpha_rcl2

twopi_mc2_rcl2

public static final double twopi_mc2_rcl2

k_Boltzmann

public static final double k_Boltzmann

STP_Temperature

public static final double STP_Temperature

STP_Pressure

public static final double STP_Pressure

kGasThreshold

public static final double kGasThreshold

universe_mean_density

public static final double universe_mean_density

Colt 1.0.1

Submit a bug or feature. Check the Colt home page for the latest news.