ATLAS Offline Software
Loading...
Searching...
No Matches
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
6#include "GaudiKernel/MsgStream.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
virtual void transToPers(const TgcL1RawData *transObj, TgcL1RawData_p1 *persObj, MsgStream &)
virtual void persToTrans(const TgcL1RawData_p1 *persObj, TgcL1RawData *transObj, MsgStream &)
uint16_t m_subDetectorId
An unit object of TGC SROD output.
DataType m_type
uint16_t m_bitpos
uint16_t bitpos() const
uint16_t chip() const
uint16_t tracklet() const
uint16_t m_subMatrix
uint16_t bcId() const
bool isHipt() const
uint16_t m_threshold
uint16_t subDetectorId() const
uint16_t m_roi
uint16_t hitId() const
uint16_t srodId() const
uint16_t m_pos
int16_t delta() const
bool isAdjacent() const
uint16_t roi() const
uint16_t sector() const
uint16_t position() const
uint16_t inner() const
uint16_t bcTag() const
bool isOverlap() const
uint16_t hsub() const
uint16_t m_tracklet
bool isStrip() const
uint16_t l1Id() const
uint16_t threshold() const
DataType type() const
bool isMuplus() const
uint16_t segment() const
bool isVeto() const
bool isForward() const
uint16_t subMatrix() const
uint16_t m_segment
bool cand3plus() const
uint16_t index() const