CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include "CLHEP/Units/GlobalSystemOfUnits.h"
#include "CLHEP/Units/GlobalPhysicalConstants.h"
#include "CLHEP/Vector/ThreeVector.h"
#include "CLHEP/Vector/TwoVector.h"
#include "CLHEP/Vector/Rotation.h"
#include <cmath>
#include <iostream>
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | DEPS 1.0e-14 |
#define | FEPS 1.0e-6 |
Functions | |
bool | approx (double a, double b, double eps) |
bool | test (const Hep3Vector &p, double x, double y, double z, double eps) |
bool | test2 (const Hep2Vector &p, double x, double y, double eps) |
int | main () |
#define DEPS 1.0e-14 |
Definition at line 24 of file testThreeVector.cc.
Referenced by main().
#define FEPS 1.0e-6 |
Definition at line 25 of file testThreeVector.cc.
Referenced by main().
Definition at line 27 of file testThreeVector.cc.
Referenced by main().
int main | ( | ) |
Definition at line 43 of file testThreeVector.cc.
References CLHEP::Hep3Vector::angle(), approx(), CLHEP::Hep3Vector::cosTheta(), CLHEP::Hep3Vector::cross(), DEPS, CLHEP::Hep3Vector::dot(), exit, f(), FEPS, CLHEP::HepRotation::inverse(), CLHEP::HepRotation::invert(), CLHEP::Hep3Vector::mag(), CLHEP::Hep3Vector::mag2(), CLHEP::Hep3Vector::perp(), CLHEP::Hep3Vector::perp2(), CLHEP::Hep3Vector::phi(), CLHEP::Hep3Vector::rotate(), CLHEP::HepRotation::rotate(), CLHEP::Hep3Vector::rotateY(), CLHEP::HepRotation::rotateY(), CLHEP::Hep3Vector::rotateZ(), CLHEP::HepRotation::rotateZ(), test(), test2(), and CLHEP::Hep3Vector::theta().
bool test | ( | const Hep3Vector & | p, |
double | x, | ||
double | y, | ||
double | z, | ||
double | eps | ||
) |
Definition at line 32 of file testThreeVector.cc.
Referenced by main().
bool test2 | ( | const Hep2Vector & | p, |
double | x, | ||
double | y, | ||
double | eps | ||
) |
Definition at line 39 of file testThreeVector.cc.
Referenced by main().