hep.physics
Class BasicHepLorentzVector

java.lang.Object
  |
  +--hep.physics.BasicHepLorentzVector
All Implemented Interfaces:
HepLorentzVector, java.io.Serializable

public class BasicHepLorentzVector
extends java.lang.Object
implements HepLorentzVector, java.io.Serializable

BasicImplementation of a HepLorentzVector (4-vector)

See Also:
Serialized Form

Constructor Summary
BasicHepLorentzVector()
           
BasicHepLorentzVector(double t, double x, double y, double z)
           
BasicHepLorentzVector(double t, Hep3Vector v)
           
 
Method Summary
 double lorMag()
           
 double lorMag2()
           
 void setT(double t)
           
 void setV3(double t, double x, double y, double z)
           
 void setV3(double t, Hep3Vector v)
           
 double t()
           
 Hep3Vector v3()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicHepLorentzVector

public BasicHepLorentzVector()

BasicHepLorentzVector

public BasicHepLorentzVector(double t,
                             double x,
                             double y,
                             double z)

BasicHepLorentzVector

public BasicHepLorentzVector(double t,
                             Hep3Vector v)
Method Detail

setV3

public void setV3(double t,
                  double x,
                  double y,
                  double z)

setV3

public void setV3(double t,
                  Hep3Vector v)

setT

public void setT(double t)

t

public double t()
Specified by:
t in interface HepLorentzVector

v3

public Hep3Vector v3()
Specified by:
v3 in interface HepLorentzVector

lorMag2

public double lorMag2()
Specified by:
lorMag2 in interface HepLorentzVector

lorMag

public double lorMag()
Specified by:
lorMag in interface HepLorentzVector