ATLAS Offline Software
Trigger
TrigT1
L1Topo
L1TopoRDO
L1TopoRDO
Status.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 L1TOPORDO_STATUS_H
6
#define L1TOPORDO_STATUS_H
7
8
#include <cstdint>
9
#include <iostream>
10
11
12
namespace
L1Topo
{
19
class
Status
{
20
public
:
22
Status
(
const
uint32_t
overflow
,
const
uint32_t
crc
);
24
Status
(
const
uint32_t
word
);
26
uint32_t
overflow
()
const
;
28
uint32_t
crc
()
const
;
30
uint32_t
word
()
const
;
31
protected
:
33
void
decode
();
35
void
encode
();
36
private
:
38
uint32_t
m_overflow
;
40
uint32_t
m_crc
;
42
uint32_t
m_word
;
43
};
44
std::ostream&
operator<<
(std::ostream&,
const
Status
&);
45
46
}
// namespace L1Topo
47
49
50
#endif // L1TOPORDO_FIBRE_H
L1Topo::Status::encode
void encode()
method used by constructor to encode word
Definition:
Status.cxx:22
L1Topo::operator<<
std::ostream & operator<<(std::ostream &, const Error)
Helper to print errors as text rather than numbers.
Definition:
Error.cxx:8
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
L1Topo::Status::Status
Status(const uint32_t overflow, const uint32_t crc)
Construct from contents and encode word.
Definition:
Status.cxx:12
L1Topo::Status
Represents the L1Topo status word of the L1Topo DAQ header, with decoder and encoder.
Definition:
Status.h:19
L1Topo::Status::m_overflow
uint32_t m_overflow
overflow flag
Definition:
Status.h:38
L1Topo::Status::m_crc
uint32_t m_crc
CRC mismatch flag.
Definition:
Status.h:40
L1Topo::Status::decode
void decode()
method used by constructor to decode word
Definition:
Status.cxx:28
L1Topo::Status::crc
uint32_t crc() const
access method
Definition:
Status.cxx:41
L1Topo::Status::word
uint32_t word() const
access method
Definition:
Status.cxx:33
L1Topo::Status::overflow
uint32_t overflow() const
access method
Definition:
Status.cxx:37
L1Topo
Definition:
BlockTypes.h:11
L1Topo::Status::m_word
uint32_t m_word
The raw data representation.
Definition:
Status.h:42
Generated on Sun Dec 22 2024 21:18:28 for ATLAS Offline Software by
1.8.18