ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsGeometry
src
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
5
#include "
ITkMaterialDecoratorTool.h
"
6
#include "
ActsInterop/LoggerUtils.h
"
7
8
namespace
ActsTrk
{
9
ITkMaterialDecoratorTool::~ITkMaterialDecoratorTool
() =
default
;
10
void
ITkMaterialDecoratorTool::visitSurface
(Acts::Surface& surface) {
11
m_matDecorator
->decorate(surface);
12
}
13
StatusCode
ITkMaterialDecoratorTool::initialize
() {
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
}
20
StatusCode
ITkMaterialDecoratorTool::finalize
() {
21
m_matDecorator
.reset();
22
return
StatusCode::SUCCESS;
23
}
24
}
ITkMaterialDecoratorTool.h
LoggerUtils.h
ActsTrk::ITkMaterialDecoratorTool::finalize
virtual StatusCode finalize() override final
Definition
ITkMaterialDecoratorTool.cxx:20
ActsTrk::ITkMaterialDecoratorTool::~ITkMaterialDecoratorTool
virtual ~ITkMaterialDecoratorTool()
ActsTrk::ITkMaterialDecoratorTool::m_matDecorator
std::unique_ptr< ActsPlugins::RootMaterialDecorator > m_matDecorator
Definition
ITkMaterialDecoratorTool.h:25
ActsTrk::ITkMaterialDecoratorTool::m_materialMapFile
Gaudi::Property< std::string > m_materialMapFile
Definition
ITkMaterialDecoratorTool.h:24
ActsTrk::ITkMaterialDecoratorTool::initialize
virtual StatusCode initialize() override final
Definition
ITkMaterialDecoratorTool.cxx:13
ActsTrk::ITkMaterialDecoratorTool::visitSurface
virtual void visitSurface(Acts::Surface &surface) override final
Definition
ITkMaterialDecoratorTool.cxx:10
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
ActsTrk::actsLevelVector
Acts::Logging::Level actsLevelVector(MSG::Level lvl)
Definition
LoggerUtils.cxx:9
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0