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/ActionList.hpp"
36 #include "Acts/Propagator/Navigator.hpp"
37 #include "Acts/Propagator/Propagator.hpp"
38 #include "Acts/Propagator/StandardAborters.hpp"
39 #include "Acts/Propagator/StraightLineStepper.hpp"
42 ISvcLocator *pSvcLocator)
44 m_materialTrackWriterSvc(
"ActsMaterialTrackWriterSvc",
name),
45 m_mappingState(m_gctx,m_mctx),
46 m_mappingStateVol(m_gctx,m_mctx)
54 return StatusCode::FAILURE;
69 return StatusCode::SUCCESS;
74 const EventContext& ctx = Gaudi::Hive::currentContext();
77 if (materialStepCollection.
isValid() and not materialStepCollection->
empty()) {
81 auto context =
m_surfaceMappingTool->trackingGeometryTool()->getNominalGeometryContext().context();
82 std::reference_wrapper<const Acts::GeometryContext> geoContext(context);
87 auto context =
m_volumeMappingTool->trackingGeometryTool()->getNominalGeometryContext().context();
88 std::reference_wrapper<const Acts::GeometryContext> geoContext(context);
94 return StatusCode::SUCCESS;
107 detectorMaterial.first.insert({
key, std::move(
value)});
111 detectorMaterial.second.insert({
key, std::move(
value)});
119 detectorMaterial.first.insert({
key, std::move(
value)});
123 detectorMaterial.second.insert({
key, std::move(
value)});
130 detectorMaterial.first.insert({
key, std::move(
value)});
134 detectorMaterial.second.insert({
key, std::move(
value)});
142 return StatusCode::SUCCESS;