ATLAS Offline Software
Trigger
TrigT1
TrigT1RPChardware
TrigT1RPChardware
RPCRODDecode.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_RPCRODDecode_H
6
#define TrigT1RPChardware_RPCRODDecode_H
7
8
#include "
MuonCablingTools/BaseObject.h
"
9
#include "
TrigT1RPChardware/Lvl1Def.h
"
10
#include "
TrigT1RPChardware/RPCRODStructure.h
"
11
12
class
RPCRODDecode
:
public
BaseObject
{
13
public
:
14
RPCRODDecode
();
15
~RPCRODDecode
();
16
sbit32
gimeRODDataAddress
() {
return
m_RODDataAddress
; };
17
void
RODAddresses
(
const
RODword
*RODData,
const
sbit32
numberOfStatusElements,
const
sbit32
statusBlockPosition);
18
void
RODHeader
(
const
RODword
*
ROBData
);
19
int
pushWord
(
const
ubit16
inword,
uint
NOBXS);
20
int
pushWord
(
const
RODword
inword,
ubit16
j,
uint
NOBXS);
21
MatrixReadOut
*
CMFragment
() {
return
&
CMRO
; };
22
SectorLogicReadOut
*
SLFragment
() {
return
&
SLRO
; };
23
void
gimeCMROData
();
24
void
RODHeaderDisplay
();
25
//
26
// ROD structure control flags
27
//
28
ubit16
gimeCMFlag
() {
return
m_CMFlag
; };
29
ubit16
gimePADFlag
() {
return
m_PADFlag
; };
30
ubit16
gimeRXFlag
() {
return
m_RXFlag
; };
31
void
enablePrintOut
();
32
void
disablePrintOut
();
33
//
34
// ROD HEADER
35
//
36
RODword
headerMarker
;
37
RODword
headerSize
;
38
RODword
formatVersion
;
39
RODword
sourceIdentifier
;
40
RODword
Level1ID
;
41
RODword
BunchXingID
;
42
RODword
Level1Type
;
43
RODword
DetectorEventType
;
44
ubit16
SourceReserved
;
45
ubit16
SourceModuleType
;
46
ubit16
SourceSubDetectorID
;
47
ubit16
SourceModuleID
;
48
//
49
// Sector, PAd and Matrix identifiers
50
//
51
ubit16
SectorID
;
52
ubit16
PadID
;
53
ubit16
CMID
;
54
ubit16
CMFragCheck
;
55
//
56
// service objects
57
//
58
RXReadOutStructure
RXROS
;
59
PadReadOutStructure
PDROS
;
60
MatrixReadOutStructure
CMROS
;
61
MatrixReadOut
CMRO
;
62
SectorLogicReadOutStructure
SLROS
;
63
SectorLogicReadOut
SLRO
;
64
65
private
:
66
bool
m_isSLBody
;
67
//
68
// ROD Data address
69
//
70
sbit32
m_RODDataAddress
;
71
//
72
// define "previous" type of 16-bit data record
73
//
74
enum
recType
{
Empty
,
CMHead
,
CMSub
,
CMBod
,
CMFoot
,
PadHead
,
PadSub
,
PadPre
,
PadFoot
,
SLHead
,
SLFoot
,
RXHead
,
RXFoot
};
75
recType
m_previousRecord
;
76
//
77
// RPC data markers
78
//
79
ubit16
m_field
;
80
ubit16
m_noRecord16
;
81
RODword
m_noRecord32
;
82
// ubit16 PADSubHeader;
83
// ubit16 PADPreFooter;
84
// ubit16 reserved3;
85
ubit16
m_reserved4
;
86
// ubit16 reserved5;
87
//
88
// data structure control flags
89
//
90
ubit16
m_CMFlag
;
91
ubit16
m_PADFlag
;
92
ubit16
m_RXFlag
;
93
//
94
// enable printouts
95
//
96
bool
m_enablePrintOut
;
97
};
98
99
#endif
RPCRODDecode::sourceIdentifier
RODword sourceIdentifier
Definition:
RPCRODDecode.h:39
RPCRODStructure.h
RPCRODDecode::m_previousRecord
recType m_previousRecord
Definition:
RPCRODDecode.h:75
RPCRODDecode::SourceModuleType
ubit16 SourceModuleType
Definition:
RPCRODDecode.h:45
RPCRODDecode::CMSub
@ CMSub
Definition:
RPCRODDecode.h:74
RPCRODDecode::enablePrintOut
void enablePrintOut()
Definition:
RPCRODDecode.cxx:66
RPCRODDecode::CMROS
MatrixReadOutStructure CMROS
Definition:
RPCRODDecode.h:60
RPCRODDecode::RXFoot
@ RXFoot
Definition:
RPCRODDecode.h:74
RPCRODDecode::m_noRecord32
RODword m_noRecord32
Definition:
RPCRODDecode.h:81
PadReadOutStructure
Definition:
PadReadOutStructure.h:13
RPCRODDecode::RXROS
RXReadOutStructure RXROS
Definition:
RPCRODDecode.h:58
RPCRODDecode::CMHead
@ CMHead
Definition:
RPCRODDecode.h:74
RPCRODDecode::formatVersion
RODword formatVersion
Definition:
RPCRODDecode.h:38
SectorLogicReadOut
Definition:
SectorLogicReadOut.h:17
RPCRODDecode::Level1Type
RODword Level1Type
Definition:
RPCRODDecode.h:42
RODword
uint32_t RODword
Definition:
Lvl1Def.h:18
RPCRODDecode::PadHead
@ PadHead
Definition:
RPCRODDecode.h:74
ROBData_T
templete data class to wrap ROB fragment for accessing ROD data
Definition:
ROBData.h:46
RPCRODDecode::Level1ID
RODword Level1ID
Definition:
RPCRODDecode.h:40
RPCRODDecode::disablePrintOut
void disablePrintOut()
Definition:
RPCRODDecode.cxx:68
RPCRODDecode::CMBod
@ CMBod
Definition:
RPCRODDecode.h:74
RPCRODDecode::Empty
@ Empty
Definition:
RPCRODDecode.h:74
RPCRODDecode::m_RODDataAddress
sbit32 m_RODDataAddress
Definition:
RPCRODDecode.h:70
RPCRODDecode::recType
recType
Definition:
RPCRODDecode.h:74
RPCRODDecode::BunchXingID
RODword BunchXingID
Definition:
RPCRODDecode.h:41
RPCRODDecode::SourceSubDetectorID
ubit16 SourceSubDetectorID
Definition:
RPCRODDecode.h:46
BaseObject.h
sbit32
int32_t sbit32
Definition:
Lvl1Def.h:19
RPCRODDecode::m_PADFlag
ubit16 m_PADFlag
Definition:
RPCRODDecode.h:91
RPCRODDecode::gimeRODDataAddress
sbit32 gimeRODDataAddress()
Definition:
RPCRODDecode.h:16
RPCRODDecode::PadID
ubit16 PadID
Definition:
RPCRODDecode.h:52
RPCRODDecode::SLHead
@ SLHead
Definition:
RPCRODDecode.h:74
RPCRODDecode::CMFragment
MatrixReadOut * CMFragment()
Definition:
RPCRODDecode.h:21
RPCRODDecode::RXHead
@ RXHead
Definition:
RPCRODDecode.h:74
RPCRODDecode::m_enablePrintOut
bool m_enablePrintOut
Definition:
RPCRODDecode.h:96
RPCRODDecode::SLFragment
SectorLogicReadOut * SLFragment()
Definition:
RPCRODDecode.h:22
RPCRODDecode::PadPre
@ PadPre
Definition:
RPCRODDecode.h:74
RPCRODDecode::CMID
ubit16 CMID
Definition:
RPCRODDecode.h:53
RPCRODDecode::PadSub
@ PadSub
Definition:
RPCRODDecode.h:74
RPCRODDecode::RODHeader
void RODHeader(const RODword *ROBData)
Definition:
RPCRODDecode.cxx:784
MatrixReadOut
Definition:
MatrixReadOut.h:18
RPCRODDecode::DetectorEventType
RODword DetectorEventType
Definition:
RPCRODDecode.h:43
RPCRODDecode::SLFoot
@ SLFoot
Definition:
RPCRODDecode.h:74
uint
unsigned int uint
Definition:
LArOFPhaseFill.cxx:20
RPCRODDecode::RPCRODDecode
RPCRODDecode()
Definition:
RPCRODDecode.cxx:12
RPCRODDecode::m_field
ubit16 m_field
Definition:
RPCRODDecode.h:79
RPCRODDecode::SLRO
SectorLogicReadOut SLRO
Definition:
RPCRODDecode.h:63
RPCRODDecode::RODAddresses
void RODAddresses(const RODword *RODData, const sbit32 numberOfStatusElements, const sbit32 statusBlockPosition)
Definition:
RPCRODDecode.cxx:835
RPCRODDecode::m_CMFlag
ubit16 m_CMFlag
Definition:
RPCRODDecode.h:90
Lvl1Def.h
RPCRODDecode::gimePADFlag
ubit16 gimePADFlag()
Definition:
RPCRODDecode.h:29
RPCRODDecode::CMFragCheck
ubit16 CMFragCheck
Definition:
RPCRODDecode.h:54
RPCRODDecode
Definition:
RPCRODDecode.h:12
RPCRODDecode::gimeCMFlag
ubit16 gimeCMFlag()
Definition:
RPCRODDecode.h:28
RPCRODDecode::CMFoot
@ CMFoot
Definition:
RPCRODDecode.h:74
RPCRODDecode::m_RXFlag
ubit16 m_RXFlag
Definition:
RPCRODDecode.h:92
RPCRODDecode::PDROS
PadReadOutStructure PDROS
Definition:
RPCRODDecode.h:59
RPCRODDecode::CMRO
MatrixReadOut CMRO
Definition:
RPCRODDecode.h:61
RPCRODDecode::headerSize
RODword headerSize
Definition:
RPCRODDecode.h:37
BaseObject
Definition:
BaseObject.h:13
RPCRODDecode::m_isSLBody
bool m_isSLBody
Definition:
RPCRODDecode.h:66
MatrixReadOutStructure
Definition:
MatrixReadOutStructure.h:13
RPCRODDecode::~RPCRODDecode
~RPCRODDecode()
Definition:
RPCRODDecode.cxx:64
RPCRODDecode::RODHeaderDisplay
void RODHeaderDisplay()
Definition:
RPCRODDecode.cxx:846
RPCRODDecode::SectorID
ubit16 SectorID
Definition:
RPCRODDecode.h:51
SectorLogicReadOutStructure
Definition:
SectorLogicReadOutStructure.h:11
RPCRODDecode::gimeCMROData
void gimeCMROData()
Definition:
RPCRODDecode.cxx:738
RPCRODDecode::SLROS
SectorLogicReadOutStructure SLROS
Definition:
RPCRODDecode.h:62
RPCRODDecode::pushWord
int pushWord(const ubit16 inword, uint NOBXS)
Definition:
RPCRODDecode.cxx:86
RXReadOutStructure
Definition:
RXReadOutStructure.h:14
RPCRODDecode::headerMarker
RODword headerMarker
Definition:
RPCRODDecode.h:36
ubit16
unsigned short int ubit16
Definition:
RpcByteStreamEncoder.h:20
RPCRODDecode::gimeRXFlag
ubit16 gimeRXFlag()
Definition:
RPCRODDecode.h:30
RPCRODDecode::PadFoot
@ PadFoot
Definition:
RPCRODDecode.h:74
RPCRODDecode::SourceModuleID
ubit16 SourceModuleID
Definition:
RPCRODDecode.h:47
RPCRODDecode::SourceReserved
ubit16 SourceReserved
Definition:
RPCRODDecode.h:44
RPCRODDecode::m_noRecord16
ubit16 m_noRecord16
Definition:
RPCRODDecode.h:80
RPCRODDecode::m_reserved4
ubit16 m_reserved4
Definition:
RPCRODDecode.h:85
Generated on Sun Dec 22 2024 21:17:25 for ATLAS Offline Software by
1.8.18