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

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

◆ DEPS

#define DEPS   1.0e-14

Definition at line 24 of file testLorentzVector.cc.

Referenced by main().

◆ FEPS

#define FEPS   1.0e-6

Definition at line 25 of file testLorentzVector.cc.

Referenced by main().

Function Documentation

◆ approx()

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

Definition at line 27 of file testLorentzVector.cc.

References a, and b.

Referenced by main(), test(), and test().

◆ conversion_test() [1/2]

◆ conversion_test() [2/2]

◆ main()

◆ test() [1/2]

◆ test() [2/2]