ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkDetDescr
TrkDetDescrAlgs
src
MaterialManipulation.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// MaterialManipulation.h, (c) ATLAS Detector software
8
9
#ifndef TRKDETDESCRALGS_MATERIALMANIPULATION_H
10
#define TRKDETDESCRALGS_MATERIALMANIPULATION_H
11
12
// Gaudi includes
13
#include "
AthenaBaseComps/AthAlgorithm.h
"
14
#include "GaudiKernel/IRndmGenSvc.h"
15
#include "GaudiKernel/RndmGenerators.h"
16
#include "GaudiKernel/ToolHandle.h"
17
//Eigen
18
#include "
GeoPrimitives/GeoPrimitives.h
"
19
20
#include "
TrkDetDescrInterfaces/ILayerMaterialManipulator.h
"
21
22
23
namespace
Trk
{
24
25
class
LayerMaterialMap
;
26
27
35
36
37
class
MaterialManipulation
:
public
AthAlgorithm
{
38
39
public
:
40
42
using
AthAlgorithm::AthAlgorithm
;
43
45
virtual
StatusCode
initialize
()
override
;
46
48
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
49
51
virtual
StatusCode
finalize
()
override
;
52
53
private
:
54
56
Gaudi::Property<std::string>
m_inputLayerMaterialMapName
57
{
this
,
"LayerMaterialMapNameInput"
,
"/GLOBAL/TrackingGeo/Input"
};
58
const
LayerMaterialMap
*
m_inputLayerMaterialMap
=
nullptr
;
59
61
Gaudi::Property<std::string>
m_outputLayerMaterialMapName
62
{
this
,
"LayerMaterialMapNameOutput"
,
"/GLOBAL/TrackingGeo/Output"
};
63
64
ToolHandle<ILayerMaterialManipulator>
m_layerMaterialManipulator
65
{
this
,
"LayerMaterialManipulator"
,
""
};
66
67
};
68
}
69
70
#endif
AthAlgorithm.h
GeoPrimitives.h
ILayerMaterialManipulator.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
Trk::LayerMaterialMap
This class extends the DataVector<Trk::LayerMaterialProperties> by an elementTable;.
Definition
LayerMaterialMap.h:32
Trk::MaterialManipulation
A simple algorithm that reads in the material maps and writes out a new file, allowing to manipulate ...
Definition
MaterialManipulation.h:37
Trk::MaterialManipulation::m_outputLayerMaterialMapName
Gaudi::Property< std::string > m_outputLayerMaterialMapName
Definition
MaterialManipulation.h:62
Trk::MaterialManipulation::m_inputLayerMaterialMapName
Gaudi::Property< std::string > m_inputLayerMaterialMapName
< input material properties
Definition
MaterialManipulation.h:57
Trk::MaterialManipulation::finalize
virtual StatusCode finalize() override
standard Athena-Algorithm method
Definition
MaterialManipulation.cxx:83
Trk::MaterialManipulation::m_layerMaterialManipulator
ToolHandle< ILayerMaterialManipulator > m_layerMaterialManipulator
Definition
MaterialManipulation.h:65
Trk::MaterialManipulation::m_inputLayerMaterialMap
const LayerMaterialMap * m_inputLayerMaterialMap
output material properties
Definition
MaterialManipulation.h:58
Trk::MaterialManipulation::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition
AthAlgorithm.cxx:10
Trk::MaterialManipulation::execute
virtual StatusCode execute(const EventContext &ctx) override
standard Athena-Algorithm method
Definition
MaterialManipulation.cxx:31
Trk::MaterialManipulation::initialize
virtual StatusCode initialize() override
standard Athena-Algorithm method
Definition
MaterialManipulation.cxx:19
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0