public class BasicHepLorentzVector extends Object implements HepLorentzVector, Serializable
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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() |
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)
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
Jas4pp 1.5 © Java Analysis Studio for Particle Physics