8 #include "Acts/Surfaces/PerigeeSurface.hpp"
9 #include "Acts/Utilities/Logger.hpp"
11 #include "GaudiKernel/EventContext.h"
12 #include "GaudiKernel/ISvcLocator.h"
15 #include "Acts/Propagator/detail/SteppingLogger.hpp"
16 #include "Acts/Utilities/Helpers.hpp"
17 #include "Acts/Definitions/Units.hpp"
34 #include "Acts/EventData/TrackParameters.hpp"
35 #include "Acts/Propagator/Navigator.hpp"
36 #include "Acts/Propagator/Propagator.hpp"
37 #include "Acts/Propagator/StandardAborters.hpp"
38 #include "Acts/Propagator/StraightLineStepper.hpp"
41 ISvcLocator *pSvcLocator)
43 m_materialTrackWriterSvc(
"ActsMaterialTrackWriterSvc",
name),
44 m_mappingState(m_gctx,m_mctx),
45 m_mappingStateVol(m_gctx,m_mctx)
53 return StatusCode::FAILURE;
68 return StatusCode::SUCCESS;
73 const EventContext& ctx = Gaudi::Hive::currentContext();
76 if (materialStepCollection.
isValid() and not materialStepCollection->
empty()) {
80 auto context =
m_surfaceMappingTool->trackingGeometryTool()->getNominalGeometryContext().context();
81 std::reference_wrapper<const Acts::GeometryContext> geoContext(context);
86 auto context =
m_volumeMappingTool->trackingGeometryTool()->getNominalGeometryContext().context();
87 std::reference_wrapper<const Acts::GeometryContext> geoContext(context);
93 return StatusCode::SUCCESS;
106 detectorMaterial.first.insert({
key, std::move(
value)});
110 detectorMaterial.second.insert({
key, std::move(
value)});
118 detectorMaterial.first.insert({
key, std::move(
value)});
122 detectorMaterial.second.insert({
key, std::move(
value)});
129 detectorMaterial.first.insert({
key, std::move(
value)});
133 detectorMaterial.second.insert({
key, std::move(
value)});
141 return StatusCode::SUCCESS;