|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ACTSMATERIALMAPPING_H
6 #define ACTSMATERIALMAPPING_H
10 #include "GaudiKernel/ToolHandle.h"
11 #include "GaudiKernel/ServiceHandle.h"
12 #include "Gaudi/Property.h"
13 #include "GaudiKernel/ISvcLocator.h"
18 #include "Acts/EventData/TrackParameters.hpp"
19 #include "Acts/Geometry/GeometryIdentifier.hpp"
20 #include "Acts/Utilities/Helpers.hpp"
21 #include "Acts/Material/SurfaceMaterialMapper.hpp"
22 #include "Acts/Material/VolumeMaterialMapper.hpp"
33 class ISurfaceMaterial;
34 class IVolumeMaterial;
37 = std::map<GeometryIdentifier, std::shared_ptr<const ISurfaceMaterial>>;
40 = std::map<GeometryIdentifier, std::shared_ptr<const IVolumeMaterial>>;
61 Gaudi::Property<bool>
m_mapSurfaces{
this,
"mapSurfaces",
true,
"Map the material onto surfaces"};
62 Gaudi::Property<bool>
m_mapVolumes{
this,
"mapVolumes",
true,
"Map the material onto volumes"};
65 ToolHandle<IActsSurfaceMappingTool>
m_surfaceMappingTool{
this,
"SurfaceMappingTool",
"ActsSurfaceMappingTool"};
66 ToolHandle<IActsVolumeMappingTool>
m_volumeMappingTool{
this,
"VolumeMappingTool",
"ActsVolumeMappingTool"};
67 ToolHandle<IActsMaterialJsonWriterTool>
m_materialJsonWriterTool{
this,
"MaterialJsonWriterTool",
"ActsMaterialJsonWriterTool"};
75 #endif // ActsGeometry_ActsExtrapolation_h
Property holding a SG store/key/clid from which a ReadHandle is made.
Acts::GeometryContext m_gctx
ToolHandle< IActsMaterialStepConverterTool > m_materialStepConverterTool
virtual StatusCode finalize() override
ToolHandle< IActsMaterialJsonWriterTool > m_materialJsonWriterTool
ToolHandle< IActsVolumeMappingTool > m_volumeMappingTool
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode initialize() override
std::map< GeometryIdentifier, std::shared_ptr< const IVolumeMaterial > > VolumeMaterialMap
std::pair< SurfaceMaterialMap, VolumeMaterialMap > DetectorMaterialMaps
Acts::MagneticFieldContext m_mctx
ActsMaterialMapping(const std::string &name, ISvcLocator *pSvcLocator)
::StatusCode StatusCode
StatusCode definition for legacy code.
CalibratedSpacePoint::State State
Gaudi::Property< bool > m_mapVolumes
ToolHandle< IActsSurfaceMappingTool > m_surfaceMappingTool
Acts::SurfaceMaterialMapper::State m_mappingState
SG::ReadHandleKey< Trk::MaterialStepCollection > m_inputMaterialStepCollection
Gaudi::Property< bool > m_mapSurfaces
Acts::VolumeMaterialMapper::State m_mappingStateVol
ServiceHandle< IActsMaterialTrackWriterSvc > m_materialTrackWriterSvc
virtual StatusCode execute() override
std::map< GeometryIdentifier, std::shared_ptr< const ISurfaceMaterial > > SurfaceMaterialMap