coordinates4D.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/etaMax.h"
#include "Math/GenVector/PxPyPzE4D.h"
#include "Math/GenVector/PxPyPzM4D.h"
#include "Math/GenVector/PtEtaPhiE4D.h"
#include "Math/GenVector/PtEtaPhiM4D.h"
#include "Math/GenVector/LorentzVector.h"
#include "Math/Vector4Dfwd.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 compare4D (const V1 &v1, const V2 &v2, double ticks)
template<class C>
int test4D (const LorentzVector< C > &v, double ticks)
int coordinates4D (bool testAll=false)
int main ()


Define Documentation

#define DEBUG

Definition at line 35 of file coordinates4D.cxx.


Function Documentation

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

Definition at line 58 of file coordinates4D.cxx.

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

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

Definition at line 104 of file coordinates4D.cxx.

References closeEnough(), and name.

Referenced by test4D().

int coordinates4D ( bool  testAll = false  ) 

Definition at line 223 of file coordinates4D.cxx.

References E, RootCsg::epsilon, sqrt(), test4D(), and testAll().

Referenced by main().

int main ( void   ) 

Definition at line 252 of file coordinates4D.cxx.

References coordinates4D().

template<class C>
int test4D ( const LorentzVector< C > &  v,
double  ticks 
)

Definition at line 144 of file coordinates4D.cxx.

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

Referenced by coordinates4D().


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