ATLAS Offline Software
TgcL1RawDataCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "MuonRDO/TgcL1RawData.h"
6 #include "GaudiKernel/MsgStream.h"
7 #include "TgcL1RawDataCnv_p1.h"
8 
10  TgcL1RawData* transObj,
11  MsgStream &/*log*/)
12 {
13  *transObj = TgcL1RawData (persObj->m_bcTag,
14  persObj->m_subDetectorId,
15  persObj->m_srodId,
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  persObj->m_inner);
28 
29  transObj->m_bitpos = persObj->m_bitpos;
30  transObj->m_tracklet = persObj->m_tracklet;
31  transObj->m_adjacent = persObj->m_adjacent;
32  transObj->m_type = (TgcL1RawData::DataType)(persObj->m_type);
33  transObj->m_pos = persObj->m_pos;
34  transObj->m_segment = persObj->m_segment;
35  transObj->m_subMatrix = persObj->m_subMatrix;
36  transObj->m_cand3plus = persObj->m_cand3plus;
37  transObj->m_muplus = persObj->m_muplus;
38  transObj->m_threshold = persObj->m_threshold;
39  transObj->m_overlap = persObj->m_overlap;
40  transObj->m_veto = persObj->m_veto;
41  transObj->m_roi = persObj->m_roi;
42 }
43 
45  TgcL1RawData_p1* persObj,
46  MsgStream &)
47 {
48  persObj->m_bcTag = transObj->bcTag();
49  persObj->m_subDetectorId = transObj->subDetectorId();
50  persObj->m_srodId = transObj->srodId();
51  persObj->m_l1Id = transObj->l1Id();
52  persObj->m_bcId = transObj->bcId();
53  persObj->m_bitpos = transObj->bitpos();
54  persObj->m_tracklet = transObj->tracklet();
55  persObj->m_adjacent = transObj->isAdjacent();
56  persObj->m_type = (uint16_t)(transObj->type());
57  persObj->m_forward = transObj->isForward();
58  persObj->m_index = transObj->index();
59  persObj->m_pos = transObj->position();
60  persObj->m_delta = transObj->delta();
61  persObj->m_segment = transObj->segment();
62  persObj->m_subMatrix = transObj->subMatrix();
63  persObj->m_sector = transObj->sector();
64  persObj->m_chip = transObj->chip();
65  persObj->m_hipt = transObj->isHipt();
66  persObj->m_hitId = transObj->hitId();
67  persObj->m_hsub = transObj->hsub();
68  persObj->m_strip = transObj->isStrip();
69  persObj->m_inner = transObj->inner();
70  persObj->m_cand3plus = transObj->cand3plus();
71  persObj->m_muplus = transObj->isMuplus();
72  persObj->m_threshold = transObj->threshold();
73  persObj->m_overlap = transObj->isOverlap();
74  persObj->m_veto = transObj->isVeto();
75  persObj->m_roi = transObj->roi();
76 }
77 
TgcL1RawData::isOverlap
bool isOverlap() const
Definition: TgcL1RawData.h:299
TgcL1RawData_p1
Definition: TgcL1RawData_p1.h:9
TgcL1RawData::m_bitpos
uint16_t m_bitpos
Definition: TgcL1RawData.h:357
TgcL1RawData::hitId
uint16_t hitId() const
Definition: TgcL1RawData.h:275
TgcL1RawData::bcTag
uint16_t bcTag() const
Definition: TgcL1RawData.h:181
TgcL1RawData::m_roi
uint16_t m_roi
Definition: TgcL1RawData.h:396
TgcL1RawData_p1::m_roi
uint16_t m_roi
Definition: TgcL1RawData_p1.h:79
TgcL1RawData::delta
int16_t delta() const
Definition: TgcL1RawData.h:247
TgcL1RawData::subDetectorId
uint16_t subDetectorId() const
Definition: TgcL1RawData.h:194
TgcL1RawData_p1::m_threshold
uint16_t m_threshold
Definition: TgcL1RawData_p1.h:76
TgcL1RawData_p1::m_subDetectorId
uint16_t m_subDetectorId
Definition: TgcL1RawData_p1.h:24
TgcL1RawData::m_cand3plus
bool m_cand3plus
Definition: TgcL1RawData.h:391
TgcL1RawData_p1::m_l1Id
uint16_t m_l1Id
Definition: TgcL1RawData_p1.h:28
TgcL1RawData::m_veto
bool m_veto
Definition: TgcL1RawData.h:395
TgcL1RawData::position
uint16_t position() const
Definition: TgcL1RawData.h:243
TgcL1RawData::DataType
DataType
Definition: TgcL1RawData.h:37
TgcL1RawData::m_overlap
bool m_overlap
Definition: TgcL1RawData.h:394
TgcL1RawData::isHipt
bool isHipt() const
Definition: TgcL1RawData.h:271
TgcL1RawData::srodId
uint16_t srodId() const
Definition: TgcL1RawData.h:210
TgcL1RawData::hsub
uint16_t hsub() const
Definition: TgcL1RawData.h:279
TgcL1RawData::m_muplus
bool m_muplus
Definition: TgcL1RawData.h:392
TgcL1RawData::isAdjacent
bool isAdjacent() const
Definition: TgcL1RawData.h:235
TgcL1RawData_p1::m_inner
int m_inner
Definition: TgcL1RawData_p1.h:71
TgcL1RawData::threshold
uint16_t threshold() const
Definition: TgcL1RawData.h:295
TgcL1RawData::isMuplus
bool isMuplus() const
Definition: TgcL1RawData.h:291
TgcL1RawData_p1::m_hsub
uint16_t m_hsub
Definition: TgcL1RawData_p1.h:69
TgcL1RawData::m_pos
uint16_t m_pos
Definition: TgcL1RawData.h:375
TgcL1RawData::l1Id
uint16_t l1Id() const
Definition: TgcL1RawData.h:185
TgcL1RawData::inner
uint16_t inner() const
Definition: TgcL1RawData.h:251
TgcL1RawData.h
TgcL1RawData::sector
uint16_t sector() const
Definition: TgcL1RawData.h:263
TgcL1RawData_p1::m_index
uint16_t m_index
Definition: TgcL1RawData_p1.h:56
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
TgcL1RawData_p1::m_cand3plus
bool m_cand3plus
Definition: TgcL1RawData_p1.h:74
TgcL1RawData
An unit object of TGC SROD output.
Definition: TgcL1RawData.h:21
TgcL1RawData::m_adjacent
bool m_adjacent
Definition: TgcL1RawData.h:362
TgcL1RawData_p1::m_bcTag
uint16_t m_bcTag
Definition: TgcL1RawData_p1.h:21
TgcL1RawData_p1::m_sector
uint16_t m_sector
Definition: TgcL1RawData_p1.h:65
TgcL1RawData::type
DataType type() const
Definition: TgcL1RawData.h:214
TgcL1RawData_p1::m_tracklet
uint16_t m_tracklet
Definition: TgcL1RawData_p1.h:38
TgcL1RawData_p1::m_bitpos
uint16_t m_bitpos
Definition: TgcL1RawData_p1.h:35
TgcL1RawData::roi
uint16_t roi() const
Definition: TgcL1RawData.h:307
TgcL1RawData_p1::m_overlap
bool m_overlap
Definition: TgcL1RawData_p1.h:77
TgcL1RawData::m_threshold
uint16_t m_threshold
Definition: TgcL1RawData.h:393
TgcL1RawData_p1::m_subMatrix
uint16_t m_subMatrix
Definition: TgcL1RawData_p1.h:62
TgcL1RawData_p1::m_hipt
bool m_hipt
Definition: TgcL1RawData_p1.h:67
TgcL1RawData_p1::m_delta
int16_t m_delta
Definition: TgcL1RawData_p1.h:60
TgcL1RawDataCnv_p1::transToPers
virtual void transToPers(const TgcL1RawData *transObj, TgcL1RawData_p1 *persObj, MsgStream &)
Definition: TgcL1RawDataCnv_p1.cxx:44
TgcL1RawData_p1::m_strip
bool m_strip
Definition: TgcL1RawData_p1.h:70
TgcL1RawDataCnv_p1.h
TgcL1RawData::bitpos
uint16_t bitpos() const
Definition: TgcL1RawData.h:223
TgcL1RawDataCnv_p1::persToTrans
virtual void persToTrans(const TgcL1RawData_p1 *persObj, TgcL1RawData *transObj, MsgStream &)
Definition: TgcL1RawDataCnv_p1.cxx:9
TgcL1RawData::chip
uint16_t chip() const
Definition: TgcL1RawData.h:267
TgcL1RawData_p1::m_muplus
bool m_muplus
Definition: TgcL1RawData_p1.h:75
TgcL1RawData_p1::m_bcId
uint16_t m_bcId
Definition: TgcL1RawData_p1.h:29
TgcL1RawData_p1::m_forward
bool m_forward
Definition: TgcL1RawData_p1.h:53
TgcL1RawData_p1::m_adjacent
bool m_adjacent
Definition: TgcL1RawData_p1.h:40
TgcL1RawData::isVeto
bool isVeto() const
Definition: TgcL1RawData.h:303
TgcL1RawData::m_segment
uint16_t m_segment
Definition: TgcL1RawData.h:377
TgcL1RawData::bcId
uint16_t bcId() const
Definition: TgcL1RawData.h:189
TgcL1RawData::subMatrix
uint16_t subMatrix() const
Definition: TgcL1RawData.h:259
TgcL1RawData::tracklet
uint16_t tracklet() const
Definition: TgcL1RawData.h:231
TgcL1RawData::isStrip
bool isStrip() const
Definition: TgcL1RawData.h:283
TgcL1RawData_p1::m_veto
bool m_veto
Definition: TgcL1RawData_p1.h:78
TgcL1RawData::m_subMatrix
uint16_t m_subMatrix
Definition: TgcL1RawData.h:378
TgcL1RawData_p1::m_segment
uint16_t m_segment
Definition: TgcL1RawData_p1.h:61
TgcL1RawData_p1::m_hitId
uint16_t m_hitId
Definition: TgcL1RawData_p1.h:68
TgcL1RawData_p1::m_type
uint16_t m_type
Definition: TgcL1RawData_p1.h:52
TgcL1RawData_p1::m_srodId
uint16_t m_srodId
Definition: TgcL1RawData_p1.h:25
TgcL1RawData::m_tracklet
uint16_t m_tracklet
Definition: TgcL1RawData.h:360
TgcL1RawData::m_type
DataType m_type
Definition: TgcL1RawData.h:368
TgcL1RawData_p1::m_chip
uint16_t m_chip
Definition: TgcL1RawData_p1.h:66
TgcL1RawData::index
uint16_t index() const
Definition: TgcL1RawData.h:239
TgcL1RawData::segment
uint16_t segment() const
Definition: TgcL1RawData.h:255
TgcL1RawData::cand3plus
bool cand3plus() const
Definition: TgcL1RawData.h:287
TgcL1RawData_p1::m_pos
uint16_t m_pos
Definition: TgcL1RawData_p1.h:59
TgcL1RawData::isForward
bool isForward() const
Definition: TgcL1RawData.h:219