10#include "Identifier/Identifier.h"
17 persCont->
m_simdata.resize(transCont->size());
19 unsigned int collIndex(0);
20 for (
const auto& transSimDataPair : *transCont) {
22 (persCont->
m_simdata[collIndex]).first = transSimDataPair.first.get_compact();
28 MSG_DEBUG(log,
" *** Writing InDetSimdataCollection");
36 for (
const auto& persSimDataPair : persCont->
m_simdata) {
41 transCont->insert( transCont->end(), std :: make_pair(
Identifier( persSimDataPair.first ),
simData ) );
43 MSG_DEBUG(log,
" *** Reading InDetSimdataCollection");
#define MSG_DEBUG(log, x)
virtual void transToPers(const InDetSimData *transObj, InDetSimData_p2 *persObj, MsgStream &log)
virtual void persToTrans(const InDetSimData_p2 *persObj, InDetSimData *transObj, MsgStream &log)
void setCurrentStore(IProxyDict *store)
virtual void transToPers(const InDetSimDataCollection *transCont, InDetSimDataCollection_p3 *persCont, MsgStream &log)
virtual void persToTrans(const InDetSimDataCollection_p3 *persCont, InDetSimDataCollection *transCont, MsgStream &log)
std::vector< std::pair< Identifier::value_type, InDetSimData_p2 > > m_simdata
static IProxyDict * store()
Fetch the current store.