public class Momentum4Vector extends Object implements Lorentz4Vector
Modifier and Type | Field and Description |
---|---|
private double |
_E |
private double |
_px |
private double |
_py |
private double |
_pz |
Constructor and Description |
---|
Momentum4Vector() |
Momentum4Vector(double f1,
double f2,
double f3,
double f4) |
Momentum4Vector(Lorentz4Vector p) |
Modifier and Type | Method and Description |
---|---|
Lorentz4Vector |
boost(Lorentz4Vector prest) |
Lorentz4Vector |
divide(Lorentz4Vector y,
double a) |
double |
dot(Lorentz4Vector y1) |
double |
E() |
boolean |
equals(Momentum4Vector y) |
boolean |
equals(Object o) |
int |
hashcode() |
double |
mass() |
double |
mass2() |
Lorentz4Vector |
minus(Lorentz4Vector y1,
Lorentz4Vector y2)
Subtract a four-vector and return the result.
|
double |
p() |
double |
phi() |
Lorentz4Vector |
plus(Lorentz4Vector y2)
Add a four-vector and returns the result.
|
void |
plusEquals(double f1,
double f2,
double f3,
double f4)
Add the constituents of a four-vector to this four-vector.
|
void |
plusEquals(Lorentz4Vector y1)
Add a four-vector to this four-vector.
|
double |
pT() |
double |
px() |
double |
py() |
double |
pz() |
double |
theta() |
Lorentz4Vector |
times(double a,
Lorentz4Vector y) |
Lorentz4Vector |
times(Lorentz4Vector y,
double a) |
String |
toString() |
Lorentz4Vector[] |
twobodyDecay(double m1,
double m2) |
double |
vec3dot(Lorentz4Vector y1) |
private double _E
private double _px
private double _py
private double _pz
public Momentum4Vector()
public Momentum4Vector(double f1, double f2, double f3, double f4)
public Momentum4Vector(Lorentz4Vector p)
public int hashcode()
public boolean equals(Momentum4Vector y)
public Lorentz4Vector plus(Lorentz4Vector y2)
Lorentz4Vector
plus
in interface Lorentz4Vector
y2
- Four-vector to add.public void plusEquals(Lorentz4Vector y1)
Lorentz4Vector
plusEquals
in interface Lorentz4Vector
y1
- Four-vector to add.public void plusEquals(double f1, double f2, double f3, double f4)
Lorentz4Vector
plusEquals
in interface Lorentz4Vector
f1
- first elementf2
- second elementf3
- third elementf4
- fourth elementpublic Lorentz4Vector minus(Lorentz4Vector y1, Lorentz4Vector y2)
Lorentz4Vector
minus
in interface Lorentz4Vector
y1
- Four-vector to add.public Lorentz4Vector times(double a, Lorentz4Vector y)
times
in interface Lorentz4Vector
public Lorentz4Vector times(Lorentz4Vector y, double a)
times
in interface Lorentz4Vector
public Lorentz4Vector divide(Lorentz4Vector y, double a)
divide
in interface Lorentz4Vector
public String toString()
toString
in interface Lorentz4Vector
toString
in class Object
public double dot(Lorentz4Vector y1)
dot
in interface Lorentz4Vector
public double vec3dot(Lorentz4Vector y1)
vec3dot
in interface Lorentz4Vector
public double px()
px
in interface Lorentz4Vector
public double py()
py
in interface Lorentz4Vector
public double pz()
pz
in interface Lorentz4Vector
public double E()
E
in interface Lorentz4Vector
public double pT()
pT
in interface Lorentz4Vector
public double p()
p
in interface Lorentz4Vector
public double phi()
phi
in interface Lorentz4Vector
public double theta()
theta
in interface Lorentz4Vector
public double mass2()
mass2
in interface Lorentz4Vector
public double mass()
mass
in interface Lorentz4Vector
public Lorentz4Vector boost(Lorentz4Vector prest)
boost
in interface Lorentz4Vector
public Lorentz4Vector[] twobodyDecay(double m1, double m2)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.