testGenVector.cxx File Reference

#include "Math/Vector3D.h"
#include "Math/Point3D.h"
#include "Math/Vector2D.h"
#include "Math/Point2D.h"
#include "Math/EulerAngles.h"
#include "Math/Transform3D.h"
#include "Math/Translation3D.h"
#include "Math/Rotation3D.h"
#include "Math/RotationX.h"
#include "Math/RotationY.h"
#include "Math/RotationZ.h"
#include "Math/Quaternion.h"
#include "Math/AxisAngle.h"
#include "Math/RotationZYX.h"
#include "Math/LorentzRotation.h"
#include "Math/VectorUtil.h"
#include "Math/SMatrix.h"
#include <vector>

Go to the source code of this file.

Typedefs

typedef DisplacementVector3D<
Cartesian3D< double >, GlobalCoordinateSystemTag
GlobalXYZVector
typedef DisplacementVector3D<
Cartesian3D< double >, LocalCoordinateSystemTag
LocalXYZVector
typedef DisplacementVector3D<
Polar3D< double >, GlobalCoordinateSystemTag
GlobalPolar3DVector
typedef PositionVector3D<
Cartesian3D< double >, GlobalCoordinateSystemTag
GlobalXYZPoint
typedef PositionVector3D<
Cartesian3D< double >, LocalCoordinateSystemTag
LocalXYZPoint
typedef PositionVector3D<
Polar3D< double >, GlobalCoordinateSystemTag
GlobalPolar3DPoint
typedef PositionVector3D<
Polar3D< double >, LocalCoordinateSystemTag
LocalPolar3DPoint
typedef DisplacementVector2D<
Cartesian2D< double >, GlobalCoordinateSystemTag
GlobalXYVector
typedef DisplacementVector2D<
Cartesian2D< double >, LocalCoordinateSystemTag
LocalXYVector
typedef DisplacementVector2D<
Polar2D< double >, GlobalCoordinateSystemTag
GlobalPolar2DVector
typedef PositionVector2D<
Cartesian2D< double >, GlobalCoordinateSystemTag
GlobalXYPoint
typedef PositionVector2D<
Cartesian2D< double >, LocalCoordinateSystemTag
LocalXYPoint
typedef PositionVector2D<
Polar2D< double >, GlobalCoordinateSystemTag
GlobalPolar2DPoint
typedef PositionVector2D<
Polar2D< double >, LocalCoordinateSystemTag
LocalPolar2DPoint

Functions

int compare (double v1, double v2, const std::string &name="", double scale=1.0)
template<class Transform>
bool IsEqual (const Transform &t1, const Transform &t2, unsigned int size)
int testVector3D ()
int testPoint3D ()
int testVector2D ()
int testPoint2D ()
int testRotations3D ()
int testTransform3D ()
int testVectorUtil ()
int testGenVector ()
int main ()


Typedef Documentation

typedef PositionVector2D<Polar2D<double>, GlobalCoordinateSystemTag> GlobalPolar2DPoint

Definition at line 297 of file testGenVector.cxx.

typedef DisplacementVector2D<Polar2D<double>, GlobalCoordinateSystemTag> GlobalPolar2DVector

Definition at line 228 of file testGenVector.cxx.

typedef PositionVector3D<Polar3D<double>, GlobalCoordinateSystemTag> GlobalPolar3DPoint

Definition at line 44 of file testGenVector.cxx.

typedef DisplacementVector3D<Polar3D<double>, GlobalCoordinateSystemTag> GlobalPolar3DVector

Definition at line 38 of file testGenVector.cxx.

typedef PositionVector2D<Cartesian2D<double>, GlobalCoordinateSystemTag> GlobalXYPoint

Definition at line 295 of file testGenVector.cxx.

typedef DisplacementVector2D<Cartesian2D<double>, GlobalCoordinateSystemTag> GlobalXYVector

Definition at line 226 of file testGenVector.cxx.

typedef PositionVector3D<Cartesian3D<double>, GlobalCoordinateSystemTag> GlobalXYZPoint

Definition at line 42 of file testGenVector.cxx.

typedef DisplacementVector3D<Cartesian3D<double>, GlobalCoordinateSystemTag> GlobalXYZVector

Definition at line 36 of file testGenVector.cxx.

typedef PositionVector2D<Polar2D<double>, LocalCoordinateSystemTag> LocalPolar2DPoint

Definition at line 298 of file testGenVector.cxx.

typedef PositionVector3D<Polar3D<double>, LocalCoordinateSystemTag> LocalPolar3DPoint

Definition at line 45 of file testGenVector.cxx.

typedef PositionVector2D<Cartesian2D<double>, LocalCoordinateSystemTag> LocalXYPoint

Definition at line 296 of file testGenVector.cxx.

typedef DisplacementVector2D<Cartesian2D<double>, LocalCoordinateSystemTag> LocalXYVector

Definition at line 227 of file testGenVector.cxx.

typedef PositionVector3D<Cartesian3D<double>, LocalCoordinateSystemTag> LocalXYZPoint

Definition at line 43 of file testGenVector.cxx.

typedef DisplacementVector3D<Cartesian3D<double>, LocalCoordinateSystemTag> LocalXYZVector

Definition at line 37 of file testGenVector.cxx.


Function Documentation

int compare ( double  v1,
double  v2,
const std::string name = "",
double  scale = 1.0 
)

Definition at line 51 of file testGenVector.cxx.

References d, RootCsg::epsilon, int, name, and pr().

Referenced by af_latin2_hints_compute_blue_edges(), VectorTest< Dim >::check(), compare(), G__G__Base2_53_0_70(), G__G__Base2_53_0_71(), gl2psTraverseBspTree(), main(), multidimfit(), SWIG_MangledTypeQueryModule(), StatFunction< Func, FuncQ, NPAR, NPARQ >::Test(), test10(), test11(), test12(), test13(), test14(), test15(), test16(), test17(), test18(), test19(), test20(), test21(), test22(), test23(), test24(), testBinomialCdf(), TestFunc1::testCdf(), TestFunc2::testCdf(), StatFunction< Func, FuncQ, NPAR, NPARQ >::TestDerivative(), StatFunction< Func, FuncQ, NPAR, NPARQ >::TestIntegral(), StatFunction< Func, FuncQ, NPAR, NPARQ >::TestInverse1(), StatFunction< Func, FuncQ, NPAR, NPARQ >::TestInverse2(), testLorentzVector(), testPoint2D(), testPoint3D(), testPoissonCdf(), TestFunc2::testQuantile(), TestFunc1::testQuantile(), testRotation(), testRotations3D(), testSpecFunc(), testTrack(), testTransform3D(), testVector2D(), testVector3D(), and testVectorUtil().

template<class Transform>
bool IsEqual ( const Transform &  t1,
const Transform &  t2,
unsigned int  size 
)

Definition at line 88 of file testGenVector.cxx.

References RootCsg::epsilon, i, x1, and x2.

Referenced by G__G__Base2_10_0_37(), and testTransform3D().

int main ( void   ) 

Definition at line 742 of file testGenVector.cxx.

References testGenVector().

int testGenVector (  ) 

Definition at line 721 of file testGenVector.cxx.

References testPoint2D(), testPoint3D(), testRotations3D(), testTransform3D(), testVector2D(), testVector3D(), and testVectorUtil().

Referenced by main().

int testPoint2D (  ) 

Definition at line 302 of file testGenVector.cxx.

References compare(), ROOT::Math::PositionVector2D< CoordSystem, Tag >::Dot(), ROOT::Math::PositionVector2D< CoordSystem, Tag >::Mag2(), ROOT::Math::PositionVector2D< CoordSystem, Tag >::R(), ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::X(), and ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::Y().

Referenced by testGenVector().

int testPoint3D (  ) 

Definition at line 165 of file testGenVector.cxx.

References compare(), ROOT::Math::PositionVector3D< CoordSystem, Tag >::Cross(), ROOT::Math::PositionVector3D< CoordSystem, Tag >::Dot(), ROOT::Math::PositionVector3D< CoordSystem, Tag >::Mag2(), and ROOT::Math::PositionVector3D< CoordSystem, Tag >::R().

Referenced by mathcoreGenVector(), and testGenVector().

int testRotations3D (  ) 

Definition at line 375 of file testGenVector.cxx.

References a, compare(), ROOT::Math::Rotation3D::GetComponents(), ROOT::Math::Rotation3D::GetRotationMatrix(), i, ROOT::Math::Rotation3D::Inverse(), ROOT::Math::Rotation3D::Invert(), ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::R(), r1, r2, ROOT::Math::Rotation3D::SetRotationMatrix(), v1, ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::X(), ROOT::Math::PositionVector3D< CoordSystem, Tag >::X(), ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::Y(), ROOT::Math::PositionVector3D< CoordSystem, Tag >::Y(), ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::Z(), and ROOT::Math::PositionVector3D< CoordSystem, Tag >::Z().

Referenced by testGenVector().

int testTransform3D (  ) 

Definition at line 478 of file testGenVector.cxx.

References b, compare(), ROOT::Math::Transform3D::GetTransformMatrix(), ROOT::Math::Translation3D::Inverse(), IsEqual(), Rgl::lr, p1(), p2(), p3(), ROOT::Math::EulerAngles::Phi(), ROOT::Math::RotationZYX::Phi(), ROOT::Math::RotationZYX::Psi(), ROOT::Math::EulerAngles::Psi(), ROOT::Math::Transform3D::Rotation(), rrr(), ROOT::Math::LorentzRotation::SetRotationMatrix(), ROOT::Math::Transform3D::SetTransformMatrix(), ROOT::Math::EulerAngles::Theta(), ROOT::Math::RotationZYX::Theta(), ROOT::Math::Transform3D::Transform(), v1, ROOT::Math::Translation3D::Vect(), w, ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::X(), ROOT::Math::PositionVector3D< CoordSystem, Tag >::X(), ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::Y(), ROOT::Math::PositionVector3D< CoordSystem, Tag >::Y(), ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::Z(), and ROOT::Math::PositionVector3D< CoordSystem, Tag >::Z().

Referenced by testGenVector().

int testVector2D (  ) 

Definition at line 233 of file testGenVector.cxx.

References compare(), ROOT::Math::DisplacementVector2D< CoordSystem, Tag >::Dot(), ROOT::Math::DisplacementVector2D< CoordSystem, Tag >::Mag2(), ROOT::Math::DisplacementVector2D< CoordSystem, Tag >::Phi(), ROOT::Math::DisplacementVector2D< CoordSystem, Tag >::R(), ROOT::Math::DisplacementVector2D< CoordSystem, Tag >::Rotate(), ROOT::Math::DisplacementVector2D< CoordSystem, Tag >::X(), ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::X(), ROOT::Math::DisplacementVector2D< CoordSystem, Tag >::Y(), and ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::Y().

Referenced by testGenVector().

int testVector3D (  ) 

Definition at line 106 of file testGenVector.cxx.

References compare(), ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::Cross(), ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::Dot(), ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::Mag2(), and ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::R().

Referenced by mathcoreGenVector(), and testGenVector().

int testVectorUtil (  ) 

Definition at line 672 of file testGenVector.cxx.

References compare(), ROOT::Math::VectorUtil::Perp(), ROOT::Math::VectorUtil::Perp2(), ROOT::Math::VectorUtil::PerpVector(), ROOT::Math::VectorUtil::ProjVector(), sqrt(), u, vp, ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::X(), ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::Y(), and ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::Z().

Referenced by mathcoreGenVector(), and testGenVector().


Generated on Tue Jul 5 16:07:01 2011 for ROOT_528-00b_version by  doxygen 1.5.1