ATLAS Offline Software
LUCID_RawDataCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include "GaudiKernel/MsgStream.h"
9 
10 void LUCID_RawDataCnv_p1::persToTrans(const LUCID_RawData_p1* persObj, LUCID_RawData* transObj, MsgStream &log) const {
11 
12  log << MSG::DEBUG << "In LUCID_RawDataCnv_p1:persToTrans" << endmsg;
13 
14  transObj->setWord0 (persObj->m_word0);
15  transObj->setWord1 (persObj->m_word1);
16  transObj->setWord2 (persObj->m_word2);
17  transObj->setWord3 (persObj->m_word3);
18 
19  transObj->setWord0p (persObj->m_word0p);
20  transObj->setWord1p (persObj->m_word1p);
21  transObj->setWord2p (persObj->m_word2p);
22  transObj->setWord3p (persObj->m_word3p);
23 
24  transObj->setWord0n (persObj->m_word0n);
25  transObj->setWord1n (persObj->m_word1n);
26  transObj->setWord2n (persObj->m_word2n);
27  transObj->setWord3n (persObj->m_word3n);
28 
29  transObj->setStatus (persObj->m_status);
30 }
31 
32 void LUCID_RawDataCnv_p1::transToPers(const LUCID_RawData* transObj, LUCID_RawData_p1* persObj, MsgStream &log) const {
33 
34  log << MSG::DEBUG << "In LUCID_RawDataCnv_p1:transToPers" << endmsg;
35 
36  persObj->m_word0 = transObj->getWord0();
37  persObj->m_word1 = transObj->getWord1();
38  persObj->m_word2 = transObj->getWord2();
39  persObj->m_word3 = transObj->getWord3();
40 
41  persObj->m_word0p = transObj->getWord0p();
42  persObj->m_word1p = transObj->getWord1p();
43  persObj->m_word2p = transObj->getWord2p();
44  persObj->m_word3p = transObj->getWord3p();
45 
46  persObj->m_word0n = transObj->getWord0n();
47  persObj->m_word1n = transObj->getWord1n();
48  persObj->m_word2n = transObj->getWord2n();
49  persObj->m_word3n = transObj->getWord3n();
50 
51  persObj->m_status = transObj->getStatus();
52 }
LUCID_RawData::setStatus
void setStatus(uint32_t status)
Definition: LUCID_RawData.h:95
LUCID_RawData::getWord0
int getWord0() const
Definition: LUCID_RawData.h:63
LUCID_RawData::setWord0
void setWord0(uint32_t word)
Definition: LUCID_RawData.h:80
LUCID_RawData_p1::m_word2p
unsigned int m_word2p
Definition: LUCID_RawData_p1.h:37
LUCID_RawDataCnv_p1::transToPers
virtual void transToPers(const LUCID_RawData *transObj, LUCID_RawData_p1 *persObj, MsgStream &log) const override
Definition: LUCID_RawDataCnv_p1.cxx:32
LUCID_RawData::getWord2p
int getWord2p() const
Definition: LUCID_RawData.h:70
LUCID_RawData.h
LUCID_RawData_p1::m_word0p
unsigned int m_word0p
Definition: LUCID_RawData_p1.h:35
LUCID_RawData_p1::m_word2
unsigned int m_word2
Definition: LUCID_RawData_p1.h:33
LUCID_RawData::setWord3n
void setWord3n(uint32_t word)
Definition: LUCID_RawData.h:93
LUCID_RawData_p1::m_word2n
unsigned int m_word2n
Definition: LUCID_RawData_p1.h:41
LUCID_RawData::getWord2
int getWord2() const
Definition: LUCID_RawData.h:65
LUCID_RawData_p1::m_word1
unsigned int m_word1
Definition: LUCID_RawData_p1.h:32
LUCID_RawData::getStatus
int getStatus() const
Definition: LUCID_RawData.h:78
LUCID_RawData::setWord2n
void setWord2n(uint32_t word)
Definition: LUCID_RawData.h:92
LUCID_RawData_p1::m_word0
unsigned int m_word0
Definition: LUCID_RawData_p1.h:31
LUCID_RawDataCnv_p1.h
LUCID_RawData::setWord3
void setWord3(uint32_t word)
Definition: LUCID_RawData.h:83
LUCID_RawData::getWord1
int getWord1() const
Definition: LUCID_RawData.h:64
LUCID_RawData_p1::m_word3p
unsigned int m_word3p
Definition: LUCID_RawData_p1.h:38
LUCID_RawData_p1::m_word0n
unsigned int m_word0n
Definition: LUCID_RawData_p1.h:39
LUCID_RawData::setWord0n
void setWord0n(uint32_t word)
Definition: LUCID_RawData.h:90
LUCID_RawData
Definition: LUCID_RawData.h:40
LUCID_RawData::setWord2p
void setWord2p(uint32_t word)
Definition: LUCID_RawData.h:87
LUCID_RawDataCnv_p1::persToTrans
virtual void persToTrans(const LUCID_RawData_p1 *persObj, LUCID_RawData *transObj, MsgStream &log) const override
Definition: LUCID_RawDataCnv_p1.cxx:10
LUCID_RawData_p1::m_word3
unsigned int m_word3
Definition: LUCID_RawData_p1.h:34
LUCID_RawData_p1::m_status
unsigned int m_status
Definition: LUCID_RawData_p1.h:43
LUCID_RawData::getWord3p
int getWord3p() const
Definition: LUCID_RawData.h:71
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
LUCID_RawData::getWord2n
int getWord2n() const
Definition: LUCID_RawData.h:75
LUCID_RawData_p1::m_word1n
unsigned int m_word1n
Definition: LUCID_RawData_p1.h:40
LUCID_RawData::setWord1n
void setWord1n(uint32_t word)
Definition: LUCID_RawData.h:91
LUCID_RawData_p1
Definition: LUCID_RawData_p1.h:8
LUCID_RawData::getWord3n
int getWord3n() const
Definition: LUCID_RawData.h:76
LUCID_RawData::getWord1p
int getWord1p() const
Definition: LUCID_RawData.h:69
LUCID_RawData_p1::m_word3n
unsigned int m_word3n
Definition: LUCID_RawData_p1.h:42
LUCID_RawData::getWord0n
int getWord0n() const
Definition: LUCID_RawData.h:73
LUCID_RawData_p1::m_word1p
unsigned int m_word1p
Definition: LUCID_RawData_p1.h:36
LUCID_RawData::setWord0p
void setWord0p(uint32_t word)
Definition: LUCID_RawData.h:85
LUCID_RawData_p1.h
LUCID_RawData::setWord1
void setWord1(uint32_t word)
Definition: LUCID_RawData.h:81
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
LUCID_RawData::getWord1n
int getWord1n() const
Definition: LUCID_RawData.h:74
LUCID_RawData::setWord1p
void setWord1p(uint32_t word)
Definition: LUCID_RawData.h:86
LUCID_RawData::getWord3
int getWord3() const
Definition: LUCID_RawData.h:66
LUCID_RawData::setWord3p
void setWord3p(uint32_t word)
Definition: LUCID_RawData.h:88
LUCID_RawData::setWord2
void setWord2(uint32_t word)
Definition: LUCID_RawData.h:82
LUCID_RawData::getWord0p
int getWord0p() const
Definition: LUCID_RawData.h:68