ROOT 6.08/07 Reference Guide |
#include "Math/GenVector/DisplacementVector3D.h"
#include "Math/GenVector/PositionVector3D.h"
#include "Math/GenVector/Cartesian3D.h"
#include "Math/GenVector/Polar3D.h"
#include "Math/GenVector/CylindricalEta3D.h"
#include "Math/GenVector/LorentzVector.h"
#include "Math/GenVector/Rotation3D.h"
#include "Math/GenVector/AxisAngle.h"
#include "Math/GenVector/EulerAngles.h"
#include "Math/GenVector/Quaternion.h"
#include "Math/GenVector/RotationZYX.h"
#include "Math/GenVector/RotationX.h"
#include "Math/GenVector/RotationY.h"
#include "Math/GenVector/RotationZ.h"
#include "Math/GenVector/VectorUtil.h"
#include "Math/Vector3Dfwd.h"
#include "CoordinateTraits.h"
#include "RotationTraits.h"
#include <iostream>
#include <limits>
#include <cmath>
#include <vector>
Enumerations | |
enum | XYZ { X, Y, Z } |
Functions | |
XYZVector | ans (TestRotation const &t, XYZVector const &v_in) |
template<typename Scalar1 , typename Scalar2 > | |
int | closeEnough (Scalar1 s1, Scalar2 s2, std::string const &coord, double ticks) |
template<class V1 , class V2 > | |
int | compare3D (const V1 &v1, const V2 &v2, double ticks) |
double | correctTicks (double ticks, double z, double r) |
template<class R , class V > | |
int | doTest (TestRotation const &testRotation, XYZVector const &testVector, double ticks) |
template<class R , class V > | |
int | doTestA (XYZVector const &testVector, double ticks) |
template<class R , class C > | |
int | doTestL (TestRotation const &testRotation, XYZVector const &testVector, double ticks) |
template<class R , class C > | |
int | doTestLA (XYZVector const &testVector, double ticks) |
template<class R > | |
int | doTestOfAxial (XYZVector const &testVector) |
template<class R > | |
int | doTestOfR (TestRotation const &testRotation, XYZVector const &testVector) |
int | exerciseAxialTest (XYZVector const &testVector) |
int | exerciseTestCase (TestRotation const &testRotation, XYZVector const &testVector) |
int | main () |
std::vector< TestRotation > | makeTestRotations () |
std::vector< XYZVector > | makeTestVectors () |
std::ostream & | operator<< (std::ostream &os, const ForeignVector &v) |
int | rotationApplication (bool forceRun=false) |
Rotation3D | rrr (TestRotation const &t) |
XYZVector | rxv (double phi, XYZVector v) |
XYZVector | ryv (double phi, XYZVector v) |
XYZVector | rzv (double phi, XYZVector v) |
template<class R , class V > | |
int | testApplication (const R &r, const V &v, const XYZVector &answer, double t) |
Variables | |
const double | machEpsilon = pow (2.0, -52.0) |
const double | pi = 3.1415926535897932385 |
enum XYZ |
Enumerator | |
---|---|
X | |
Y | |
Z |
Definition at line 230 of file rotationApplication.cxx.
Definition at line 264 of file rotationApplication.cxx.
int closeEnough | ( | Scalar1 | s1, |
Scalar2 | s2, | ||
std::string const & | coord, | ||
double | ticks | ||
) |
Definition at line 78 of file rotationApplication.cxx.
int compare3D | ( | const V1 & | v1, |
const V2 & | v2, | ||
double | ticks | ||
) |
Definition at line 102 of file rotationApplication.cxx.
double correctTicks | ( | double | ticks, |
double | z, | ||
double | r | ||
) |
Definition at line 130 of file rotationApplication.cxx.
int doTest | ( | TestRotation const & | testRotation, |
XYZVector const & | testVector, | ||
double | ticks | ||
) |
Definition at line 395 of file rotationApplication.cxx.
int doTestA | ( | XYZVector const & | testVector, |
double | ticks | ||
) |
Definition at line 547 of file rotationApplication.cxx.
int doTestL | ( | TestRotation const & | testRotation, |
XYZVector const & | testVector, | ||
double | ticks | ||
) |
Definition at line 415 of file rotationApplication.cxx.
int doTestLA | ( | XYZVector const & | testVector, |
double | ticks | ||
) |
Definition at line 573 of file rotationApplication.cxx.
int doTestOfAxial | ( | XYZVector const & | testVector | ) |
Definition at line 606 of file rotationApplication.cxx.
int doTestOfR | ( | TestRotation const & | testRotation, |
XYZVector const & | testVector | ||
) |
Definition at line 457 of file rotationApplication.cxx.
int exerciseAxialTest | ( | XYZVector const & | testVector | ) |
Definition at line 659 of file rotationApplication.cxx.
int exerciseTestCase | ( | TestRotation const & | testRotation, |
XYZVector const & | testVector | ||
) |
Definition at line 515 of file rotationApplication.cxx.
int main | ( | ) |
Definition at line 724 of file rotationApplication.cxx.
std::vector<TestRotation> makeTestRotations | ( | ) |
Definition at line 285 of file rotationApplication.cxx.
std::vector<XYZVector> makeTestVectors | ( | ) |
Definition at line 372 of file rotationApplication.cxx.
std::ostream& operator<< | ( | std::ostream & | os, |
const ForeignVector & | v | ||
) |
Definition at line 451 of file rotationApplication.cxx.
int rotationApplication | ( | bool | forceRun = false | ) |
Definition at line 692 of file rotationApplication.cxx.
Rotation3D rrr | ( | TestRotation const & | t | ) |
Definition at line 240 of file rotationApplication.cxx.
Definition at line 212 of file rotationApplication.cxx.
Definition at line 218 of file rotationApplication.cxx.
Definition at line 224 of file rotationApplication.cxx.
int testApplication | ( | const R & | r, |
const V & | v, | ||
const XYZVector & | answer, | ||
double | t | ||
) |
Definition at line 159 of file rotationApplication.cxx.
const double machEpsilon = pow (2.0, -52.0) |
Definition at line 74 of file rotationApplication.cxx.
const double pi = 3.1415926535897932385 |
Definition at line 282 of file rotationApplication.cxx.