|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.tools.beam.ParameterConverter
| Constructor Summary | |
ParameterConverter()
|
|
| Method Summary | |
static double |
computeBetaFromGamma(double gamma)
Convenience function for computing the probe's velocity beta (w.r.t. |
static double |
computeGammaFromBeta(double beta)
Computes the relatavistic factor gamma from the current beta value |
static double |
computeGammaFromEnergies(double W,
double Er)
Convenience function for computing the relatistic factor gamma from a particle's kinetic energy and rest energy. |
static double |
computeMomentumFromEnergies(double W,
double Er)
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 |
| Constructor Detail |
public ParameterConverter()
| Method Detail |
public static double computeGammaFromBeta(double beta)
beta - speed of probe w.r.t. the speed of light
public static double computeGammaFromEnergies(double W,
double Er)
W - kinetic energy of the particleEr - rest energy of particle
public static double computeBetaFromGamma(double gamma)
public static double computeMomentumFromEnergies(double W,
double Er)
W - kinetic energy of the particle (eV)Er - rest energy of particle (eV)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||