ATLAS Offline Software
MuonSpectrometer
MuonRDO
src
NSW_TrigRawData.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuonRDO/NSW_TrigRawData.h
"
6
7
Muon::NSW_TrigRawData::NSW_TrigRawData
() :
8
DataVector
<
Muon
::
NSW_TrigRawDataSegment
>(),
9
m_sectorId(0),
10
m_sectorSide(
'-'
),
11
m_bcId(0)
12
{
13
14
}
15
16
Muon::NSW_TrigRawData::NSW_TrigRawData
(
uint16_t
sectorId,
uint16_t
bcId
) :
17
DataVector
<
Muon
::
NSW_TrigRawDataSegment
>(),
18
m_sectorId(sectorId),
19
m_sectorSide(
'-'
),
20
m_bcId(
bcId
)
21
{
22
23
}
24
25
Muon::NSW_TrigRawData::NSW_TrigRawData
(
uint16_t
sectorId,
char
sectorSide,
uint16_t
bcId
) :
26
DataVector
<
Muon
::
NSW_TrigRawDataSegment
>(),
27
m_sectorId(sectorId),
28
m_sectorSide(sectorSide),
29
m_bcId(
bcId
)
30
{
31
32
}
33
34
Muon::NSW_TrigRawData::NSW_TrigRawData
(
const
Muon::NSW_TrigRawData
&trd,
const
bool
phiResBit) :
35
DataVector
<
Muon
::
NSW_TrigRawDataSegment
>()
36
{
37
m_sectorId
= trd.
m_sectorId
;
38
m_sectorSide
= trd.
m_sectorSide
;
39
m_bcId
= trd.
m_bcId
;
40
for
(
const
auto
*
const
rawSegment : trd) {
41
Muon::NSW_TrigRawDataSegment
* trigRawDataSegment =
new
Muon::NSW_TrigRawDataSegment
(*rawSegment);
42
trigRawDataSegment->
setPhiRes
(phiResBit);
// Although the format being the same, this is different for sTGC(true) and MM(false)
43
this->
push_back
(trigRawDataSegment);
44
}
45
}
46
Muon::NSW_TrigRawData::m_bcId
uint16_t m_bcId
Definition:
NSW_TrigRawData.h:33
Muon::NSW_TrigRawData::m_sectorSide
char m_sectorSide
Definition:
NSW_TrigRawData.h:32
Muon::NSW_TrigRawData
Definition:
NSW_TrigRawData.h:15
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition:
TrackSystemController.h:45
Muon::NSW_TrigRawData::NSW_TrigRawData
NSW_TrigRawData()
Definition:
NSW_TrigRawData.cxx:7
xAOD::uint16_t
setWord1 uint16_t
Definition:
eFexEMRoI_v1.cxx:93
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
Muon::NSW_TrigRawDataSegment
Definition:
NSW_TrigRawDataSegment.h:15
bcId
uint16_t bcId(uint32_t data)
Definition:
TgcByteStreamData.h:326
DataVector< Muon::NSW_TrigRawDataSegment >::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
Muon::NSW_TrigRawData::m_sectorId
uint16_t m_sectorId
Definition:
NSW_TrigRawData.h:31
NSW_TrigRawData.h
Muon::NSW_TrigRawDataSegment::setPhiRes
void setPhiRes(bool phiRes)
Definition:
NSW_TrigRawDataSegment.h:42
Generated on Sun Dec 22 2024 21:15:45 for ATLAS Offline Software by
1.8.18