ATLAS Offline Software
TrigMonROBCnv_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 
7 // This class data and converter
10 
12  TrigMonROB* transObj,
13  MsgStream &log) const
14 {
15  if(log.level() <= MSG::DEBUG) {
16  log << MSG::DEBUG << "TrigMonROBCnv_p1::persToTrans called " << endmsg;
17  }
18 
19  transObj->getWord() = persObj->m_word;
20  m_dataCnv.persToTrans(&(persObj->m_data), &(transObj->getData()), log);
21 }
22 
23 
25  TrigMonROB_p1* persObj,
26  MsgStream &log) const
27 {
28  if(log.level() <= MSG::DEBUG) {
29  log << MSG::DEBUG << "TrigMonROBCnv_p1::transToPers called " << endmsg;
30  }
31 
32  persObj->m_word = transObj->getWord();
33  m_dataCnv.transToPers(&(transObj->getData()), &(persObj->m_data), log);
34 }
TrigMonROB_p1::m_data
std::vector< TrigMonROBData_p1 > m_data
Definition: TrigMonROB_p1.h:32
TrigMonROB.h
TrigMonROBCnv_p1::transToPers
virtual void transToPers(const TrigMonROB *transObj, TrigMonROB_p1 *persObj, MsgStream &log) const override
Definition: TrigMonROBCnv_p1.cxx:24
TrigMonROB::getWord
std::vector< uint32_t > & getWord()
Definition: TrigMonROB.h:43
TrigMonROBCnv_p1::m_dataCnv
T_AthenaPoolTPCnvStdVectorConst< std::vector< TrigMonROBData >, std::vector< TrigMonROBData_p1 >, TrigMonROBDataCnv_p1 > m_dataCnv
Definition: TrigMonROBCnv_p1.h:43
TrigMonROB_p1.h
TrigMonROB_p1
Definition: TrigMonROB_p1.h:21
TrigMonROB
Definition: TrigMonROB.h:30
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigMonROBCnv_p1.h
TrigMonROBCnv_p1::persToTrans
virtual void persToTrans(const TrigMonROB_p1 *persObj, TrigMonROB *transObj, MsgStream &log) const override
Definition: TrigMonROBCnv_p1.cxx:11
TrigMonROB::getData
std::vector< TrigMonROBData > & getData()
Definition: TrigMonROB.h:42
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigMonROB_p1::m_word
std::vector< uint32_t > m_word
Definition: TrigMonROB_p1.h:31