ATLAS Offline Software
MuonSpectrometer
MuonRDO
src
NSW_PadTriggerSegment.cxx
Go to the documentation of this file.
1
#include "
MuonRDO/NSW_PadTriggerSegment.h
"
2
3
namespace
Muon
{
4
NSW_PadTriggerSegment::NSW_PadTriggerSegment
(
uint8_t
bandID,
uint8_t
phiID, std::array<uint8_t, 2> activeLayers)
5
: m_bandID(bandID), m_phiID(
phiID
), m_activeLayers(activeLayers) { }
6
7
uint8_t
NSW_PadTriggerSegment::bandID
()
const
noexcept {
8
return
m_bandID
;
9
}
10
11
uint8_t
NSW_PadTriggerSegment::phiID
()
const
noexcept {
12
return
m_phiID
;
13
}
14
15
const
std::array<uint8_t, 2>&
NSW_PadTriggerSegment::activeLayers
()
const
noexcept {
16
return
m_activeLayers
;
17
}
18
19
std::string
NSW_PadTriggerSegment::string
()
const
{
20
std::stringstream sstream{};
21
sstream <<
"band ID: "
<<
std::to_string
(
m_bandID
) <<
", phi ID: "
<<
std::to_string
(
m_phiID
)
22
<<
", inner active layers: "
<<
std::to_string
(
m_activeLayers
[0]) <<
", outer active layers: "
23
<<
std::to_string
(
m_activeLayers
[1]);
24
return
sstream.str();
25
}
26
27
MsgStream&
operator<<
(MsgStream&
stream
,
const
NSW_PadTriggerSegment
& rhs) {
28
return
stream
<< rhs.
string
();
29
}
30
31
std::ostream&
operator<<
(std::ostream&
stream
,
const
NSW_PadTriggerSegment
& rhs) {
32
return
stream
<< rhs.
string
();
33
}
34
35
}
// namespace Muon
Muon::nsw::STGTPSegments::MergedSegmentProperty::phiID
@ phiID
xAOD::uint8_t
uint8_t
Definition:
Muon_v1.cxx:557
Muon::NSW_PadTriggerSegment::m_phiID
uint8_t m_phiID
Definition:
NSW_PadTriggerSegment.h:27
Muon::NSW_PadTriggerSegment::activeLayers
const std::array< uint8_t, 2 > & activeLayers() const noexcept
Definition:
NSW_PadTriggerSegment.cxx:15
Muon::NSW_PadTriggerSegment::NSW_PadTriggerSegment
NSW_PadTriggerSegment()=default
NSW_PadTriggerSegment.h
const
bool const RAWDATA *ch2 const
Definition:
LArRodBlockPhysicsV0.cxx:560
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition:
TrackSystemController.h:45
AthenaPoolTestWrite.stream
string stream
Definition:
AthenaPoolTestWrite.py:12
Muon::NSW_PadTriggerSegment::bandID
uint8_t bandID() const noexcept
Definition:
NSW_PadTriggerSegment.cxx:7
Muon::NSW_PadTriggerSegment
Definition:
NSW_PadTriggerSegment.h:11
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition:
GeometryDefs.h:34
Muon::operator<<
std::ostream & operator<<(std::ostream &ostr, const Muon::HedgehogBoard &board)
Definition:
HedgehogBoard.cxx:11
Muon::NSW_PadTriggerSegment::m_activeLayers
std::array< uint8_t, 2 > m_activeLayers
Definition:
NSW_PadTriggerSegment.h:29
Muon::NSW_PadTriggerSegment::phiID
uint8_t phiID() const noexcept
Definition:
NSW_PadTriggerSegment.cxx:11
Muon::NSW_PadTriggerSegment::string
std::string string() const
Definition:
NSW_PadTriggerSegment.cxx:19
Muon::NSW_PadTriggerSegment::m_bandID
uint8_t m_bandID
Definition:
NSW_PadTriggerSegment.h:26
Generated on Thu Nov 7 2024 21:22:53 for ATLAS Offline Software by
1.8.18