ATLAS Offline Software
TgcRawDataCnv_p2.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_p2.h"
8 
10  TgcRawData* transObj,
11  MsgStream &/*log*/)
12 {
13  *transObj = TgcRawData (persObj->m_bcTag,
14  persObj->m_subDetectorId,
15  persObj->m_rodId,
16  persObj->m_l1Id,
17  persObj->m_bcId,
18  persObj->m_strip,
19  persObj->m_forward,
20  persObj->m_sector,
21  persObj->m_chip,
22  persObj->m_index,
23  persObj->m_hipt,
24  persObj->m_hitId,
25  persObj->m_hsub,
26  persObj->m_delta,
27  0);
28 
29  transObj->m_sswId = persObj->m_sswId;
30  transObj->m_slbId = persObj->m_slbId;
31  transObj->m_slbType = (TgcRawData::SlbType)(persObj->m_slbType);
32  transObj->m_bitpos = persObj->m_bitpos;
33  transObj->m_tracklet = persObj->m_tracklet;
34  transObj->m_adjacent = persObj->m_adjacent;
35  transObj->m_type = (TgcRawData::DataType)(persObj->m_type);
36  transObj->m_pos = persObj->m_pos;
37  transObj->m_segment = persObj->m_segment;
38  transObj->m_subMatrix = persObj->m_subMatrix;
39  transObj->m_cand3plus = persObj->m_cand3plus;
40  transObj->m_muplus = persObj->m_muplus;
41  transObj->m_threshold = persObj->m_threshold;
42  transObj->m_overlap = persObj->m_overlap;
43  transObj->m_roi = persObj->m_roi;
44 }
45 
47  TgcRawData_p2* persObj,
48  MsgStream &)
49 {
50  persObj->m_bcTag = transObj->bcTag();
51  persObj->m_subDetectorId = transObj->subDetectorId();
52  persObj->m_rodId = transObj->rodId();
53  persObj->m_sswId = transObj->sswId();
54  persObj->m_slbId = transObj->slbId();
55  persObj->m_l1Id = transObj->l1Id();
56  persObj->m_bcId = transObj->bcId();
57  persObj->m_slbType = (uint16_t)(transObj->slbType());
58  persObj->m_bitpos = transObj->bitpos();
59  persObj->m_tracklet = transObj->tracklet();
60  persObj->m_adjacent = transObj->isAdjacent();
61  persObj->m_type = (uint16_t)(transObj->type());
62  persObj->m_forward = transObj->isForward();
63  persObj->m_index = transObj->index();
64  persObj->m_pos = transObj->position();
65  persObj->m_delta = transObj->delta();
66  persObj->m_segment = transObj->segment();
67  persObj->m_subMatrix = transObj->subMatrix();
68  persObj->m_sector = transObj->sector();
69  persObj->m_chip = transObj->chip();
70  persObj->m_hipt = transObj->isHipt();
71  persObj->m_hitId = transObj->hitId();
72  persObj->m_hsub = transObj->hsub();
73  persObj->m_strip = transObj->isStrip();
74  persObj->m_cand3plus = transObj->cand3plus();
75  persObj->m_muplus = transObj->isMuplus();
76  persObj->m_threshold = transObj->threshold();
77  persObj->m_overlap = transObj->isOverlap();
78  persObj->m_roi = transObj->roi();
79 }
80 
TgcRawData::DataType
DataType
Definition: TgcRawData.h:42
TgcRawData::bitpos
uint16_t bitpos() const
Definition: TgcRawData.h:293
TgcRawData::m_muplus
bool m_muplus
Definition: TgcRawData.h:546
TgcRawData::m_subMatrix
uint16_t m_subMatrix
Definition: TgcRawData.h:533
TgcRawData_p2::m_hipt
bool m_hipt
Definition: TgcRawData_p2.h:86
TgcRawData::m_tracklet
uint16_t m_tracklet
Definition: TgcRawData.h:515
TgcRawData::cand3plus
bool cand3plus() const
Definition: TgcRawData.h:357
TgcRawData::m_threshold
uint16_t m_threshold
Definition: TgcRawData.h:547
TgcRawData::isMuplus
bool isMuplus() const
Definition: TgcRawData.h:361
TgcRawData_p2::m_forward
bool m_forward
Definition: TgcRawData_p2.h:72
TgcRawData.h
TgcRawData_p2::m_sswId
uint16_t m_sswId
Definition: TgcRawData_p2.h:47
TgcRawData::delta
int16_t delta() const
Definition: TgcRawData.h:317
TgcRawData::m_sswId
uint16_t m_sswId
Definition: TgcRawData.h:499
TgcRawData::hsub
uint16_t hsub() const
Definition: TgcRawData.h:349
TgcRawData_p2::m_hitId
uint16_t m_hitId
Definition: TgcRawData_p2.h:87
TgcRawData_p2::m_roi
uint16_t m_roi
Definition: TgcRawData_p2.h:96
TgcRawData_p2::m_adjacent
bool m_adjacent
Definition: TgcRawData_p2.h:65
TgcRawDataCnv_p2::transToPers
virtual void transToPers(const TgcRawData *transObj, TgcRawData_p2 *persObj, MsgStream &)
Definition: TgcRawDataCnv_p2.cxx:46
TgcRawData_p2::m_hsub
uint16_t m_hsub
Definition: TgcRawData_p2.h:88
TgcRawData::subDetectorId
uint16_t subDetectorId() const
Definition: TgcRawData.h:264
TgcRawData::bcId
uint16_t bcId() const
Definition: TgcRawData.h:259
TgcRawData::isHipt
bool isHipt() const
Definition: TgcRawData.h:341
TgcRawData_p2::m_bcTag
uint16_t m_bcTag
Definition: TgcRawData_p2.h:42
TgcRawData_p2::m_tracklet
uint16_t m_tracklet
Definition: TgcRawData_p2.h:63
TgcRawData::m_pos
uint16_t m_pos
Definition: TgcRawData.h:530
TgcRawData_p2::m_subMatrix
uint16_t m_subMatrix
Definition: TgcRawData_p2.h:81
TgcRawData_p2::m_segment
uint16_t m_segment
Definition: TgcRawData_p2.h:80
TgcRawData::m_cand3plus
bool m_cand3plus
Definition: TgcRawData.h:545
TgcRawData_p2::m_muplus
bool m_muplus
Definition: TgcRawData_p2.h:93
TgcRawData_p2::m_bcId
uint16_t m_bcId
Definition: TgcRawData_p2.h:52
TgcRawData::rodId
uint16_t rodId() const
Definition: TgcRawData.h:268
TgcRawData::subMatrix
uint16_t subMatrix() const
Definition: TgcRawData.h:329
TgcRawData::isForward
bool isForward() const
Definition: TgcRawData.h:289
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
TgcRawData::m_segment
uint16_t m_segment
Definition: TgcRawData.h:532
TgcRawData_p2::m_index
uint16_t m_index
Definition: TgcRawData_p2.h:75
TgcRawData::tracklet
uint16_t tracklet() const
Definition: TgcRawData.h:301
TgcRawDataCnv_p2.h
TgcRawData_p2::m_strip
bool m_strip
Definition: TgcRawData_p2.h:89
TgcRawData_p2::m_chip
uint16_t m_chip
Definition: TgcRawData_p2.h:85
TgcRawData::sector
uint16_t sector() const
Definition: TgcRawData.h:333
TgcRawData_p2::m_pos
uint16_t m_pos
Definition: TgcRawData_p2.h:78
TgcRawData::sswId
uint16_t sswId() const
Definition: TgcRawData.h:272
TgcRawData_p2::m_sector
uint16_t m_sector
Definition: TgcRawData_p2.h:84
TgcRawData::l1Id
uint16_t l1Id() const
Definition: TgcRawData.h:255
TgcRawData::isStrip
bool isStrip() const
Definition: TgcRawData.h:353
TgcRawData_p2::m_rodId
uint16_t m_rodId
Definition: TgcRawData_p2.h:46
TgcRawData::position
uint16_t position() const
Definition: TgcRawData.h:313
TgcRawData::m_adjacent
bool m_adjacent
Definition: TgcRawData.h:517
TgcRawData_p2::m_l1Id
uint16_t m_l1Id
Definition: TgcRawData_p2.h:51
TgcRawData::hitId
uint16_t hitId() const
Definition: TgcRawData.h:345
TgcRawData::m_bitpos
uint16_t m_bitpos
Definition: TgcRawData.h:512
TgcRawData::threshold
uint16_t threshold() const
Definition: TgcRawData.h:365
TgcRawData_p2
Definition: TgcRawData_p2.h:16
TgcRawData::m_slbId
uint16_t m_slbId
Definition: TgcRawData.h:500
TgcRawData_p2::m_cand3plus
bool m_cand3plus
Definition: TgcRawData_p2.h:92
TgcRawData::segment
uint16_t segment() const
Definition: TgcRawData.h:325
TgcRawData::m_roi
uint16_t m_roi
Definition: TgcRawData.h:550
TgcRawData::chip
uint16_t chip() const
Definition: TgcRawData.h:337
TgcRawData::roi
uint16_t roi() const
Definition: TgcRawData.h:377
TgcRawData::isAdjacent
bool isAdjacent() const
Definition: TgcRawData.h:305
TgcRawData_p2::m_subDetectorId
uint16_t m_subDetectorId
Definition: TgcRawData_p2.h:45
TgcRawData_p2::m_threshold
uint16_t m_threshold
Definition: TgcRawData_p2.h:94
TgcRawData::bcTag
uint16_t bcTag() const
Definition: TgcRawData.h:251
TgcRawData_p2::m_type
uint16_t m_type
Definition: TgcRawData_p2.h:71
TgcRawData::slbId
uint16_t slbId() const
Definition: TgcRawData.h:276
TgcRawData::m_overlap
bool m_overlap
Definition: TgcRawData.h:548
TgcRawData::index
uint16_t index() const
Definition: TgcRawData.h:309
TgcRawData::m_slbType
SlbType m_slbType
Definition: TgcRawData.h:506
TgcRawData
An unit object of TGC ROD output.
Definition: TgcRawData.h:23
TgcRawData_p2::m_overlap
bool m_overlap
Definition: TgcRawData_p2.h:95
TgcRawData::isOverlap
bool isOverlap() const
Definition: TgcRawData.h:369
TgcRawData::slbType
SlbType slbType() const
Definition: TgcRawData.h:285
TgcRawData_p2::m_delta
int16_t m_delta
Definition: TgcRawData_p2.h:79
TgcRawData::type
DataType type() const
Definition: TgcRawData.h:280
TgcRawDataCnv_p2::persToTrans
virtual void persToTrans(const TgcRawData_p2 *persObj, TgcRawData *transObj, MsgStream &)
Definition: TgcRawDataCnv_p2.cxx:9
TgcRawData_p2::m_bitpos
uint16_t m_bitpos
Definition: TgcRawData_p2.h:60
TgcRawData_p2::m_slbId
uint16_t m_slbId
Definition: TgcRawData_p2.h:48
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_p2::m_slbType
uint16_t m_slbType
Definition: TgcRawData_p2.h:54
TgcRawData::SlbType
SlbType
Definition: TgcRawData.h:31
TgcRawData::m_type
DataType m_type
Definition: TgcRawData.h:523