CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
|
#include <ThreeVector.h>
Public Types | |
enum | { X =0 , Y =1 , Z =2 , NUM_COORDINATES =3 , SIZE =NUM_COORDINATES } |
Static Public Member Functions | |
static double | setTolerance (double tol) |
static double | getTolerance () |
Static Public Attributes | |
static const int | ToleranceTicks = 100 |
Protected Member Functions | |
void | setSpherical (double r, double theta, double phi) |
void | setCylindrical (double r, double phi, double z) |
double | negativeInfinity () const |
Protected Attributes | |
double | data [3] |
Static Protected Attributes | |
static double | tolerance = Hep3Vector::ToleranceTicks * 2.22045e-16 |
Definition at line 36 of file ThreeVector.h.
anonymous enum |
Enumerator | |
---|---|
X | |
Y | |
Z | |
NUM_COORDINATES | |
SIZE |
Definition at line 42 of file ThreeVector.h.
CLHEP::Hep3Vector::Hep3Vector | ( | ) |
|
explicit |
|
inline |
|
inlinedefault |
|
inline |
|
inline |
Referenced by polarAngle().
double CLHEP::Hep3Vector::angle | ( | const Hep3Vector & | ) | const |
Referenced by azimAngle(), main(), and polarAngle().
double CLHEP::Hep3Vector::azimAngle | ( | const Hep3Vector & | v2 | ) | const |
double CLHEP::Hep3Vector::azimAngle | ( | const Hep3Vector & | v2, |
const Hep3Vector & | ref | ||
) | const |
Definition at line 38 of file SpaceVectorD.cc.
double CLHEP::Hep3Vector::beta | ( | ) | const |
Definition at line 28 of file SpaceVectorP.cc.
Referenced by coLinearRapidity(), CLHEP::HepRotation::distance2(), CLHEP::HepRotationX::distance2(), CLHEP::HepRotationY::distance2(), and CLHEP::HepRotationZ::distance2().
double CLHEP::Hep3Vector::coLinearRapidity | ( | ) | const |
Definition at line 66 of file SpaceVectorP.cc.
int CLHEP::Hep3Vector::compare | ( | const Hep3Vector & | v | ) | const |
Definition at line 121 of file SpaceVector.cc.
Referenced by CLHEP::HepLorentzVector::compare(), operator<(), operator<=(), operator>(), and operator>=().
|
inline |
double CLHEP::Hep3Vector::cos2Theta | ( | const Hep3Vector & | v2 | ) | const |
Definition at line 167 of file ThreeVector.cc.
double CLHEP::Hep3Vector::cosTheta | ( | const Hep3Vector & | v2 | ) | const |
Definition at line 154 of file ThreeVector.cc.
|
inline |
Referenced by azimAngle(), howOrthogonal(), howParallel(), isOrthogonal(), isParallel(), main(), and CLHEP::HepRotation::rotateAxes().
double CLHEP::Hep3Vector::deltaPhi | ( | const Hep3Vector & | v2 | ) | const |
Definition at line 138 of file ThreeVector.cc.
Referenced by deltaR(), and CLHEP::HepLorentzVector::deltaR().
double CLHEP::Hep3Vector::deltaR | ( | const Hep3Vector & | v | ) | const |
Definition at line 148 of file ThreeVector.cc.
|
inline |
|
inline |
Referenced by azimAngle(), CLHEP::HepLorentzVector::boost(), cos2Theta(), cosTheta(), eta(), howNear(), CLHEP::HepLorentzVector::howNear(), CLHEP::HepLorentzVector::howNearCM(), howOrthogonal(), howParallel(), isNear(), CLHEP::HepLorentzVector::isNear(), CLHEP::HepLorentzVector::isNearCM(), isOrthogonal(), isParallel(), main(), CLHEP::HepLorentzVector::minus(), CLHEP::HepLorentzVector::plus(), project(), CLHEP::HepLorentzVector::rapidity(), rapidity(), CLHEP::HepRotation::rotateAxes(), and CLHEP::HepRotation::set().
double CLHEP::Hep3Vector::eta | ( | const Hep3Vector & | v2 | ) | const |
Definition at line 113 of file SpaceVectorP.cc.
double CLHEP::Hep3Vector::gamma | ( | ) | const |
Definition at line 37 of file SpaceVectorP.cc.
double CLHEP::Hep3Vector::getEta | ( | ) | const |
|
inline |
Referenced by deltaPhi(), setCylEta(), setCylTheta(), and setEta().
|
inline |
Referenced by setCylEta(), and setCylTheta().
|
inline |
Referenced by polarAngle().
|
inlinestatic |
|
inline |
Referenced by CLHEP::HepLorentzVector::boostX(), rotate(), and CLHEP::HepRotation::set().
|
inline |
Referenced by CLHEP::HepLorentzVector::boostY(), rotate(), and CLHEP::HepRotation::set().
|
inline |
double CLHEP::Hep3Vector::howNear | ( | const Hep3Vector & | v | ) | const |
Definition at line 125 of file ThreeVector.cc.
double CLHEP::Hep3Vector::howOrthogonal | ( | const Hep3Vector & | v | ) | const |
Definition at line 219 of file SpaceVector.cc.
double CLHEP::Hep3Vector::howParallel | ( | const Hep3Vector & | v | ) | const |
Definition at line 168 of file SpaceVector.cc.
bool CLHEP::Hep3Vector::isNear | ( | const Hep3Vector & | v, |
double | epsilon = tolerance |
||
) | const |
Definition at line 120 of file ThreeVector.cc.
bool CLHEP::Hep3Vector::isOrthogonal | ( | const Hep3Vector & | v, |
double | epsilon = tolerance |
||
) | const |
Definition at line 237 of file SpaceVector.cc.
bool CLHEP::Hep3Vector::isParallel | ( | const Hep3Vector & | v, |
double | epsilon = tolerance |
||
) | const |
Definition at line 184 of file SpaceVector.cc.
|
inline |
Referenced by CLHEP::HepLorentzVector::coLinearRapidity(), eta(), howOrthogonal(), howParallel(), main(), CLHEP::HepLorentzVector::minus(), CLHEP::HepLorentzVector::plus(), CLHEP::HepBoost::print(), pseudoRapidity(), rapidity(), CLHEP::HepBoost::rectify(), rotate(), CLHEP::HepRotation::rotate(), CLHEP::HepBoost::set(), and setMag().
|
inline |
Referenced by azimAngle(), CLHEP::HepLorentzVector::beta(), beta(), CLHEP::HepLorentzVector::boost(), CLHEP::HepLorentzVector::boostVector(), cos2Theta(), cosTheta(), CLHEP::HepLorentzVector::findBoostToCM(), CLHEP::HepLorentzVector::gamma(), gamma(), howNear(), CLHEP::HepLorentzVector::howNearCM(), howParallel(), isNear(), CLHEP::HepLorentzVector::isNearCM(), isOrthogonal(), isParallel(), main(), project(), CLHEP::HepLorentzVector::rapidity(), CLHEP::HepBoost::rectify(), and CLHEP::HepRotation::rotateAxes().
|
protected |
Definition at line 284 of file SpaceVector.cc.
Referenced by eta().
|
inline |
|
inline |
|
inline |
Hep3Vector & CLHEP::Hep3Vector::operator*= | ( | const HepRotation & | m1 | ) |
Definition at line 17 of file ThreeVectorR.cc.
|
inline |
Referenced by rotate().
|
inline |
|
inline |
|
inline |
Hep3Vector & CLHEP::Hep3Vector::operator/= | ( | double | c | ) |
Definition at line 304 of file ThreeVector.cc.
bool CLHEP::Hep3Vector::operator< | ( | const Hep3Vector & | v | ) | const |
Definition at line 143 of file SpaceVector.cc.
bool CLHEP::Hep3Vector::operator<= | ( | const Hep3Vector & | v | ) | const |
Definition at line 149 of file SpaceVector.cc.
|
inline |
|
inlinedefault |
|
inline |
bool CLHEP::Hep3Vector::operator> | ( | const Hep3Vector & | v | ) | const |
Definition at line 140 of file SpaceVector.cc.
bool CLHEP::Hep3Vector::operator>= | ( | const Hep3Vector & | v | ) | const |
Definition at line 146 of file SpaceVector.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by azimAngle().
|
inline |
double CLHEP::Hep3Vector::polarAngle | ( | const Hep3Vector & | v2 | ) | const |
Definition at line 26 of file SpaceVectorD.cc.
double CLHEP::Hep3Vector::polarAngle | ( | const Hep3Vector & | v2, |
const Hep3Vector & | ref | ||
) | const |
Definition at line 30 of file SpaceVectorD.cc.
|
inline |
Referenced by project().
Hep3Vector CLHEP::Hep3Vector::project | ( | const Hep3Vector & | v2 | ) | const |
Definition at line 86 of file SpaceVectorP.cc.
double CLHEP::Hep3Vector::pseudoRapidity | ( | ) | const |
Definition at line 58 of file ThreeVector.cc.
|
inline |
double CLHEP::Hep3Vector::rapidity | ( | ) | const |
Definition at line 51 of file SpaceVectorP.cc.
double CLHEP::Hep3Vector::rapidity | ( | const Hep3Vector & | v2 | ) | const |
Definition at line 96 of file SpaceVectorP.cc.
|
inline |
Hep3Vector & CLHEP::Hep3Vector::rotate | ( | const Hep3Vector & | axis, |
double | delta | ||
) |
Definition at line 26 of file SpaceVectorR.cc.
Hep3Vector & CLHEP::Hep3Vector::rotate | ( | const HepAxisAngle & | ax | ) |
Definition at line 109 of file SpaceVectorR.cc.
Hep3Vector & CLHEP::Hep3Vector::rotate | ( | const HepEulerAngles & | e | ) |
Definition at line 113 of file SpaceVectorR.cc.
Hep3Vector & CLHEP::Hep3Vector::rotate | ( | double | phi, |
double | theta, | ||
double | psi | ||
) |
Definition at line 73 of file SpaceVectorR.cc.
Hep3Vector & CLHEP::Hep3Vector::rotate | ( | double | angle1, |
const Hep3Vector & | aaxis | ||
) |
Definition at line 25 of file ThreeVectorR.cc.
Referenced by main(), rotate(), CLHEP::HepLorentzVector::rotate(), and CLHEP::rotationOf().
Hep3Vector & CLHEP::Hep3Vector::rotateUz | ( | const Hep3Vector & | NewUzVector | ) |
Definition at line 36 of file ThreeVector.cc.
Referenced by CLHEP::HepLorentzVector::rotateUz().
Hep3Vector & CLHEP::Hep3Vector::rotateX | ( | double | phi1 | ) |
Definition at line 90 of file ThreeVector.cc.
Referenced by CLHEP::HepLorentzVector::rotateX(), and CLHEP::rotationXOf().
Hep3Vector & CLHEP::Hep3Vector::rotateY | ( | double | phi1 | ) |
Definition at line 100 of file ThreeVector.cc.
Referenced by main(), CLHEP::HepLorentzVector::rotateY(), and CLHEP::rotationYOf().
Hep3Vector & CLHEP::Hep3Vector::rotateZ | ( | double | phi1 | ) |
Definition at line 110 of file ThreeVector.cc.
Referenced by main(), CLHEP::HepLorentzVector::rotateZ(), and CLHEP::rotationZOf().
void CLHEP::Hep3Vector::setCylEta | ( | double | p | ) |
Definition at line 254 of file ThreeVector.cc.
Definition at line 54 of file SpaceVector.cc.
void CLHEP::Hep3Vector::setCylTheta | ( | double | theta1 | ) |
Definition at line 209 of file ThreeVector.cc.
void CLHEP::Hep3Vector::setEta | ( | double | p | ) |
Definition at line 183 of file ThreeVector.cc.
void CLHEP::Hep3Vector::setMag | ( | double | ma | ) |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 96 of file SpaceVector.cc.
Definition at line 69 of file SpaceVector.cc.
Definition at line 33 of file SpaceVector.cc.
|
inline |
Definition at line 271 of file SpaceVector.cc.
|
inline |
Referenced by CLHEP::HepLorentzVector::boostX(), rotateUz(), rotateY(), rotateZ(), setCylEta(), setCylindrical(), setCylTheta(), setEta(), setMag(), setRhoPhiEta(), setRhoPhiTheta(), and setSpherical().
|
inline |
Referenced by CLHEP::HepLorentzVector::boostY(), rotateX(), rotateZ(), setCylEta(), setCylindrical(), setCylTheta(), setEta(), setMag(), setRhoPhiEta(), setRhoPhiTheta(), and setSpherical().
|
inline |
Referenced by CLHEP::HepLorentzVector::boostZ(), rotateUz(), rotateX(), rotateY(), setCylEta(), setCylindrical(), setCylTheta(), setEta(), setMag(), setRhoPhiEta(), setRhoPhiTheta(), and setSpherical().
|
inline |
Hep3Vector & CLHEP::Hep3Vector::transform | ( | const HepRotation & | m1 | ) |
Definition at line 21 of file ThreeVectorR.cc.
|
inline |
|
inline |
Referenced by compare(), conversion_test(), equal(), isOrthogonal(), isParallel(), main(), CLHEP::operator<<(), CLHEP::HepVector::operator=(), rotate(), CLHEP::HepRotation::rotate(), CLHEP::HepRotation::rotateAxes(), rotateUz(), rotateY(), rotateZ(), CLHEP::HepRotation::set(), CLHEP::HepBoost::set(), setCylEta(), setCylTheta(), setEta(), setMag(), and test().
|
inline |
Referenced by compare(), conversion_test(), equal(), isOrthogonal(), isParallel(), main(), CLHEP::operator<<(), CLHEP::HepVector::operator=(), rotate(), CLHEP::HepRotation::rotate(), CLHEP::HepRotation::rotateAxes(), rotateUz(), rotateX(), rotateZ(), CLHEP::HepRotation::set(), CLHEP::HepBoost::set(), setCylEta(), setCylTheta(), setEta(), setMag(), and test().
|
inline |
Referenced by compare(), conversion_test(), equal(), isOrthogonal(), isParallel(), main(), CLHEP::operator<<(), CLHEP::HepVector::operator=(), pseudoRapidity(), rapidity(), rotate(), CLHEP::HepRotation::rotate(), CLHEP::HepRotation::rotateAxes(), rotateUz(), rotateX(), rotateY(), CLHEP::HepRotation::set(), CLHEP::HepBoost::set(), setCylEta(), setCylTheta(), setEta(), setMag(), and test().
|
protected |
Definition at line 391 of file ThreeVector.h.
|
staticprotected |
Definition at line 394 of file ThreeVector.h.
Referenced by setTolerance().
|
static |
Definition at line 295 of file ThreeVector.h.