ATLAS Offline Software
ZdcSubBlockHeader.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_ZDCSUBBLOCKHEADER_H
6 #define TRIGT1CALOBYTESTREAM_ZDCSUBBLOCKHEADER_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
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
ZdcSubBlockHeader::isPpmBlock
bool isPpmBlock() const
Definition: ZdcSubBlockHeader.cxx:63
ZdcSubBlockHeader::module
uint8_t module() const
Definition: ZdcSubBlockHeader.cxx:45
ZdcSubBlockHeader
L1Calo User Header class.
Definition: ZdcSubBlockHeader.h:20
ZdcSubBlockHeader::format
uint8_t format() const
Definition: ZdcSubBlockHeader.cxx:36
ZdcSubBlockHeader::version
uint8_t version() const
Definition: ZdcSubBlockHeader.cxx:33
ZdcSubBlockHeader::nSlice1
uint8_t nSlice1() const
Definition: ZdcSubBlockHeader.cxx:51
ZdcSubBlockHeader::type
uint8_t type() const
Definition: ZdcSubBlockHeader.cxx:30
ZdcSubBlockHeader::m_header
uint32_t m_header
Definition: ZdcSubBlockHeader.h:22
ZdcSubBlockHeader::compVer
uint8_t compVer() const
Definition: ZdcSubBlockHeader.h:34
ZdcSubBlockHeader::nSlice2
uint8_t nSlice2() const
Definition: ZdcSubBlockHeader.cxx:48
ZdcSubBlockHeader::seqNum
uint8_t seqNum() const
Definition: ZdcSubBlockHeader.cxx:39
ZdcSubBlockHeader::crate
uint8_t crate() const
Definition: ZdcSubBlockHeader.cxx:42
ZdcSubBlockHeader::ZdcSubBlockHeader
ZdcSubBlockHeader(uint32_t header=0x0)
Constructor - default just sets word ID and number of header words.
Definition: ZdcSubBlockHeader.cxx:25
ZdcSubBlockHeader::isSubBlockHeader
bool isSubBlockHeader() const
Definition: ZdcSubBlockHeader.cxx:55