ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1RPChardware
TrigT1RPChardware
PadReadOut.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TrigT1RPChardware_PadReadOut_H
6
#define TrigT1RPChardware_PadReadOut_H
7
8
#include "
MuonCablingTools/BaseObject.h
"
9
#include "
TrigT1RPChardware/Lvl1Def.h
"
10
#include "
TrigT1RPChardware/MatrixReadOut.h
"
11
#include "
TrigT1RPChardware/Pad.h
"
12
#include "
TrigT1RPChardware/PadReadOutStructure.h
"
13
#include "
TrigT1RPChardware/crc8.h
"
14
15
class
PadReadOut
:
public
BaseObject
{
16
public
:
17
PadReadOut
(
ubit16
padID,
MatrixReadOut
*MROlist[8]);
18
~PadReadOut
();
19
void
reset
();
20
void
makeFragment
();
21
void
makeHeader
();
22
void
makeFooter
();
23
void
makeBody
(
bool
debugPrint =
false
);
24
ubit16
readHeader
();
25
ubit16
readFooter
();
26
ubit16
readBody
();
27
void
topPADBody
();
28
ubit16
readPADWord
();
29
ubit16
numberOfFragmentWords
() {
return
m_numberOfWordsInFragment
; };
30
ubit16
numberOfCMROFragments
() {
return
m_numberOfCMFragments
; };
31
void
bytestream
(std::ostream &stream);
32
void
decodeBytestream
();
33
PadReadOutStructure
getHeader
();
34
PadReadOutStructure
getFooter
();
35
36
private
:
37
//
38
// control flags for Body scanninng ...
39
//
40
ubit16
m_addressOfWordScanned
;
41
ubit16
m_numberOfCMFragments
;
42
ubit16
m_numberOfWordsInFragment
;
43
ubit16
m_newCMIndex
;
44
ubit16
m_newCMRO
;
45
ubit16
m_numberOfWordsRead
;
46
ubit16
m_numberOfWordsInCMRO
;
47
ubit16
m_endOfCMFragments
;
48
MatrixReadOut
*
m_currentCMRO
;
49
//
50
//
51
PadReadOutStructure
m_PROS
;
52
MatrixReadOut
*
m_MROlist
[8];
53
ubit16
m_padID
;
54
ubit16
m_Header
;
55
MatrixReadOut
*
m_CMAFragment
[8];
56
ubit16
m_Footer
;
57
};
58
#endif
BaseObject.h
Lvl1Def.h
MatrixReadOut.h
PadReadOutStructure.h
Pad.h
ubit16
unsigned short int ubit16
Definition
RpcByteStreamEncoder.h:20
BaseObject::BaseObject
BaseObject(ObjectType, const std::string &)
Definition
BaseObject.cxx:7
MatrixReadOut
Definition
MatrixReadOut.h:18
PadReadOutStructure
Definition
PadReadOutStructure.h:13
PadReadOut::topPADBody
void topPADBody()
Definition
PadReadOut.cxx:41
PadReadOut::m_addressOfWordScanned
ubit16 m_addressOfWordScanned
Definition
PadReadOut.h:40
PadReadOut::readFooter
ubit16 readFooter()
Definition
PadReadOut.cxx:120
PadReadOut::getFooter
PadReadOutStructure getFooter()
Definition
PadReadOut.cxx:204
PadReadOut::makeFooter
void makeFooter()
Definition
PadReadOut.cxx:67
PadReadOut::m_MROlist
MatrixReadOut * m_MROlist[8]
Definition
PadReadOut.h:52
PadReadOut::readHeader
ubit16 readHeader()
Definition
PadReadOut.cxx:118
PadReadOut::reset
void reset()
Definition
PadReadOut.cxx:31
PadReadOut::m_CMAFragment
MatrixReadOut * m_CMAFragment[8]
Definition
PadReadOut.h:55
PadReadOut::bytestream
void bytestream(std::ostream &stream)
Definition
PadReadOut.cxx:167
PadReadOut::readBody
ubit16 readBody()
Definition
PadReadOut.cxx:122
PadReadOut::m_newCMIndex
ubit16 m_newCMIndex
Definition
PadReadOut.h:43
PadReadOut::m_numberOfWordsInFragment
ubit16 m_numberOfWordsInFragment
Definition
PadReadOut.h:42
PadReadOut::makeHeader
void makeHeader()
Definition
PadReadOut.cxx:57
PadReadOut::getHeader
PadReadOutStructure getHeader()
Definition
PadReadOut.cxx:199
PadReadOut::m_padID
ubit16 m_padID
Definition
PadReadOut.h:53
PadReadOut::m_currentCMRO
MatrixReadOut * m_currentCMRO
Definition
PadReadOut.h:48
PadReadOut::~PadReadOut
~PadReadOut()
Definition
PadReadOut.cxx:29
PadReadOut::numberOfFragmentWords
ubit16 numberOfFragmentWords()
Definition
PadReadOut.h:29
PadReadOut::readPADWord
ubit16 readPADWord()
Definition
PadReadOut.cxx:155
PadReadOut::numberOfCMROFragments
ubit16 numberOfCMROFragments()
Definition
PadReadOut.h:30
PadReadOut::m_Header
ubit16 m_Header
Definition
PadReadOut.h:54
PadReadOut::makeBody
void makeBody(bool debugPrint=false)
Definition
PadReadOut.cxx:74
PadReadOut::PadReadOut
PadReadOut(ubit16 padID, MatrixReadOut *MROlist[8])
Definition
PadReadOut.cxx:15
PadReadOut::m_newCMRO
ubit16 m_newCMRO
Definition
PadReadOut.h:44
PadReadOut::m_numberOfWordsRead
ubit16 m_numberOfWordsRead
Definition
PadReadOut.h:45
PadReadOut::m_endOfCMFragments
ubit16 m_endOfCMFragments
Definition
PadReadOut.h:47
PadReadOut::decodeBytestream
void decodeBytestream()
Definition
PadReadOut.cxx:175
PadReadOut::makeFragment
void makeFragment()
Definition
PadReadOut.cxx:51
PadReadOut::m_PROS
PadReadOutStructure m_PROS
Definition
PadReadOut.h:51
PadReadOut::m_Footer
ubit16 m_Footer
Definition
PadReadOut.h:56
PadReadOut::m_numberOfWordsInCMRO
ubit16 m_numberOfWordsInCMRO
Definition
PadReadOut.h:46
PadReadOut::m_numberOfCMFragments
ubit16 m_numberOfCMFragments
Definition
PadReadOut.h:41
crc8.h
Generated on
for ATLAS Offline Software by
1.17.0