ATLAS Offline Software
Loading...
Searching...
No Matches
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
12namespace Muon {
15 public:
16 NSW_MMTP_RawDataSegment (uint16_t trig_BCID, uint8_t trig_dTheta, uint8_t trig_rBin, uint8_t trig_phiBin);
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:
26 uint16_t m_trig_BCID{0};
27 uint8_t m_trig_dTheta{0};
28 uint8_t m_trig_rBin{0};
29 uint8_t m_trig_phiBin{0};
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
NSW_MMTP_RawDataSegment(uint16_t trig_BCID, uint8_t trig_dTheta, uint8_t trig_rBin, uint8_t trig_phiBin)
virtual ~NSW_MMTP_RawDataSegment()=default
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.