#include <boost/test/unit_test.hpp>
#include "MCHGeometryCreator/Geometry.h"
#include "MCHGeometryTest/Helpers.h"
#include "MCHGeometryMisAligner/MisAligner.h"
#include "MCHGeometryTransformer/Transformations.h"
#include "TGeoManager.h"
#include "CommonConstants/MathConstants.h"
#include "MathUtils/Cartesian.h"
#include "Math/GenVector/Cartesian3D.h"
#include "boost/format.hpp"
#include <boost/test/data/test_case.hpp>
#include <iomanip>
#include <iostream>
#include <fmt/format.h>
Go to the source code of this file.
|
aGMA | misAlign (params) |
|
| for (int i=0;i< nvols;i++) |
|
aGMA | setModuleCartMisAlig (0.1, 0.0, 0.2, 0.0, 0.3, 0.0) |
|
aGMA | setModuleAngMisAlig (0.0, 0.0, 0.0, 0.0, 0.0, 0.0) |
|
tB100 | LocalToMaster (o2::math_utils::Point3D< double >{0, 0, 0}, poB) |
|
t100 | LocalToMaster (o2::math_utils::Point3D< double >{0, 0, 0}, po) |
|
| BOOST_TEST (po.X() - poB.X()==0.1) |
|
| BOOST_TEST (po.Y() - poB.Y()==0.2) |
|
| BOOST_TEST (po.Z() - poB.Z()==0.3) |
|
aGMA | setCartMisAlig (0.01, 0.0, 0.02, 0.0, 0.03, 0.0) |
|
aGMA | setAngMisAlig (0.0, 0.0, 0.0, 0.0, 0.0, 0.0) |
|
◆ BOOST_TEST_DYN_LINK
#define BOOST_TEST_DYN_LINK |
◆ BOOST_TEST_MODULE
#define BOOST_TEST_MODULE Test MCHSimulation GeometryMisAligner |
◆ BOOST_TEST() [1/3]
BOOST_TEST |
( |
po. |
X) - poB.X( = =0.1 | ) |
|
◆ BOOST_TEST() [2/3]
BOOST_TEST |
( |
po. |
Y) - poB.Y( = =0.2 | ) |
|
◆ BOOST_TEST() [3/3]
BOOST_TEST |
( |
po. |
Z) - poB.Z( = =0.3 | ) |
|
◆ for()
◆ LocalToMaster() [1/2]
◆ LocalToMaster() [2/2]
◆ misAlign()
◆ setAngMisAlig()
aGMA setAngMisAlig |
( |
0. |
0, |
|
|
0. |
0, |
|
|
0. |
0, |
|
|
0. |
0, |
|
|
0. |
0, |
|
|
0. |
0 |
|
) |
| |
◆ setCartMisAlig()
aGMA setCartMisAlig |
( |
0. |
01, |
|
|
0. |
0, |
|
|
0. |
02, |
|
|
0. |
0, |
|
|
0. |
03, |
|
|
0. |
0 |
|
) |
| |
◆ setModuleAngMisAlig()
aGMA setModuleAngMisAlig |
( |
0. |
0, |
|
|
0. |
0, |
|
|
0. |
0, |
|
|
0. |
0, |
|
|
0. |
0, |
|
|
0. |
0 |
|
) |
| |
◆ setModuleCartMisAlig()
aGMA setModuleCartMisAlig |
( |
0. |
1, |
|
|
0. |
0, |
|
|
0. |
2, |
|
|
0. |
0, |
|
|
0. |
3, |
|
|
0. |
0 |
|
) |
| |
◆ aGMA
◆ nvols
◆ params
◆ po
◆ poB
◆ t100
◆ t1000
◆ tB100
◆ tB1000
◆ transformation
◆ transformationB