ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkDetDescr
TrkDetDescrTools
TrkDetDescrTools
CompoundLayerMaterialCreator.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
// CompoundLayerMaterialCreator.h, (c) ATLAS Detector software
8
9
#ifndef TRKDETDESCRTOOLS_COMPOUNDLAYERMATERIALCREATOR_H
10
#define TRKDETDESCRTOOLS_COMPOUNDLAYERMATERIALCREATOR_H
11
12
// Trk
13
#include "
TrkDetDescrInterfaces/ILayerMaterialCreator.h
"
14
#include "
TrkGeometry/MaterialProperties.h
"
15
// Gaudi & Athena
16
#include "
AthenaBaseComps/AthAlgTool.h
"
17
#include "GaudiKernel/ToolHandle.h"
18
19
#ifndef TRKDETDESCTOOLS_MINMAX
20
#define TRKDETDESCTOOLS_MINMAX
21
#define minValue(current, test) current = test < current ? test : current
22
#define maxValue(current, test) current = test > current ? test : current
23
#define minMaxValue(currentMin, currentMax, test) minValue(currentMin,test); maxValue(currentMax,test);
24
#endif
25
26
27
namespace
Trk
{
28
29
class
LayerMaterialProperties;
30
class
LayerMaterialRecord;
31
class
BinUtility;
32
41
42
class
CompoundLayerMaterialCreator
:
public
AthAlgTool
,
virtual
public
ILayerMaterialCreator
{
43
44
public
:
46
CompoundLayerMaterialCreator
(
const
std::string&,
const
std::string&,
const
IInterface*);
47
49
LayerMaterialProperties
*
createLayerMaterial
(
const
LayerMaterialRecord
& lmr)
const
;
50
52
LayerMaterialProperties
*
convertLayerMaterial
(
const
LayerMaterialProperties
& lmr)
const
;
53
54
private
:
56
LayerMaterialProperties
*
createCompoundLayerMaterial
(
const
MaterialPropertiesMatrix
& lmm,
const
BinUtility
& lmbu)
const
;
57
58
Gaudi::Property<bool>
m_fullCompoundCalculation
{
this
,
"FullCompoundCalculation"
,
false
};
59
60
};
61
62
}
63
64
#endif
65
66
67
68
AthAlgTool.h
ILayerMaterialCreator.h
MaterialProperties.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
Trk::BinUtility
A generic symmetric BinUtility, for fully symmetric binning in terms of binning grid and binning type...
Definition
BinUtility.h:39
Trk::CompoundLayerMaterialCreator::CompoundLayerMaterialCreator
CompoundLayerMaterialCreator(const std::string &, const std::string &, const IInterface *)
Constructor.
Definition
CompoundLayerMaterialCreator.cxx:23
Trk::CompoundLayerMaterialCreator::createLayerMaterial
LayerMaterialProperties * createLayerMaterial(const LayerMaterialRecord &lmr) const
process the material properties
Definition
CompoundLayerMaterialCreator.cxx:33
Trk::CompoundLayerMaterialCreator::createCompoundLayerMaterial
LayerMaterialProperties * createCompoundLayerMaterial(const MaterialPropertiesMatrix &lmm, const BinUtility &lmbu) const
private method that can be called by both create/convertLayerMaterial
Definition
CompoundLayerMaterialCreator.cxx:93
Trk::CompoundLayerMaterialCreator::m_fullCompoundCalculation
Gaudi::Property< bool > m_fullCompoundCalculation
Definition
CompoundLayerMaterialCreator.h:58
Trk::CompoundLayerMaterialCreator::convertLayerMaterial
LayerMaterialProperties * convertLayerMaterial(const LayerMaterialProperties &lmr) const
create layer material properties from layer material properties - simply clones
Definition
CompoundLayerMaterialCreator.cxx:49
Trk::ILayerMaterialCreator
Interface class for LayerMaterialCreator AlgTools to create LayerMaterial properties with different s...
Definition
ILayerMaterialCreator.h:32
Trk::LayerMaterialProperties
This virtual base class encapsulates the logics to build pre/post/full update material for Layer stru...
Definition
LayerMaterialProperties.h:64
Trk::LayerMaterialRecord
Helper Class to record the material during the GeantinoNtupleMappingProcess.
Definition
LayerMaterialRecord.h:45
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::MaterialPropertiesMatrix
std::vector< std::vector< const MaterialProperties * > > MaterialPropertiesMatrix
Definition
ILayerMaterialAnalyser.h:25
Generated on
for ATLAS Offline Software by
1.17.0