coordinates3D.cxx File Reference

#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/Cylindrical3D.h"
#include "Math/GenVector/etaMax.h"
#include "Math/Vector3Dfwd.h"
#include "CoordinateTraits.h"
#include <iostream>
#include <limits>
#include <cmath>
#include <vector>

Go to the source code of this file.

Classes

struct  Precision< T1, T2 >
struct  LessPreciseType< T1, T2, >
struct  LessPreciseType< T1, T2, false >

Defines

#define DEBUG

Functions

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)
template<class C>
int test3D (const DisplacementVector3D< C > &v, double ticks)
int coordinates3D ()
int main ()


Define Documentation

#define DEBUG

Definition at line 31 of file coordinates3D.cxx.


Function Documentation

template<typename Scalar1, typename Scalar2>
int closeEnough ( Scalar1  s1,
Scalar2  s2,
std::string const &  coord,
double  ticks 
)

Definition at line 55 of file coordinates3D.cxx.

References RootCsg::epsilon, pr(), and type.

Referenced by compare3D(), compare4D(), doTestL(), and testApplication().

template<class V1, class V2>
int compare3D ( const V1 v1,
const V2 v2,
double  ticks 
)

Definition at line 100 of file coordinates3D.cxx.

References closeEnough(), name, and ROOT::Math::Pi().

Referenced by test3D(), and testApplication().

int coordinates3D (  ) 

Definition at line 269 of file coordinates3D.cxx.

References E, and test3D().

Referenced by main().

int main ( void   ) 

Definition at line 319 of file coordinates3D.cxx.

References coordinates3D().

template<class C>
int test3D ( const DisplacementVector3D< C > &  v,
double  ticks 
)

Definition at line 144 of file coordinates3D.cxx.

References atan2(), compare3D(), log(), phi, sqrt(), tan(), and theta.

Referenced by coordinates3D().


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