|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.physics.vec.BasicHepLorentzVector
BasicImplementation of a HepLorentzVector (4-vector)
Constructor Summary | |
BasicHepLorentzVector()
|
|
BasicHepLorentzVector(double t,
double[] x)
|
|
BasicHepLorentzVector(double t,
double x,
double y,
double z)
|
|
BasicHepLorentzVector(double t,
float[] x)
|
|
BasicHepLorentzVector(double t,
Hep3Vector v)
|
Method Summary | |
boolean |
equals(Object obj)
|
int |
hashCode()
|
double |
magnitude()
The magnitude of the Lorentz vector. |
double |
magnitudeSquared()
The square of the magnitude of the vector |
void |
setT(double t)
|
void |
setV3(double t,
double x,
double y,
double z)
|
void |
setV3(double t,
Hep3Vector v)
|
double |
t()
|
String |
toString()
|
Hep3Vector |
v3()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BasicHepLorentzVector()
public BasicHepLorentzVector(double t, double x, double y, double z)
public BasicHepLorentzVector(double t, double[] x)
public BasicHepLorentzVector(double t, float[] x)
public BasicHepLorentzVector(double t, Hep3Vector v)
Method Detail |
public void setV3(double t, double x, double y, double z)
public void setV3(double t, Hep3Vector v)
public void setT(double t)
public double t()
t
in interface HepLorentzVector
public Hep3Vector v3()
v3
in interface HepLorentzVector
public double magnitude()
HepLorentzVector
magnitude
in interface HepLorentzVector
public double magnitudeSquared()
HepLorentzVector
magnitudeSquared
in interface HepLorentzVector
public boolean equals(Object obj)
public int hashCode()
public String toString()
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |