9#ifndef TRKGEOMETRY_LAYERMATERIALMAP_H
10#define TRKGEOMETRY_LAYERMATERIALMAP_H
32 :
public std::map<Trk::LayerIndex, const Trk::LayerMaterialProperties*> {
53 std::map<Trk::LayerIndex, const Trk::LayerMaterialProperties*>::operator=(
80 for (
auto& it : (*
this))
delete (it.second);
87 for (
auto& it : (*
this)) {
89 if (eTableLM) (*eTable) += (*eTableLM);
93 for (
auto& it : (*
this)) it.second->updateElementTable(
m_elementTable);
99#include "AthenaKernel/CondCont.h"
#define CONDCONT_DEF(...)
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
LayerIndex for the identification of layers in a simplified detector geometry of Cylinders and Discs.
This class extends the DataVector<Trk::LayerMaterialProperties> by an elementTable;.
std::shared_ptr< const ElementTable > m_elementTable
void synchronizeElementTable()
synchronize the ElementTable
const ElementTable * elementTable() const
retrieval method
void updateElementTable(const std::shared_ptr< const ElementTable > &eTable)
update method
LayerMaterialMap(const std::shared_ptr< const ElementTable > &eTable)
Default constructor.
~LayerMaterialMap()
Destructor.
LayerMaterialMap & operator=(const LayerMaterialMap &lmc)
Assigment operator.
LayerMaterialMap()
Default constructor.
LayerMaterialMap(const Trk::LayerMaterialMap &lmc)
Copy constructor.
This virtual base class encapsulates the logics to build pre/post/full update material for Layer stru...
Ensure that the ATLAS eigen extensions are properly loaded.