|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef LAYERMATERIALMAP_CNV_P1_TRK_H
10 #define LAYERMATERIALMAP_CNV_P1_TRK_H
44 std::vector<TPObjRef>::const_iterator
it = persMap->
lmVector.begin();
45 std::vector<TPObjRef>::const_iterator iEnd = persMap->
lmVector.end();
46 for (
size_t iidx=0 ;
it != iEnd; ++
it, ++iidx ) {
57 persMap->
lmVector.reserve( transMap->size() );
59 persMap->
idxVector.reserve( transMap->size() );
64 for(
auto&
it : (*transMap) ) {
75 #endif // MATERIAKSTEPCOLLECTION_CNV_P1_TRK_H
LayerMaterialMapCnv_p1()
Standard constructor.
void updateElementTable(const SharedObject< const ElementTable > &eTable)
update method
ElementTable_p1 elementTable
ElementTableCnv_p1 m_eTableCnv
const ElementTable * elementTable() const
retrieval method
virtual void transToPers(const Trk::ElementTable *transObj, Trk::ElementTable_p1 *persObj, MsgStream &log)
void updateElementTable(const SharedObject< const ElementTable > &) const
Update the ElementTable.
TPObjRef toPersistent(CNV **cnv, const typename CNV::TransBase_t *transObj, MsgStream &log) const
Persistify an object and store the persistent represenation in the storage vector of the top-level pe...
~LayerMaterialMapCnv_p1()
Destructor constructor.
std::vector< int > idxVector
std::vector< TPObjRef > lmVector
std::shared_ptr< T > SharedObject
virtual void persToTrans(const Trk::LayerMaterialMap_p1 *persMap, Trk::LayerMaterialMap *transMap, MsgStream &mlog)
persistent to transient
virtual void persToTrans(const Trk::ElementTable_p1 *persObj, Trk::ElementTable *transObj, MsgStream &log)
CNV::Trans_t * createTransFromPStore(CNV **cnv, const TPObjRef &ref, MsgStream &log) const
Create transient representation of a persistent object, stored in the the top-level persistent object...
virtual void transToPers(const Trk::LayerMaterialMap *transMap, Trk::LayerMaterialMap_p1 *persMap, MsgStream &mlog)
transient to persistent