|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.physics.nuclear.kinematics.nuclear.Boost
public class Boost
This class handles general boosts from one lorentz frame to another. Instances are created by specifying the relative velocity of the frame to be boosted to.
| Constructor Summary | |
|---|---|
Boost(double[] _beta)
Creates a boost given the beta "4-vector" that a boost creates. |
|
Boost(double _beta,
Direction d)
Creates a new Boost object. |
|
Boost(double _beta,
double theta,
double phi)
Creates new Boost |
|
| Method Summary | |
|---|---|
double |
calculateGamma(double _beta)
Given a velocity (_beta) in units of c, calculate gamma. |
Boost |
getInverse()
DOCUMENT ME! |
static Boost |
inverseBoost(Boost boost)
Creates the boost for a velocity equal in magnitude in the opposite direction from the original boost. |
static void |
main(java.lang.String[] args)
Test code. |
static double[] |
make4Momentum(double KE,
double mass,
double theta,
double phi)
DOCUMENT ME! |
java.lang.String |
toString()
DOCUMENT ME! |
double[] |
transformVector(double[] fourVector)
Given a proper 4-vector, boost it to the frame indicated at the creation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Boost(double _beta,
double theta,
double phi)
_beta - velocity of frame (in units of c)theta - angle from z axis (in radians)phi - azimuthal angle (in radians)public Boost(double[] _beta)
_beta - the array described above
public Boost(double _beta,
Direction d)
_beta - DOCUMENT ME!d - DOCUMENT ME!| Method Detail |
|---|
public static Boost inverseBoost(Boost boost)
boost - the boost to be inverted
public Boost getInverse()
public double calculateGamma(double _beta)
gamma=[sqrt(1-_beta^2)]^(-1)
_beta - velocity over c, the speed of light
public double[] transformVector(double[] fourVector)
throws MathException
fourVector - proper special relativistic 4-vector
MathException - if there's a computation problemBoost
public static double[] make4Momentum(double KE,
double mass,
double theta,
double phi)
KE - DOCUMENT ME!mass - DOCUMENT ME!theta - DOCUMENT ME!phi - DOCUMENT ME!
public java.lang.String toString()
toString in class java.lang.Objectpublic static void main(java.lang.String[] args)
args - ignored
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||