![]() |
Project
|
#include <boost/test/unit_test.hpp>#include "MCHGeometryCreator/Geometry.h"#include "MCHGeometryTest/Helpers.h"#include "MCHGeometryTransformer/Transformations.h"#include "TGeoManager.h"#include "boost/format.hpp"#include <boost/test/data/test_case.hpp>#include <fstream>#include <iomanip>#include <iostream>#include <fmt/format.h>#include <random>Go to the source code of this file.
Macros | |
| #define | BOOST_TEST_MODULE Test MCHSimulation GeometryTransformer |
| #define | BOOST_TEST_DYN_LINK |
Functions | |
| o2::mch::geo::TransformationCreator | transformation (int i) |
| void | dumpMat (gsl::span< double > m) |
| std::string | asString (const CoarseLocation &q) |
| bool | operator== (const CoarseLocation &a, const CoarseLocation &b) |
| CoarseLocation | getDetElemCoarseLocation (int detElemId, o2::mch::geo::TransformationCreator transformation) |
| void | setExpectation (int firstDeId, int lastDeId, CoarseLocation q, std::map< int, CoarseLocation > &expected) |
| for (int i=0;i< 4;i++) | |
| for (auto detElemId :o2::mch::geo::allDeIds) | |
| BOOST_AUTO_TEST_CASE (Angle2Matrix2Angle) | |
Variables | |
| constexpr int | ntrans {2} |
| constexpr double | rad2deg = 180.0 / 3.14159265358979323846 |
| constexpr double | deg2rad = 3.14159265358979323846 / 180.0 |
| constexpr CoarseLocation | topRight {true, true} |
| constexpr CoarseLocation | topLeft {false, true} |
| constexpr CoarseLocation | bottomRight {true, false} |
| constexpr CoarseLocation | bottomLeft {false, false} |
| #define BOOST_TEST_DYN_LINK |
Definition at line 16 of file testGeometryTransformer.cxx.
| #define BOOST_TEST_MODULE Test MCHSimulation GeometryTransformer |
Definition at line 15 of file testGeometryTransformer.cxx.
| std::string asString | ( | const CoarseLocation & | q | ) |
Definition at line 99 of file testGeometryTransformer.cxx.
| BOOST_AUTO_TEST_CASE | ( | Angle2Matrix2Angle | ) |
Definition at line 199 of file testGeometryTransformer.cxx.
| void dumpMat | ( | gsl::span< double > | m | ) |
Definition at line 62 of file testGeometryTransformer.cxx.
| for | ( | auto detElemId :o2::mch::geo::allDeIds | ) |
Definition at line 189 of file testGeometryTransformer.cxx.
| for | ( | ) |
Definition at line 167 of file testGeometryTransformer.cxx.
| CoarseLocation getDetElemCoarseLocation | ( | int | detElemId, |
| o2::mch::geo::TransformationCreator | transformation | ||
| ) |
Definition at line 111 of file testGeometryTransformer.cxx.
| bool operator== | ( | const CoarseLocation & | a, |
| const CoarseLocation & | b | ||
| ) |
Definition at line 106 of file testGeometryTransformer.cxx.
| void setExpectation | ( | int | firstDeId, |
| int | lastDeId, | ||
| CoarseLocation | q, | ||
| std::map< int, CoarseLocation > & | expected | ||
| ) |
Definition at line 156 of file testGeometryTransformer.cxx.
| o2::mch::geo::TransformationCreator transformation | ( | int | i | ) |
Definition at line 38 of file testGeometryTransformer.cxx.
Definition at line 97 of file testGeometryTransformer.cxx.
Definition at line 96 of file testGeometryTransformer.cxx.
|
constexpr |
Definition at line 60 of file testGeometryTransformer.cxx.
|
constexpr |
Definition at line 36 of file testGeometryTransformer.cxx.
|
constexpr |
Definition at line 59 of file testGeometryTransformer.cxx.
Definition at line 95 of file testGeometryTransformer.cxx.
Definition at line 94 of file testGeometryTransformer.cxx.