ATLAS Offline Software
InnerDetector
InDetEventCnv
InDetEventAthenaPool
src
TRT_LoLumRawDataCnv_p1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
InDetRawData/TRT_LoLumRawData.h
"
6
7
// Persistent class and converter header file
8
#include "
InDetEventAthenaPool/InDetRawData_p1.h
"
9
#include "
TRT_LoLumRawDataCnv_p1.h
"
10
11
// Other stuff
12
#include "Identifier/Identifier.h"
13
#include "
MsgUtil.h
"
14
15
16
void
17
TRT_LoLumRawDataCnv_p1::persToTrans
(
const
InDetRawData_p1
* persObj,
TRT_LoLumRawData
* transObj, MsgStream &
log
)
18
{
19
MSG_VERBOSE
(
log
,
"TRT_LoLumRawData_p1::persToTrans called "
);
20
21
*transObj =
TRT_LoLumRawData
(
Identifier
(persObj->
m_rdoId
),
22
persObj->
m_word
);
23
}
24
25
void
26
TRT_LoLumRawDataCnv_p1::transToPers
(
const
TRT_LoLumRawData
* transObj,
InDetRawData_p1
* persObj, MsgStream &
log
)
27
{
28
MSG_VERBOSE
(
log
,
"TRT_LoLumRawData_p1::transToPers called "
);
29
persObj->
m_rdoId
= transObj->
identify
().
get_identifier32
().
get_compact
();
30
persObj->
m_word
= transObj->
getWord
();
31
}
TRT_LoLumRawData
Definition:
TRT_LoLumRawData.h:25
Identifier::get_identifier32
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
InDetRawData_p1.h
InDetRawData_p1::m_word
unsigned int m_word
Definition:
InDetRawData_p1.h:19
Identifier32::get_compact
value_type get_compact() const
Get the compact id.
Definition:
Identifier32.h:44
TRT_LoLumRawDataCnv_p1::transToPers
virtual void transToPers(const TRT_LoLumRawData *transObj, InDetRawData_p1 *persObj, MsgStream &log)
Definition:
TRT_LoLumRawDataCnv_p1.cxx:26
TRT_LoLumRawDataCnv_p1.h
MSG_VERBOSE
#define MSG_VERBOSE(log, x)
Definition:
MsgUtil.h:17
InDetRawData::getWord
unsigned int getWord() const
Definition:
InDetRawData.h:47
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
InDetRawData::identify
virtual Identifier identify() const override final
Definition:
InDetRawData.h:41
InDetRawData_p1
Definition:
InDetRawData_p1.h:10
TRT_LoLumRawDataCnv_p1::persToTrans
virtual void persToTrans(const InDetRawData_p1 *persObj, TRT_LoLumRawData *transObj, MsgStream &log)
Definition:
TRT_LoLumRawDataCnv_p1.cxx:17
InDetRawData_p1::m_rdoId
Identifier32::value_type m_rdoId
Definition:
InDetRawData_p1.h:18
TRT_LoLumRawData.h
Identifier
Definition:
IdentifierFieldParser.cxx:14
MsgUtil.h
Generated on Mon Dec 23 2024 21:22:00 for ATLAS Offline Software by
1.8.18