ATLAS Offline Software
Loading...
Searching...
No Matches
LayerMaterialConverter.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6// LayerMaterialConverter.cxx, (c) ATLAS Detector software
8
9// Trk include
11
12// constructor
13Trk::LayerMaterialConverter::LayerMaterialConverter(const std::string& t, const std::string& n, const IInterface* p) : AthAlgTool(t,n,p)
14{
15 declareInterface<Trk::ILayerMaterialManipulator>(this);
16}
17
18
19// the AthAlgTool interface methods
21{
22 if (m_layerMaterialCreator.retrieve().isFailure()){
23 ATH_MSG_FATAL("Could not retrieve material creator - the converter is useless. Abort.");
24 return StatusCode::FAILURE;
25 }
26 return StatusCode::SUCCESS;
27}
28
29
30
#define ATH_MSG_FATAL(x)
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
LayerIndex for the identification of layers in a simplified detector geometry of Cylinders and Discs.
Definition LayerIndex.h:37
const LayerMaterialProperties * processLayerMaterial(const LayerIndex &layIndex, const LayerMaterialProperties &lmp) const
process the layer material - after material creation and before loading
ToolHandle< ILayerMaterialCreator > m_layerMaterialCreator
LayerMaterialConverter(const std::string &, const std::string &, const IInterface *)
Constructor.
StatusCode initialize()
AlgTool initialize method.
This virtual base class encapsulates the logics to build pre/post/full update material for Layer stru...