![]() |
Project
|
#include <boost/test/unit_test.hpp>
#include <boost/test/data/test_case.hpp>
#include <fstream>
#include <iostream>
#include "MathUtils/Cartesian.h"
#include "TGeoManager.h"
#include "MIDSimulation/Geometry.h"
#include "MIDBase/GeometryTransformer.h"
Go to the source code of this file.
Classes | |
struct | LocalPoint |
Macros | |
#define | BOOST_TEST_MODULE Test MID simulation |
#define | BOOST_TEST_DYN_LINK |
Functions | |
void | createStandaloneGeometry (const char *name) |
std::vector< LocalPoint > | getPositions (int npoints) |
bool | areEqual (double a, double b) |
bool | areEqual (const o2::math_utils::Point3D< double > &p1, const o2::math_utils::Point3D< double > &p2) |
int | testOnePosition (const LocalPoint &localPt, const o2::mid::GeometryTransformer &geoTrans, const o2::mid::GeometryTransformer &geoTransFromManager) |
BOOST_AUTO_TEST_CASE (TestTransformations) | |
#define BOOST_TEST_DYN_LINK |
Definition at line 16 of file testGeometry.cxx.
#define BOOST_TEST_MODULE Test MID simulation |
Definition at line 15 of file testGeometry.cxx.
bool areEqual | ( | const o2::math_utils::Point3D< double > & | p1, |
const o2::math_utils::Point3D< double > & | p2 | ||
) |
Definition at line 76 of file testGeometry.cxx.
bool areEqual | ( | double | a, |
double | b | ||
) |
Definition at line 71 of file testGeometry.cxx.
BOOST_AUTO_TEST_CASE | ( | TestTransformations | ) |
Definition at line 102 of file testGeometry.cxx.
Create standalone geometry for geometry transformation tests
Definition at line 33 of file testGeometry.cxx.
std::vector< LocalPoint > getPositions | ( | int | npoints | ) |
Definition at line 55 of file testGeometry.cxx.
int testOnePosition | ( | const LocalPoint & | localPt, |
const o2::mid::GeometryTransformer & | geoTrans, | ||
const o2::mid::GeometryTransformer & | geoTransFromManager | ||
) |
Definition at line 90 of file testGeometry.cxx.