ATLAS Offline Software
InnerDetector
InDetEventCnv
InDetEventAthenaPool
src
SCT1_RawDataCnv_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
5
#include "
InDetRawData/SCT1_RawData.h
"
6
#include "
MsgUtil.h
"
7
8
// Persistent class and converter header file
9
#include "
InDetEventAthenaPool/InDetRawData_p1.h
"
10
#include "
SCT1_RawDataCnv_p1.h
"
11
12
// Other stuff
13
#include "Identifier/Identifier.h"
14
15
16
17
void
18
SCT1_RawDataCnv_p1::persToTrans
(
const
InDetRawData_p1
* persObj,
SCT1_RawData
* transObj, MsgStream&
log
)
19
{
20
MSG_VERBOSE
(
log
,
"SCT1_RawDataCnv_p1::persToTrans called "
);
21
*transObj =
SCT1_RawData
(
Identifier
(persObj->
m_rdoId
),
22
persObj->
m_word
);
23
}
24
25
void
26
SCT1_RawDataCnv_p1::transToPers
(
const
SCT1_RawData
* transObj,
InDetRawData_p1
* persObj, MsgStream&
log
)
27
{
28
MSG_VERBOSE
(
log
,
"SCT1_RawDataCnv_p1::transToPers called "
);
29
persObj->
m_rdoId
= transObj->
identify
().
get_compact
();
30
persObj->
m_word
= transObj->
getWord
();
31
}
Identifier::get_compact
value_type get_compact() const
Get the compact id.
InDetRawData_p1.h
InDetRawData_p1::m_word
unsigned int m_word
Definition:
InDetRawData_p1.h:19
SCT1_RawData.h
SCT1_RawDataCnv_p1::persToTrans
virtual void persToTrans(const InDetRawData_p1 *persObj, SCT1_RawData *transObj, MsgStream &log)
Definition:
SCT1_RawDataCnv_p1.cxx:18
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
SCT1_RawData
Definition:
SCT1_RawData.h:27
InDetRawData::identify
virtual Identifier identify() const override final
Definition:
InDetRawData.h:41
InDetRawData_p1
Definition:
InDetRawData_p1.h:10
SCT1_RawDataCnv_p1::transToPers
virtual void transToPers(const SCT1_RawData *transObj, InDetRawData_p1 *persObj, MsgStream &log)
Definition:
SCT1_RawDataCnv_p1.cxx:26
InDetRawData_p1::m_rdoId
Identifier32::value_type m_rdoId
Definition:
InDetRawData_p1.h:18
SCT1_RawDataCnv_p1.h
Identifier
Definition:
IdentifierFieldParser.cxx:14
MsgUtil.h
Generated on Sun Dec 22 2024 21:17:33 for ATLAS Offline Software by
1.8.18