ATLAS Offline Software
TgcRawDataCnv_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/TgcRawData.h"
6 #include "GaudiKernel/MsgStream.h"
7 #include "TgcRawDataCnv_p1.h"
8 
10  TgcRawData* transObj,
11  MsgStream &)
12 {
13  *transObj = TgcRawData (persObj->m_bcTag,
14  persObj->m_subDetectorId,
15  persObj->m_rodId,
16  persObj->m_l1Id,
17  persObj->m_bcId,
18  false,
19  false,
20  0,
21  0,
22  persObj->m_index,
23  false,
24  0,
25  0,
26  persObj->m_delta,
27  0);
28  if (persObj->m_isCoincidence)
29  transObj->setType(persObj->m_type);
30  else
31  transObj->setType(10);
32 
33  transObj->m_sswId = persObj->m_sswId;
34  transObj->m_slbId = persObj->m_slbId;
35  transObj->m_bitpos = persObj->m_bitpos;
36  transObj->m_pos = persObj->m_pos;
37 }
38 
40 {
41  log << MSG::ERROR << "TgcRawDataCnv_p1::transToPers should not be called. _p2 exists!" << endmsg;
42 }
43 
TgcRawData_p1::m_bcTag
uint16_t m_bcTag
Definition: TgcRawData_p1.h:39
TgcRawData::setType
void setType(uint16_t type)
Definition: TgcRawData.cxx:367
TgcRawData.h
TgcRawData::m_sswId
uint16_t m_sswId
Definition: TgcRawData.h:499
TgcRawDataCnv_p1::transToPers
virtual void transToPers(const TgcRawData *transObj, TgcRawData_p1 *persObj, MsgStream &)
Definition: TgcRawDataCnv_p1.cxx:39
TgcRawData_p1::m_subDetectorId
uint16_t m_subDetectorId
Definition: TgcRawData_p1.h:42
TgcRawData_p1::m_index
uint16_t m_index
Definition: TgcRawData_p1.h:69
TgcRawData::m_pos
uint16_t m_pos
Definition: TgcRawData.h:530
TgcRawDataCnv_p1::persToTrans
virtual void persToTrans(const TgcRawData_p1 *persObj, TgcRawData *transObj, MsgStream &)
Definition: TgcRawDataCnv_p1.cxx:9
TgcRawData_p1
Definition: TgcRawData_p1.h:17
TgcRawData_p1::m_slbId
uint16_t m_slbId
Definition: TgcRawData_p1.h:45
TgcRawData_p1::m_type
uint16_t m_type
Definition: TgcRawData_p1.h:66
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TgcRawData_p1::m_pos
uint16_t m_pos
Definition: TgcRawData_p1.h:72
TgcRawData::m_bitpos
uint16_t m_bitpos
Definition: TgcRawData.h:512
TgcRawData::m_slbId
uint16_t m_slbId
Definition: TgcRawData.h:500
TgcRawDataCnv_p1.h
TgcRawData_p1::m_delta
uint16_t m_delta
Definition: TgcRawData_p1.h:73
TgcRawData
An unit object of TGC ROD output.
Definition: TgcRawData.h:23
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TgcRawData_p1::m_bitpos
uint16_t m_bitpos
Definition: TgcRawData_p1.h:56
TgcRawData_p1::m_sswId
uint16_t m_sswId
Definition: TgcRawData_p1.h:44
TgcRawData_p1::m_isCoincidence
bool m_isCoincidence
Definition: TgcRawData_p1.h:63
TgcRawData
Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Current TgcRawData
Definition: MuonEventAthenaPoolTPCnv.cxx:168
TgcRawData_p1::m_bcId
uint16_t m_bcId
Definition: TgcRawData_p1.h:49
TgcRawData_p1::m_l1Id
uint16_t m_l1Id
Definition: TgcRawData_p1.h:48
TgcRawData_p1::m_rodId
uint16_t m_rodId
Definition: TgcRawData_p1.h:43