9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/unit_test.hpp>
21 #include "TGeoManager.h"
31 TGeoManager::Import(path.c_str());
45 b0Config.sensorNames = {
"PixelActiveo2",
"PixelActiveo4",
"PixelActiveo5",
47 b0Config.localAxes =
"XYZ";
48 b0Config.parseRanges = {{
binR, {0., 40_mm}}, {
binZ, {-60_mm, 15_mm}}};
49 b0Config.envelope = {0_mm, 0_mm};
52 eAllConfig.volumeName =
"*";
53 eAllConfig.sensorNames = {
"PixelActiveo2",
"PixelActiveo4",
"PixelActiveo5",
55 eAllConfig.localAxes =
"XYZ";
56 eAllConfig.parseRanges = {{
binR, {0., 40_mm}}, {
binZ, {16_mm, 60_mm}}};
57 eAllConfig.splitConfigs = {{
binZ, 5_mm}};
58 eAllConfig.envelope = {0_mm, 0_mm};
60 std::vector<TglConfig> cConfigs = {b0Config};
61 std::vector<TglConfig> pConfigs = {eAllConfig};
68 auto surfaceArrayCreator = std::make_shared<const SurfaceArrayCreator>(
73 auto layerCreator = std::make_shared<const LayerCreator>(
78 auto protoLayerHelper = std::make_shared<const ProtoLayerHelper>(
88 BOOST_CHECK_EQUAL(centralLayers.size(), 1
u);
94 BOOST_CHECK_EQUAL(positiveLayers.size(), 2
u);
96 for (
const auto& pLayer : positiveLayers) {
97 auto sArray = pLayer->surfaceArray();
99 for (
auto&
surface : sArray->surfaces()) {