ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonEventAthenaPool
src
RpcCoinMatrixCnv_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 "
MuonRDO/RpcCoinMatrix.h
"
6
#include "GaudiKernel/MsgStream.h"
7
#include "
MuonEventAthenaPool/RpcCoinMatrix_p1.h
"
8
#include "
RpcCoinMatrixCnv_p1.h
"
9
10
11
void
12
RpcCoinMatrixCnv_p1::transToPers
(
const
RpcCoinMatrix
* transColl,
RpcCoinMatrix_p1
* persColl, MsgStream &log)
13
{
14
if
(log.level() <= MSG::DEBUG) log << MSG::DEBUG <<
" *** Writing out RpcCoinMatrix"
<<
endmsg
;
15
16
persColl->
m_id
= transColl->
identify
().
get_identifier32
().
get_compact
();
17
persColl->
m_onlineId
= transColl->
onlineId
();
18
persColl->
m_crc
= transColl->
crc
();
19
persColl->
m_fel1Id
= transColl->
fel1Id
();
20
persColl->
m_febcId
= transColl->
febcId
();
21
22
// Invoke vector converter from the base template
23
RpcCoinMatrixCnv_p1_basetype::transToPers
( transColl, persColl, log );
24
}
25
26
void
27
RpcCoinMatrixCnv_p1::persToTrans
(
const
RpcCoinMatrix_p1
* persColl,
RpcCoinMatrix
* transColl, MsgStream &log)
28
{
29
if
(log.level() <= MSG::DEBUG) log << MSG::DEBUG <<
" *** Reading RpcCoinMatrix"
<<
endmsg
;
30
31
*transColl =
RpcCoinMatrix
(
Identifier
(
Identifier32
(persColl->
m_id
)),
32
persColl->
m_onlineId
,
33
persColl->
m_crc
,
34
persColl->
m_fel1Id
,
35
persColl->
m_febcId
);
36
37
// Invoke vector converter from the base template
38
RpcCoinMatrixCnv_p1_basetype::persToTrans
( persColl, transColl, log );
39
}
40
41
42
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:54
RpcCoinMatrix
Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Current RpcCoinMatrix
Definition
MuonEventAthenaPoolTPCnv.cxx:134
RpcCoinMatrixCnv_p1.h
RpcCoinMatrix.h
RpcCoinMatrix_p1.h
Identifier32
Definition
Identifier32.h:28
Identifier32::get_compact
value_type get_compact() const
Get the compact id.
Definition
Identifier32.h:47
Identifier::get_identifier32
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
RpcCoinMatrixCnv_p1::transToPers
virtual void transToPers(const RpcCoinMatrix *transColl, RpcCoinMatrix_p1 *persColl, MsgStream &log)
Converts vector of TRANS::value_type objects to vector of PERS::value_type objects,...
Definition
RpcCoinMatrixCnv_p1.cxx:12
RpcCoinMatrixCnv_p1::persToTrans
virtual void persToTrans(const RpcCoinMatrix_p1 *persColl, RpcCoinMatrix *transColl, MsgStream &log)
Converts vector of PERS::value_type objects to vector of TRANS::value_type objects,...
Definition
RpcCoinMatrixCnv_p1.cxx:27
RpcCoinMatrix_p1
Persistent representation of RpcCoinMatrix class.
Definition
RpcCoinMatrix_p1.h:18
RpcCoinMatrix_p1::m_crc
uint16_t m_crc
Definition
RpcCoinMatrix_p1.h:46
RpcCoinMatrix_p1::m_fel1Id
uint16_t m_fel1Id
Definition
RpcCoinMatrix_p1.h:47
RpcCoinMatrix_p1::m_onlineId
uint16_t m_onlineId
Definition
RpcCoinMatrix_p1.h:45
RpcCoinMatrix_p1::m_febcId
uint16_t m_febcId
Definition
RpcCoinMatrix_p1.h:48
RpcCoinMatrix_p1::m_id
uint32_t m_id
Definition
RpcCoinMatrix_p1.h:44
RpcCoinMatrix
Definition
RpcCoinMatrix.h:20
RpcCoinMatrix::identify
Identifier identify() const
Definition
RpcCoinMatrix.h:64
RpcCoinMatrix::crc
ubit16 crc() const
Definition
RpcCoinMatrix.h:69
RpcCoinMatrix::fel1Id
ubit16 fel1Id() const
Definition
RpcCoinMatrix.h:71
RpcCoinMatrix::onlineId
ubit16 onlineId() const
Definition
RpcCoinMatrix.h:67
RpcCoinMatrix::febcId
ubit16 febcId() const
Definition
RpcCoinMatrix.h:73
TPCnvVector::persToTrans
virtual void persToTrans(const PERS *persVect, TRANS *transVect, MsgStream &log)
Converts vector of PERS::value_type objects to vector of TRANS::value_type objects,...
TPCnvVector::transToPers
virtual void transToPers(const TRANS *transVect, PERS *persVect, MsgStream &log)
Converts vector of TRANS::value_type objects to vector of PERS::value_type objects,...
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0