ATLAS Offline Software
TrigMonROBDataCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
9 
11  TrigMonROBData* transObj,
12  MsgStream &log) const
13 {
14  if(log.level() <= MSG::DEBUG) {
15  log << MSG::DEBUG << "TrigMonROBDataCnv_p1::persToTrans called " << endmsg;
16  }
17 
18  *transObj = TrigMonROBData (persObj->m_rob_id,
19  persObj->m_rob_size);
20 
21  transObj->m_word = persObj->m_rob_size;
22 }
23 
24 
26  TrigMonROBData_p1* persObj,
27  MsgStream &log) const
28 {
29  if(log.level() <= MSG::DEBUG) {
30  log << MSG::DEBUG << "TrigMonROBDataCnv_p1::transToPers called " << endmsg;
31  }
32 
33  persObj->m_rob_id = transObj->getROBId();
34  persObj->m_rob_size = transObj->m_word;
35  persObj->m_word = 0;
36 }
TrigMonROBData_p1::m_word
uint8_t m_word
Definition: TrigMonROBData_p1.h:30
TrigMonROBData.h
TrigMonROBData_p1.h
TrigMonROBData::getROBId
uint32_t getROBId() const
Definition: TrigMonROBData.h:59
TrigMonROBDataCnv_p1::persToTrans
virtual void persToTrans(const TrigMonROBData_p1 *persObj, TrigMonROBData *transObj, MsgStream &log) const override
Definition: TrigMonROBDataCnv_p1.cxx:10
TrigMonROBData_p1::m_rob_size
uint32_t m_rob_size
Definition: TrigMonROBData_p1.h:29
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigMonROBData
Definition: TrigMonROBData.h:27
TrigMonROBDataCnv_p1.h
TrigMonROBData_p1
Definition: TrigMonROBData_p1.h:18
TrigMonROBData_p1::m_rob_id
uint32_t m_rob_id
Definition: TrigMonROBData_p1.h:28
TrigMonROBData::m_word
uint32_t m_word
Definition: TrigMonROBData.h:72
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigMonROBDataCnv_p1::transToPers
virtual void transToPers(const TrigMonROBData *transObj, TrigMonROBData_p1 *persObj, MsgStream &log) const override
Definition: TrigMonROBDataCnv_p1.cxx:25