ATLAS Offline Software
Loading...
Searching...
No Matches
MuonMaterialDecoratorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef ACTSMUONDETECTOR_MuonMaterialDecoratorTool_H
5#define ACTSMUONDETECTOR_MuonMaterialDecoratorTool_H
6
8//
11
12#include "Acts/Surfaces/Surface.hpp"
13#include "Acts/Geometry/TrackingVolume.hpp"
14#include "ActsPlugins/Root/RootMaterialDecorator.hpp"
15
16namespace MuonGMR4{
20
21 class MuonMaterialDecoratorTool : public extends<AthAlgTool, ActsTrk::IRefineTrackingGeoTool> {
22 public:
23 using base_class::base_class;
25 virtual void visitSurface(Acts::Surface& surface) override final;
26 virtual StatusCode initialize() override final;
27 virtual StatusCode finalize() override final;
28
29 private:
30 Gaudi::Property<std::string> m_materialMapFile{this, "MuonMaterialDbFile", "", ""};
31 std::unique_ptr<ActsPlugins::RootMaterialDecorator> m_matDecorator{};
32 };
33
34}
35#endif
Mutable tracking geometry visitor to load the material on the tracking surfaces inside the Muon Syste...
virtual void visitSurface(Acts::Surface &surface) override final
virtual StatusCode initialize() override final
std::unique_ptr< ActsPlugins::RootMaterialDecorator > m_matDecorator
virtual StatusCode finalize() override final
Gaudi::Property< std::string > m_materialMapFile
Support class for PropertyMgr.
Definition Property.h:23
=============================================================================
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
STL namespace.
#define private