ATLAS Offline Software
SubBlockHeader.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1CALOBYTESTREAM_SUBBLOCKHEADER_H
6 #define TRIGT1CALOBYTESTREAM_SUBBLOCKHEADER_H
7 
8 #include <cstdint>
9 
10 namespace LVL1BS {
11 
21 private:
23 public:
26  uint8_t type() const;
27  uint8_t version() const;
28  uint8_t format() const;
29  uint8_t seqNum() const;
30  uint8_t crate() const;
31  uint8_t module() const;
32  uint8_t nSlice2() const;
33  uint8_t nSlice1() const;
34  uint8_t compVer() const { return seqNum();}
35 
36  bool isPpmBlock() const;
37 
38  bool isSubBlockHeader() const;
39  static bool isSubBlockHeader(uint32_t word);
40 };
41 
42 
43 
44 } // end namespace
45 
46 #endif
LVL1BS::SubBlockHeader::seqNum
uint8_t seqNum() const
Definition: SubBlockHeader.cxx:41
LVL1BS::SubBlockHeader::format
uint8_t format() const
Definition: SubBlockHeader.cxx:38
header
Definition: hcg.cxx:526
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:575
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1BS::SubBlockHeader::crate
uint8_t crate() const
Definition: SubBlockHeader.cxx:44
LVL1BS::SubBlockHeader::type
uint8_t type() const
Definition: SubBlockHeader.cxx:32
LVL1BS::SubBlockHeader::nSlice1
uint8_t nSlice1() const
Definition: SubBlockHeader.cxx:53
LVL1BS::SubBlockHeader
L1Calo User Header class.
Definition: SubBlockHeader.h:20
LVL1BS::SubBlockHeader::isSubBlockHeader
bool isSubBlockHeader() const
Definition: SubBlockHeader.cxx:57
LVL1BS::SubBlockHeader::version
uint8_t version() const
Definition: SubBlockHeader.cxx:35
LVL1BS::SubBlockHeader::nSlice2
uint8_t nSlice2() const
Definition: SubBlockHeader.cxx:50
LVL1BS::SubBlockHeader::isPpmBlock
bool isPpmBlock() const
Definition: SubBlockHeader.cxx:65
LVL1BS::SubBlockHeader::compVer
uint8_t compVer() const
Definition: SubBlockHeader.h:34
LVL1BS::SubBlockHeader::module
uint8_t module() const
Definition: SubBlockHeader.cxx:47
LVL1BS::SubBlockHeader::SubBlockHeader
SubBlockHeader(uint32_t header=0x0)
Constructor - default just sets word ID and number of header words.
Definition: SubBlockHeader.cxx:27
LVL1BS
Definition: ZdcByteStreamReadV1V2Tool.h:47
LVL1BS::SubBlockHeader::m_header
uint32_t m_header
Definition: SubBlockHeader.h:22