|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--hep.physics.BasicHep3Vector
Basic implementation of a Hep3Vector
| Constructor Summary | |
BasicHep3Vector()
|
|
BasicHep3Vector(double[] d)
Create a BasicHep3Vector from a double array |
|
BasicHep3Vector(double dx,
double dy,
double dz)
|
|
| Method Summary | |
double |
cosTheta()
|
double |
mag()
|
double |
mag2()
|
void |
setV(double dx,
double dy,
double dz)
|
double[] |
v()
|
double |
x()
|
double |
y()
|
double |
z()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicHep3Vector()
public BasicHep3Vector(double dx,
double dy,
double dz)
public BasicHep3Vector(double[] d)
d - An array {x,y,z}| Method Detail |
public void setV(double dx,
double dy,
double dz)
public double[] v()
v in interface Hep3Vectorpublic double x()
x in interface Hep3Vectorpublic double y()
y in interface Hep3Vectorpublic double z()
z in interface Hep3Vectorpublic double mag()
mag in interface Hep3Vectorpublic double mag2()
mag2 in interface Hep3Vectorpublic double cosTheta()
cosTheta in interface Hep3Vector
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||