9 #include <boost/test/unit_test.hpp>
30 using namespace Acts::UnitLiterals;
33 auto matProxy = std::make_shared<const ProtoSurfaceMaterial>(zbinned);
40 auto surfaceArrayCreator = std::make_shared<const SurfaceArrayCreator>(
45 auto layerCreator = std::make_shared<const LayerCreator>(
49 auto layerArrayCreator = std::make_shared<const LayerArrayCreator>(
54 auto tVolumeArrayCreator = std::make_shared<const TrackingVolumeArrayCreator>(
59 cvhConfig.trackingVolumeArrayCreator = tVolumeArrayCreator;
60 auto cylinderVolumeHelper = std::make_shared<const CylinderVolumeHelper>(
65 layerBuilderConfig.centralLayerRadii = {10., 20., 30.};
66 layerBuilderConfig.centralLayerHalflengthZ = {40., 40., 40.};
67 layerBuilderConfig.centralLayerThickness = {1., 1., 1.};
68 layerBuilderConfig.centralLayerMaterial = {matProxy, matProxy, matProxy};
69 auto layerBuilder = std::make_shared<const PassiveLayerBuilder>(
75 cvbConfig.volumeName =
"BeamPipe";
76 cvbConfig.layerBuilder = layerBuilder;
77 cvbConfig.layerEnvelopeR = {1
_mm, 1
_mm};
78 cvbConfig.buildToRadiusZero =
true;
79 cvbConfig.volumeSignature = 0;
80 auto centralVolumeBuilder = std::make_shared<const CylinderVolumeBuilder>(
84 auto centralVolumeBounds =
85 std::make_shared<const CylinderVolumeBounds>(0., 40., 110.);
89 centralVolumeBuilder->trackingVolume(gCtx,
nullptr, centralVolumeBounds);
91 return std::make_shared<const TrackingGeometry>(centralVolume);
104 std::move(stepper), std::move(navigator));
115 auto mState = smMapper.
createState(gCtx, mfCtx, *tGeometry);
118 BOOST_CHECK_EQUAL(mState.accumulatedMaterial.size(), 3
u);