9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/unit_test.hpp>
33 #include "TGeoManager.h"
35 using namespace Acts::UnitLiterals;
45 TGeoManager::Import(
path.c_str());
59 b0Config.sensorNames = {
"PixelActiveo2",
"PixelActiveo4",
"PixelActiveo5",
61 b0Config.localAxes =
"XYZ";
62 b0Config.parseRanges = {{
binR, {0., 40_mm}}, {
binZ, {-60_mm, 15_mm}}};
63 b0Config.envelope = {0_mm, 0_mm};
66 eAllConfig.volumeName =
"*";
67 eAllConfig.sensorNames = {
"PixelActiveo2",
"PixelActiveo4",
"PixelActiveo5",
69 eAllConfig.localAxes =
"XYZ";
70 eAllConfig.parseRanges = {{
binR, {0., 40_mm}}, {
binZ, {16_mm, 60_mm}}};
71 eAllConfig.splitConfigs = {{
binZ, 5_mm}};
72 eAllConfig.envelope = {0_mm, 0_mm};
74 std::vector<TglConfig> cConfigs = {b0Config};
75 std::vector<TglConfig> pConfigs = {eAllConfig};
82 auto surfaceArrayCreator = std::make_shared<const SurfaceArrayCreator>(
87 auto layerCreator = std::make_shared<const LayerCreator>(
92 auto protoLayerHelper = std::make_shared<const ProtoLayerHelper>(
102 BOOST_CHECK_EQUAL(centralLayers.size(), 1
u);
108 BOOST_CHECK_EQUAL(positiveLayers.size(), 2
u);
110 for (
const auto& pLayer : positiveLayers) {
111 auto sArray = pLayer->surfaceArray();
112 if (sArray !=
nullptr) {
113 for (
auto&
surface : sArray->surfaces()) {