ATLAS Offline Software
NSW_PadTriggerSegment.h
Go to the documentation of this file.
1 #ifndef MUONRDO_NSW_PADTRIGGERSEGMENT_H
2 #define MUONRDO_NSW_PADTRIGGERSEGMENT_H
3 
4 #include "GaudiKernel/MsgStream.h"
5 
6 #include <array>
7 #include <sstream>
8 #include <string>
9 
10 namespace Muon {
13 public:
14  NSW_PadTriggerSegment() = default;
16 
17  uint8_t bandID() const noexcept;
18  uint8_t phiID() const noexcept;
19  const std::array<uint8_t, 2>& activeLayers() const noexcept;
20 
21  std::string string() const;
22 
23  friend MsgStream& operator<<(MsgStream& stream, const NSW_PadTriggerSegment& rhs);
24  friend std::ostream& operator<<(std::ostream& stream, const NSW_PadTriggerSegment& rhs);
25 private:
28  // aka "coincidences", active layer count in each wedge ([0] = inner, [1] = outer)
29  std::array<uint8_t, 2> m_activeLayers{};
30 };
31 } // namespace Muon
32 
33 #endif // MUONRDO_NSW_PADTRIGGERSEGMENT_H
Muon::NSW_PadTriggerSegmentCnv_p1
Definition: NSW_PadTriggerSegmentCnv_p1.h:14
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
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
lumiFormat.array
array
Definition: lumiFormat.py:91
Muon::NSW_PadTriggerSegment
Definition: NSW_PadTriggerSegment.h:11
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
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::m_bandID
uint8_t m_bandID
Definition: NSW_PadTriggerSegment.h:26