ATLAS Offline Software
SectorLogicRXReadOut.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_SectorLogicRXReadOut_H
6 #define TrigT1RPChardware_SectorLogicRXReadOut_H
7 
8 #include <iostream>
9 
13 #include "TrigT1RPChardware/Pad.h"
15 #include "TrigT1RPChardware/crc8.h"
16 
18 public:
21  void initialize();
22  void reset();
23 
24  void writeRecord(ubit16 thisRecord, bool last);
25 
28 
31  //
32  void display(std::ostream &stream);
33  // bool checkFragment();
34  //
35  //*********************************************************//
36  // overload of "inseritore" operator //
37  //*********************************************************//
38  friend std::ostream &operator<<(std::ostream &stream, SectorLogicRXReadOut *p) {
39  p->display(stream);
40  return stream;
41  }
42  friend std::ostream &operator<<(std::ostream &stream, SectorLogicRXReadOut &p) {
43  p.display(stream);
44  return stream;
45  }
46  //*********************************************************//
47 
48 private:
49  void deleteSLBody();
50  void makeNewHit(ubit16 newHit);
51 
52  struct SLRXROData {
55  };
56 
63 
64  //*******************************************************//
65  SLRXROData *m_BodyLast; // pointer to the last hit recorded
66  SLRXROData *m_BodyCurr; // pointer to the current hit scanned
67  //*******************************************************//
68  // uint16_t m_lastHit;
69 };
70 #endif
SectorLogicRXReadOut::m_SubHeader
uint16_t m_SubHeader
Definition: SectorLogicRXReadOut.h:58
SectorLogicRXReadOut::m_BodyCurr
SLRXROData * m_BodyCurr
Definition: SectorLogicRXReadOut.h:66
SectorLogicRXReadOut::display
void display(std::ostream &stream)
Definition: SectorLogicRXReadOut.cxx:118
SectorLogicRXReadOut::m_BodyFirst
SLRXROData * m_BodyFirst
Definition: SectorLogicRXReadOut.h:60
SectorLogicRXReadOut::reset
void reset()
Definition: SectorLogicRXReadOut.cxx:66
crc8.h
SectorLogicRXReadOut
Definition: SectorLogicRXReadOut.h:17
SectorLogicRXReadOut::SLRXROData::hit
uint16_t hit
Definition: SectorLogicRXReadOut.h:53
SectorLogicRXReadOut::makeNewHit
void makeNewHit(ubit16 newHit)
Definition: SectorLogicRXReadOut.cxx:90
SectorLogicRXReadOut::SLRXROData::next
SLRXROData * next
Definition: SectorLogicRXReadOut.h:54
SectorLogicRXReadOut::initialize
void initialize()
Definition: SectorLogicRXReadOut.cxx:45
SectorLogicRXReadOut::numberOfFragmentWords
uint16_t numberOfFragmentWords()
Definition: SectorLogicRXReadOut.h:26
BaseObject.h
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
SectorLogicRXReadOut::SectorLogicRXReadOut
SectorLogicRXReadOut()
Definition: SectorLogicRXReadOut.cxx:17
SectorLogicRXReadOut::writeRecord
void writeRecord(ubit16 thisRecord, bool last)
Definition: SectorLogicRXReadOut.cxx:76
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
SectorLogicRXReadOutStructure.h
SectorLogicRXReadOut::m_numberOfWordsInFrag
uint16_t m_numberOfWordsInFrag
Definition: SectorLogicRXReadOut.h:61
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
SectorLogicRXReadOut::operator<<
friend std::ostream & operator<<(std::ostream &stream, SectorLogicRXReadOut &p)
Definition: SectorLogicRXReadOut.h:42
Lvl1Def.h
SectorLogicRXReadOut::m_numberOfInputWords
uint16_t m_numberOfInputWords
Definition: SectorLogicRXReadOut.h:62
SectorLogicRXReadOut::numberOfInputWords
uint16_t numberOfInputWords()
Definition: SectorLogicRXReadOut.h:27
SectorLogicRXReadOut::m_BodyLast
SLRXROData * m_BodyLast
Definition: SectorLogicRXReadOut.h:65
SectorLogicRXReadOut::deleteSLBody
void deleteSLBody()
Definition: SectorLogicRXReadOut.cxx:28
SectorLogicRXReadOut::m_Header
uint16_t m_Header
Definition: SectorLogicRXReadOut.h:57
SectorLogicRXReadOut::m_Footer
uint16_t m_Footer
Definition: SectorLogicRXReadOut.h:59
SectorLogicRXReadOut::topSLBody
void topSLBody()
Definition: SectorLogicRXReadOut.h:29
BaseObject
Definition: BaseObject.h:13
Pad.h
SectorLogicRXReadOut::operator<<
friend std::ostream & operator<<(std::ostream &stream, SectorLogicRXReadOut *p)
Definition: SectorLogicRXReadOut.h:38
SectorLogicRXReadOut::readSLHitCurrent
uint16_t readSLHitCurrent()
Definition: SectorLogicRXReadOut.cxx:107
ubit16
unsigned short int ubit16
Definition: RpcByteStreamEncoder.h:20
SectorLogicRXReadOut::SLRXROData
Definition: SectorLogicRXReadOut.h:52
MatrixReadOut.h
SectorLogicRXReadOut::~SectorLogicRXReadOut
~SectorLogicRXReadOut()
Definition: SectorLogicRXReadOut.cxx:20