9 #include <boost/test/unit_test.hpp>
41 using namespace Acts::UnitLiterals;
44 auto matProxy = std::make_shared<const ProtoSurfaceMaterial>(zbinned);
51 auto surfaceArrayCreator = std::make_shared<const SurfaceArrayCreator>(
56 auto layerCreator = std::make_shared<const LayerCreator>(
60 auto layerArrayCreator = std::make_shared<const LayerArrayCreator>(
65 auto tVolumeArrayCreator = std::make_shared<const TrackingVolumeArrayCreator>(
70 cvhConfig.trackingVolumeArrayCreator = tVolumeArrayCreator;
71 auto cylinderVolumeHelper = std::make_shared<const CylinderVolumeHelper>(
76 layerBuilderConfig.centralLayerRadii = {10., 20., 30.};
77 layerBuilderConfig.centralLayerHalflengthZ = {40., 40., 40.};
78 layerBuilderConfig.centralLayerThickness = {1., 1., 1.};
79 layerBuilderConfig.centralLayerMaterial = {matProxy, matProxy, matProxy};
80 auto layerBuilder = std::make_shared<const PassiveLayerBuilder>(
86 cvbConfig.volumeName =
"BeamPipe";
87 cvbConfig.layerBuilder = layerBuilder;
88 cvbConfig.layerEnvelopeR = {1_mm, 1_mm};
89 cvbConfig.buildToRadiusZero =
true;
90 cvbConfig.volumeSignature = 0;
91 auto centralVolumeBuilder = std::make_shared<const CylinderVolumeBuilder>(
95 auto centralVolumeBounds =
96 std::make_shared<const CylinderVolumeBounds>(0., 40., 110.);
100 centralVolumeBuilder->trackingVolume(gCtx,
nullptr, centralVolumeBounds);
102 return std::make_shared<const TrackingGeometry>(centralVolume);
126 auto mState = smMapper.
createState(gCtx, mfCtx, *tGeometry);
129 BOOST_CHECK_EQUAL(mState.accumulatedMaterial.size(), 3
u);