CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Macros | Functions
testLorentzVector.cc File Reference
#include "CLHEP/Units/GlobalSystemOfUnits.h"
#include "CLHEP/Vector/defs.h"
#include "CLHEP/Vector/LorentzVector.h"
#include "CLHEP/Vector/LorentzRotation.h"
#include "CLHEP/Vector/Sqr.h"
#include <iostream>
#include <cmath>
#include <stdlib.h>
#include <assert.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 HepLorentzVector &p, double x, double y, double z, double e, double eps)
 
void conversion_test (Hep3Vector &v3, HepLorentzVector &v4)
 
void conversion_test (const Hep3Vector &v3, const HepLorentzVector &v4)
 
bool test (const HepLorentzVector &p, const HepLorentzVector &q, double eps)
 
int main ()
 

Macro Definition Documentation

#define DEPS   1.0e-14

Definition at line 24 of file testLorentzVector.cc.

Referenced by main().

#define FEPS   1.0e-6

Definition at line 25 of file testLorentzVector.cc.

Referenced by main().

Function Documentation

bool approx ( double  a,
double  b,
double  eps 
)

Definition at line 27 of file testLorentzVector.cc.

Referenced by main(), and test().

void conversion_test ( Hep3Vector v3,
HepLorentzVector v4 
)
void conversion_test ( const Hep3Vector v3,
const HepLorentzVector v4 
)
int main ( )
bool test ( const HepLorentzVector p,
double  x,
double  y,
double  z,
double  e,
double  eps 
)
bool test ( const HepLorentzVector p,
const HepLorentzVector q,
double  eps 
)