org.lcsim.util
Class Momentum4Vector

java.lang.Object
  extended byorg.lcsim.util.Momentum4Vector
All Implemented Interfaces:
Lorentz4Vector

public class Momentum4Vector
extends java.lang.Object
implements Lorentz4Vector


Constructor Summary
Momentum4Vector()
           
Momentum4Vector(double f1, double f2, double f3, double f4)
           
Momentum4Vector(Lorentz4Vector p)
           
 
Method Summary
 Lorentz4Vector boost(Lorentz4Vector prest)
           
 Lorentz4Vector divide(Lorentz4Vector y, double a)
           
 double dot(Lorentz4Vector y1)
           
 double E()
           
 boolean equals(Momentum4Vector y)
           
 boolean equals(java.lang.Object o)
           
 int hashcode()
           
 double mass()
           
 double mass2()
           
 Lorentz4Vector minus(Lorentz4Vector y1, Lorentz4Vector y2)
           
 double p()
           
 double phi()
           
 Lorentz4Vector plus(Lorentz4Vector y2)
           
 void plusEquals(double f1, double f2, double f3, double f4)
           
 void plusEquals(Lorentz4Vector y1)
           
 double pT()
           
 double px()
           
 double py()
           
 double pz()
           
 double theta()
           
 Lorentz4Vector times(double a, Lorentz4Vector y)
           
 Lorentz4Vector times(Lorentz4Vector y, double a)
           
 java.lang.String toString()
           
 Lorentz4Vector[] twobodyDecay(double m1, double m2)
           
 double vec3dot(Lorentz4Vector y1)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Momentum4Vector

public Momentum4Vector()

Momentum4Vector

public Momentum4Vector(double f1,
                       double f2,
                       double f3,
                       double f4)

Momentum4Vector

public Momentum4Vector(Lorentz4Vector p)
Method Detail

equals

public boolean equals(java.lang.Object o)

hashcode

public int hashcode()

equals

public boolean equals(Momentum4Vector y)

plus

public Lorentz4Vector plus(Lorentz4Vector y2)
Specified by:
plus in interface Lorentz4Vector

plusEquals

public void plusEquals(Lorentz4Vector y1)
Specified by:
plusEquals in interface Lorentz4Vector

plusEquals

public void plusEquals(double f1,
                       double f2,
                       double f3,
                       double f4)
Specified by:
plusEquals in interface Lorentz4Vector

minus

public Lorentz4Vector minus(Lorentz4Vector y1,
                            Lorentz4Vector y2)
Specified by:
minus in interface Lorentz4Vector

times

public Lorentz4Vector times(double a,
                            Lorentz4Vector y)
Specified by:
times in interface Lorentz4Vector

times

public Lorentz4Vector times(Lorentz4Vector y,
                            double a)
Specified by:
times in interface Lorentz4Vector

divide

public Lorentz4Vector divide(Lorentz4Vector y,
                             double a)
Specified by:
divide in interface Lorentz4Vector

toString

public java.lang.String toString()
Specified by:
toString in interface Lorentz4Vector

dot

public double dot(Lorentz4Vector y1)
Specified by:
dot in interface Lorentz4Vector

vec3dot

public double vec3dot(Lorentz4Vector y1)
Specified by:
vec3dot in interface Lorentz4Vector

px

public double px()
Specified by:
px in interface Lorentz4Vector

py

public double py()
Specified by:
py in interface Lorentz4Vector

pz

public double pz()
Specified by:
pz in interface Lorentz4Vector

E

public double E()
Specified by:
E in interface Lorentz4Vector

pT

public double pT()
Specified by:
pT in interface Lorentz4Vector

p

public double p()
Specified by:
p in interface Lorentz4Vector

phi

public double phi()
Specified by:
phi in interface Lorentz4Vector

theta

public double theta()
Specified by:
theta in interface Lorentz4Vector

mass2

public double mass2()
Specified by:
mass2 in interface Lorentz4Vector

mass

public double mass()
Specified by:
mass in interface Lorentz4Vector

boost

public Lorentz4Vector boost(Lorentz4Vector prest)
Specified by:
boost in interface Lorentz4Vector

twobodyDecay

public Lorentz4Vector[] twobodyDecay(double m1,
                                     double m2)