ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_FlaggedCondDataCnv_p1.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include "MsgUtil.h"
6
7// Converter header file
9
10// Other stuff
12#include <map>
13#include <string>
14
15void
17{
18 for (const auto& it : persObj->m_data) {
19 transObj->insert(std::make_pair(IdentifierHash(it.first), it.second));
20 }
21}
22
23void
25{
26 for (const auto& it : *transObj) {
27 persObj->m_data.insert(std::make_pair(it.first.value(), it.second));
28 }
29}
std::map< IdentifierHash, std::string > SCT_FlaggedCondData
Typedef for data object used in SCT_Clusterization and SCT_FlaggedConditionTool.
This is a "hash" representation of an Identifier.
virtual void persToTrans(const SCT_FlaggedCondData_p1 *persObj, SCT_FlaggedCondData *transObj, MsgStream &log)
virtual void transToPers(const SCT_FlaggedCondData *transObj, SCT_FlaggedCondData_p1 *persObj, MsgStream &log)
std::map< IdentifierHash::value_type, std::string > m_data