ATLAS Offline Software
NSW_MMTP_RawDataSegment.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONRDO_NSW_MMTP_RAWDATASEGMENT_H
6 #define MUONRDO_NSW_MMTP_RAWDATASEGMENT_H
7 
8 #include <inttypes.h>
9 #include <vector>
10 #include <iosfwd>
11 
12 namespace Muon {
15  public:
17  virtual ~NSW_MMTP_RawDataSegment() = default;
18 
19  uint16_t trig_BCID () const {return m_trig_BCID;};
20  uint8_t trig_dTheta () const {return m_trig_dTheta;};
21  uint8_t trig_rBin () const {return m_trig_rBin;};
22  uint8_t trig_phiBin () const {return m_trig_phiBin;};
23  bool trig_phiSign () const {return m_trig_phiSign;};
24 
25  private:
30  bool m_trig_phiSign{0}; // trig_phiBin from constructor is from decoder: 6 bits => 1 bit is sign, 5 bits for magnitude
31 
32  };
33 }
34 
35 #endif
Muon::NSW_MMTP_RawDataSegment::m_trig_rBin
uint8_t m_trig_rBin
Definition: NSW_MMTP_RawDataSegment.h:28
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
Muon::NSW_MMTP_RawDataSegment::m_trig_phiBin
uint8_t m_trig_phiBin
Definition: NSW_MMTP_RawDataSegment.h:29
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::NSW_MMTP_RawDataSegment::~NSW_MMTP_RawDataSegment
virtual ~NSW_MMTP_RawDataSegment()=default
Muon::NSW_MMTP_RawDataSegment::trig_phiBin
uint8_t trig_phiBin() const
Definition: NSW_MMTP_RawDataSegment.h:22
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
Muon::NSW_MMTP_RawDataSegment::m_trig_BCID
uint16_t m_trig_BCID
Definition: NSW_MMTP_RawDataSegment.h:26
Muon::NSW_MMTP_RawDataSegment::m_trig_dTheta
uint8_t m_trig_dTheta
Definition: NSW_MMTP_RawDataSegment.h:27
Muon::NSW_MMTP_RawDataSegment::trig_rBin
uint8_t trig_rBin() const
Definition: NSW_MMTP_RawDataSegment.h:21
Muon::NSW_MMTP_RawDataSegment::trig_dTheta
uint8_t trig_dTheta() const
Definition: NSW_MMTP_RawDataSegment.h:20
Muon::NSW_MMTP_RawDataSegment::m_trig_phiSign
bool m_trig_phiSign
Definition: NSW_MMTP_RawDataSegment.h:30
Muon::NSW_MMTP_RawDataSegment::NSW_MMTP_RawDataSegmentCnv_p1
friend class NSW_MMTP_RawDataSegmentCnv_p1
Definition: NSW_MMTP_RawDataSegment.h:14
Muon::NSW_MMTP_RawDataSegment::trig_phiSign
bool trig_phiSign() const
Definition: NSW_MMTP_RawDataSegment.h:23
Muon::NSW_MMTP_RawDataSegment::trig_BCID
uint16_t trig_BCID() const
Definition: NSW_MMTP_RawDataSegment.h:19
Muon::NSW_MMTP_RawDataSegment
Definition: NSW_MMTP_RawDataSegment.h:13
Muon::NSW_MMTP_RawDataSegment::NSW_MMTP_RawDataSegment
NSW_MMTP_RawDataSegment(uint16_t trig_BCID, uint8_t trig_dTheta, uint8_t trig_rBin, uint8_t trig_phiBin)
Definition: NSW_MMTP_RawDataSegment.cxx:7