ATLAS Offline Software
Loading...
Searching...
No Matches
ITkMaterialDecoratorTool.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
7
8namespace ActsTrk {
10 void ITkMaterialDecoratorTool::visitSurface(Acts::Surface& surface) {
11 m_matDecorator->decorate(surface);
12 }
14 ActsPlugins::RootMaterialDecorator::Config decoratorConfig{};
15 decoratorConfig.fileName = m_materialMapFile;
16 m_matDecorator = std::make_unique<ActsPlugins::RootMaterialDecorator>(decoratorConfig,
17 ActsTrk::actsLevelVector(msg().level()));
18 return StatusCode::SUCCESS;
19 }
21 m_matDecorator.reset();
22 return StatusCode::SUCCESS;
23 }
24}
virtual StatusCode finalize() override final
std::unique_ptr< ActsPlugins::RootMaterialDecorator > m_matDecorator
Gaudi::Property< std::string > m_materialMapFile
virtual StatusCode initialize() override final
virtual void visitSurface(Acts::Surface &surface) override final
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Acts::Logging::Level actsLevelVector(MSG::Level lvl)
MsgStream & msg
Definition testRead.cxx:32