ATLAS Offline Software
RPCRXRODDecode.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigT1RPChardware_RPCRXRODDecode_H
6 #define TrigT1RPChardware_RPCRXRODDecode_H
7 
12 
13 class RPCRXRODDecode : public BaseObject {
14 public:
18  void RODAddresses(const RODword *RODData, const sbit32 numberOfStatusElements, const sbit32 statusBlockPosition);
19  void RODHeader(const RODword *ROBData);
20  int pushWord(const ubit16 inword, uint NOBXS);
21  int pushWord(const RODword inword, ubit16 j, uint NOBXS);
22  MatrixReadOut *CMFragment() { return &CMRO; };
24  void gimeCMROData();
25  void RODHeaderDisplay();
26  //
27  // ROD structure control flags
28  //
29  ubit16 gimeCMFlag() { return m_CMFlag; };
30  ubit16 gimePADFlag() { return m_PADFlag; };
31  ubit16 gimeRXFlag() { return m_RXFlag; };
32  void enablePrintOut();
33  void disablePrintOut();
34  //
35  // Special for sector logic
36  //
37  void setSLFragmentFound(bool slFound) { m_slFound = slFound; };
38 
39  //
40  // ROD HEADER
41  //
54  //
55  // Sector, PAd and Matrix identifiers
56  //
61  //
62  // service objects
63  //
70 
71 private:
72  bool m_isSLBody;
73  //
74  // ROD Data address
75  //
77  //
78  // define "previous" type of 16-bit data record
79  //
82  //
83  // RPC data markers
84  //
88  // ubit16 PADSubHeader;
89  // ubit16 PADPreFooter;
90  // ubit16 reserved3;
92  // ubit16 reserved5;
93  //
94  // data structure control flags
95  //
99  //
100  // enable printouts
101  //
103  //
104  // the SL fragment was ound
105  bool m_slFound;
106 };
107 
108 #endif
RPCRXRODDecode::headerSize
RODword headerSize
Definition: RPCRXRODDecode.h:43
RPCRODStructure.h
RPCRXRODDecode::PadID
ubit16 PadID
Definition: RPCRXRODDecode.h:58
RPCRXRODDecode::m_enablePrintOut
bool m_enablePrintOut
Definition: RPCRXRODDecode.h:102
RPCRXRODDecode::PadFoot
@ PadFoot
Definition: RPCRXRODDecode.h:80
RPCRXRODDecode::recType
recType
Definition: RPCRXRODDecode.h:80
PadReadOutStructure
Definition: PadReadOutStructure.h:13
RPCRXRODDecode::m_field
ubit16 m_field
Definition: RPCRXRODDecode.h:85
RPCRXRODDecode::Empty
@ Empty
Definition: RPCRXRODDecode.h:80
RODword
uint32_t RODword
Definition: Lvl1Def.h:18
RPCRXRODDecode::SLROS
SectorLogicRXReadOutStructure SLROS
Definition: RPCRXRODDecode.h:68
RPCRXRODDecode::SLFoot
@ SLFoot
Definition: RPCRXRODDecode.h:80
SectorLogicRXReadOut
Definition: SectorLogicRXReadOut.h:17
ROBData_T
templete data class to wrap ROB fragment for accessing ROD data
Definition: ROBData.h:46
RPCRXRODDecode::SLHead
@ SLHead
Definition: RPCRXRODDecode.h:80
RPCRXRODDecode::CMFragCheck
ubit16 CMFragCheck
Definition: RPCRXRODDecode.h:60
RPCRXRODDecode::sourceIdentifier
RODword sourceIdentifier
Definition: RPCRXRODDecode.h:45
RPCRXRODDecode::RPCRXRODDecode
RPCRXRODDecode()
Definition: RPCRXRODDecode.cxx:12
RPCRXRODDecode::RXFoot
@ RXFoot
Definition: RPCRXRODDecode.h:80
RPCRXRODDecode::gimePADFlag
ubit16 gimePADFlag()
Definition: RPCRXRODDecode.h:30
RPCRXRODDecode::Level1ID
RODword Level1ID
Definition: RPCRXRODDecode.h:46
RPCRXRODDecode::CMRO
MatrixReadOut CMRO
Definition: RPCRXRODDecode.h:67
RPCRXRODDecode::DetectorEventType
RODword DetectorEventType
Definition: RPCRXRODDecode.h:49
SectorLogicRXReadOutStructure
Definition: SectorLogicRXReadOutStructure.h:13
RPCRXRODDecode::CMBod
@ CMBod
Definition: RPCRXRODDecode.h:80
BaseObject.h
sbit32
int32_t sbit32
Definition: Lvl1Def.h:19
RPCRXRODDecode::gimeRODDataAddress
sbit32 gimeRODDataAddress()
Definition: RPCRXRODDecode.h:17
RPCRXRODDecode::CMSub
@ CMSub
Definition: RPCRXRODDecode.h:80
RPCRXRODDecode::PadPre
@ PadPre
Definition: RPCRXRODDecode.h:80
RPCRXRODDecode::gimeCMFlag
ubit16 gimeCMFlag()
Definition: RPCRXRODDecode.h:29
MatrixReadOut
Definition: MatrixReadOut.h:18
uint
unsigned int uint
Definition: LArOFPhaseFill.cxx:20
RPCRXRODDecode::~RPCRXRODDecode
~RPCRXRODDecode()
Definition: RPCRXRODDecode.cxx:65
RPCRXRODDecode::RODAddresses
void RODAddresses(const RODword *RODData, const sbit32 numberOfStatusElements, const sbit32 statusBlockPosition)
Definition: RPCRXRODDecode.cxx:853
RPCRXRODDecode::RXROS
RXReadOutStructure RXROS
Definition: RPCRXRODDecode.h:64
RPCRXRODDecode::CMFoot
@ CMFoot
Definition: RPCRXRODDecode.h:80
RPCRXRODDecode::BunchXingID
RODword BunchXingID
Definition: RPCRXRODDecode.h:47
Lvl1Def.h
RPCRXRODDecode::Level1Type
RODword Level1Type
Definition: RPCRXRODDecode.h:48
RPCRXRODDecode::m_CMFlag
ubit16 m_CMFlag
Definition: RPCRXRODDecode.h:96
RPCRXRODDecode::CMID
ubit16 CMID
Definition: RPCRXRODDecode.h:59
RPCRXRODDecode::SLRO
SectorLogicRXReadOut SLRO
Definition: RPCRXRODDecode.h:69
RPCRXRODDecode::SourceReserved
ubit16 SourceReserved
Definition: RPCRXRODDecode.h:50
RPCRXRODDecode::enablePrintOut
void enablePrintOut()
Definition: RPCRXRODDecode.cxx:67
RPCRXRODDecode
Definition: RPCRXRODDecode.h:13
RPCRXRODDecode::m_previousRecord
recType m_previousRecord
Definition: RPCRXRODDecode.h:81
RPCRXRODDecode::m_RODDataAddress
sbit32 m_RODDataAddress
Definition: RPCRXRODDecode.h:76
RPCRXRODDecode::setSLFragmentFound
void setSLFragmentFound(bool slFound)
Definition: RPCRXRODDecode.h:37
RPCRXRODDecode::RODHeader
void RODHeader(const RODword *ROBData)
Definition: RPCRXRODDecode.cxx:802
RPCRXRODDecode::disablePrintOut
void disablePrintOut()
Definition: RPCRXRODDecode.cxx:69
RPCRXRODDecode::gimeRXFlag
ubit16 gimeRXFlag()
Definition: RPCRXRODDecode.h:31
RPCRXRODDecode::m_reserved4
ubit16 m_reserved4
Definition: RPCRXRODDecode.h:91
BaseObject
Definition: BaseObject.h:13
RPCRXRODDecode::gimeCMROData
void gimeCMROData()
Definition: RPCRXRODDecode.cxx:756
MatrixReadOutStructure
Definition: MatrixReadOutStructure.h:13
RPCRXRODDecode::RXHead
@ RXHead
Definition: RPCRXRODDecode.h:80
RPCRXRODDecode::SourceSubDetectorID
ubit16 SourceSubDetectorID
Definition: RPCRXRODDecode.h:52
RPCRXRODDecode::m_RXFlag
ubit16 m_RXFlag
Definition: RPCRXRODDecode.h:98
RPCRXRODDecode::CMROS
MatrixReadOutStructure CMROS
Definition: RPCRXRODDecode.h:66
RPCRXRODDecode::m_noRecord16
ubit16 m_noRecord16
Definition: RPCRXRODDecode.h:86
RPCRXRODDecode::PadHead
@ PadHead
Definition: RPCRXRODDecode.h:80
SectorLogicRXReadOut.h
RPCRXRODDecode::CMFragment
MatrixReadOut * CMFragment()
Definition: RPCRXRODDecode.h:22
RPCRXRODDecode::formatVersion
RODword formatVersion
Definition: RPCRXRODDecode.h:44
RXReadOutStructure
Definition: RXReadOutStructure.h:14
RPCRXRODDecode::pushWord
int pushWord(const ubit16 inword, uint NOBXS)
Definition: RPCRXRODDecode.cxx:87
RPCRXRODDecode::headerMarker
RODword headerMarker
Definition: RPCRXRODDecode.h:37
RPCRXRODDecode::SLFragment
SectorLogicRXReadOut * SLFragment()
Definition: RPCRXRODDecode.h:23
RPCRXRODDecode::SourceModuleType
ubit16 SourceModuleType
Definition: RPCRXRODDecode.h:51
RPCRXRODDecode::CMHead
@ CMHead
Definition: RPCRXRODDecode.h:80
ubit16
unsigned short int ubit16
Definition: RpcByteStreamEncoder.h:20
RPCRXRODDecode::PadSub
@ PadSub
Definition: RPCRXRODDecode.h:80
RPCRXRODDecode::m_slFound
bool m_slFound
Definition: RPCRXRODDecode.h:105
RPCRXRODDecode::m_noRecord32
RODword m_noRecord32
Definition: RPCRXRODDecode.h:87
RPCRXRODDecode::RODHeaderDisplay
void RODHeaderDisplay()
Definition: RPCRXRODDecode.cxx:864
RPCRXRODDecode::m_isSLBody
bool m_isSLBody
Definition: RPCRXRODDecode.h:72
RPCRXRODDecode::m_PADFlag
ubit16 m_PADFlag
Definition: RPCRXRODDecode.h:97
RPCRXRODDecode::SectorID
ubit16 SectorID
Definition: RPCRXRODDecode.h:57
RPCRXRODDecode::SourceModuleID
ubit16 SourceModuleID
Definition: RPCRXRODDecode.h:53
RPCRXRODDecode::PDROS
PadReadOutStructure PDROS
Definition: RPCRXRODDecode.h:65