ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_LoLumRawDataCnv_p2.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7// Persistent class and converter header file
10
11// Other stuff
12#include "Identifier/Identifier.h"
13#include "MsgUtil.h"
14
15
16void
18{
19 MSG_VERBOSE(log,"TRT_LoLumRawData_p2::persToTrans called ");
20
21 *transObj = TRT_LoLumRawData (Identifier(persObj->m_rdoId),
22 persObj->m_word);
23}
24
25void
26TRT_LoLumRawDataCnv_p2::transToPers(const TRT_LoLumRawData* transObj, InDetRawData_p2* persObj, MsgStream &log)
27{
28 MSG_VERBOSE(log,"TRT_LoLumRawData_p2::transToPers called ");
29 persObj->m_rdoId = transObj->identify().get_compact();
30 persObj->m_word = transObj->getWord();
31}
#define MSG_VERBOSE(log, x)
Definition MsgUtil.h:17
value_type get_compact() const
Get the compact id.
Identifier::value_type m_rdoId
unsigned int m_word
virtual Identifier identify() const override final
unsigned int getWord() const
virtual void transToPers(const TRT_LoLumRawData *transObj, InDetRawData_p2 *persObj, MsgStream &log)
virtual void persToTrans(const InDetRawData_p2 *persObj, TRT_LoLumRawData *transObj, MsgStream &log)