ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkDetDescr
TrkDetDescrTPCnv
src
LayerMaterialMapCnv_tlp1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// LayerMaterialMapCnv_tlp1.cxx, (c) ATLAS Detector software
8
9
#include "
TrkDetDescrTPCnv/LayerMaterialMapCnv_tlp1.h
"
10
11
LayerMaterialMapCnv_tlp1::LayerMaterialMapCnv_tlp1
()
12
{
13
14
addMainTPConverter
();
15
16
addTPConverter
( &
m_materialPropertiesCnv
);
17
addTPConverter
( &
m_elementTableCnv
);
18
19
addTPConverter
( &
m_blMaterialCnv
);
20
addTPConverter
( &
m_klMaterialCnv
);
21
addTPConverter
( &
m_clMaterialCnv
);
22
addTPConverter
( &
m_hlMaterialCnv
);
23
}
24
25
LayerMaterialMapCnv_tlp1::~LayerMaterialMapCnv_tlp1
()
26
=
default
;
27
28
void
LayerMaterialMapCnv_tlp1::setPStorage
(
Trk::LayerMaterialMap_tlp1
*storage )
29
{
30
// for implicit TrackCollection_p1 from the base class:
31
setMainCnvPStorage
( &storage->
layerMaterialMaps
);
32
33
// for all converters defined in this top level converter
34
m_materialPropertiesCnv
.setPStorage( &storage->
materialPropertiesStore
);
35
m_elementTableCnv
.setPStorage( &storage->
elementTableStore
);
36
37
m_blMaterialCnv
.setPStorage( &storage->
binnedLayerMaterialStore
);
38
m_klMaterialCnv
.setPStorage( &storage->
compressedLayerMaterialStore
);
39
m_clMaterialCnv
.setPStorage( &storage->
compoundLayerMaterialStore
);
40
m_hlMaterialCnv
.setPStorage( &storage->
homogeneousLayerMaterialStore
);
41
}
LayerMaterialMapCnv_tlp1.h
LayerMaterialMapCnv_tlp1::m_hlMaterialCnv
HomogeneousLayerMaterialCnv_p1 m_hlMaterialCnv
Definition
LayerMaterialMapCnv_tlp1.h:44
LayerMaterialMapCnv_tlp1::~LayerMaterialMapCnv_tlp1
virtual ~LayerMaterialMapCnv_tlp1()
LayerMaterialMapCnv_tlp1::m_elementTableCnv
ElementTableCnv_p1 m_elementTableCnv
Definition
LayerMaterialMapCnv_tlp1.h:39
LayerMaterialMapCnv_tlp1::m_blMaterialCnv
BinnedLayerMaterialCnv_p1 m_blMaterialCnv
Definition
LayerMaterialMapCnv_tlp1.h:41
LayerMaterialMapCnv_tlp1::m_clMaterialCnv
CompoundLayerMaterialCnv_p1 m_clMaterialCnv
Definition
LayerMaterialMapCnv_tlp1.h:43
LayerMaterialMapCnv_tlp1::m_materialPropertiesCnv
MaterialPropertiesCnv_p1 m_materialPropertiesCnv
Definition
LayerMaterialMapCnv_tlp1.h:38
LayerMaterialMapCnv_tlp1::LayerMaterialMapCnv_tlp1
LayerMaterialMapCnv_tlp1()
Definition
LayerMaterialMapCnv_tlp1.cxx:11
LayerMaterialMapCnv_tlp1::setPStorage
virtual void setPStorage(Trk::LayerMaterialMap_tlp1 *storage)
A stub for a method that should be provided by the converter creator.
Definition
LayerMaterialMapCnv_tlp1.cxx:28
LayerMaterialMapCnv_tlp1::m_klMaterialCnv
CompressedLayerMaterialCnv_p1 m_klMaterialCnv
Definition
LayerMaterialMapCnv_tlp1.h:42
TopLevelTPConverter< LayerMaterialMapCnv_p1, Trk::LayerMaterialMap_tlp1 >::addTPConverter
virtual void addTPConverter(ITPConverter *cnv)
Definition
TopLevelTPCnvBase.cxx:11
TopLevelTPConverter< LayerMaterialMapCnv_p1, Trk::LayerMaterialMap_tlp1 >::setMainCnvPStorage
void setMainCnvPStorage(STORAGE *storage)
Definition
TopLevelTPConverter.h:152
TopLevelTPConverter< LayerMaterialMapCnv_p1, Trk::LayerMaterialMap_tlp1 >::addMainTPConverter
void addMainTPConverter()
Definition
TopLevelTPConverter.h:146
Trk::LayerMaterialMap_tlp1
Definition
LayerMaterialMap_tlp1.h:28
Trk::LayerMaterialMap_tlp1::compressedLayerMaterialStore
std::vector< Trk::CompressedLayerMaterial_p1 > compressedLayerMaterialStore
Definition
LayerMaterialMap_tlp1.h:40
Trk::LayerMaterialMap_tlp1::layerMaterialMaps
std::vector< Trk::LayerMaterialMap_p1 > layerMaterialMaps
in case you write multiple collections
Definition
LayerMaterialMap_tlp1.h:34
Trk::LayerMaterialMap_tlp1::compoundLayerMaterialStore
std::vector< Trk::CompoundLayerMaterial_p1 > compoundLayerMaterialStore
Definition
LayerMaterialMap_tlp1.h:41
Trk::LayerMaterialMap_tlp1::materialPropertiesStore
std::vector< Trk::MaterialProperties_p1 > materialPropertiesStore
the common store to all material properties
Definition
LayerMaterialMap_tlp1.h:36
Trk::LayerMaterialMap_tlp1::homogeneousLayerMaterialStore
std::vector< Trk::HomogeneousLayerMaterial_p1 > homogeneousLayerMaterialStore
Definition
LayerMaterialMap_tlp1.h:42
Trk::LayerMaterialMap_tlp1::binnedLayerMaterialStore
std::vector< Trk::BinnedLayerMaterial_p1 > binnedLayerMaterialStore
Definition
LayerMaterialMap_tlp1.h:39
Trk::LayerMaterialMap_tlp1::elementTableStore
std::vector< Trk::ElementTable_p1 > elementTableStore
this is where the elements are stored
Definition
LayerMaterialMap_tlp1.h:37
Generated on
for ATLAS Offline Software by
1.17.0