ATLAS Offline Software
Trigger
TrigT1
L1Topo
L1TopoRDO
L1TopoRDO
L1TopoFPGA.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 L1TOPORDO_L1TOPOFPGA_H
6
#define L1TOPORDO_L1TOPOFPGA_H
7
8
#include <cstdint>
9
#include <iostream>
10
11
12
namespace
L1Topo
{
13
14
class
L1TopoFPGA
{
15
public
:
17
L1TopoFPGA
(
const
uint32_t
trailer1,
const
uint32_t
trailer2);
19
uint32_t
fpgaTrailer1
()
const
;
20
uint32_t
fpgaTrailer2
()
const
;
21
size_t
fpgaBlockSize
()
const
;
22
uint32_t
topoNumber
()
const
;
23
uint32_t
fpgaNumber
()
const
;
24
uint32_t
numSlices
()
const
;
25
uint32_t
sliceNumber
()
const
;
26
uint32_t
crc
()
const
;
27
bool
ct
()
const
;
28
bool
sm
()
const
;
29
bool
pe
()
const
;
30
bool
lm
()
const
;
31
bool
hm
()
const
;
32
bool
pt
()
const
;
33
34
protected
:
36
void
decode
();
37
private
:
39
uint32_t
m_fpgaTrailer1
;
40
uint32_t
m_fpgaTrailer2
;
41
42
size_t
m_fpgaBlockSize
;
43
44
uint32_t
m_topoNumber
;
45
uint32_t
m_fpgaNumber
;
46
uint32_t
m_numSlices
;
47
uint32_t
m_sliceNumber
;
48
uint32_t
m_crc
;
49
50
bool
m_ct
;
51
bool
m_sm
;
52
bool
m_pe
;
53
bool
m_lm
;
54
bool
m_hm
;
55
bool
m_pt
;
56
57
};
58
std::ostream&
operator<<
(std::ostream&,
const
L1TopoFPGA
&);
59
60
}
// namespace L1Topo
61
62
#endif // L1TOPORDO_L1TOPOFPGA_H
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::L1TopoFPGA::m_fpgaBlockSize
size_t m_fpgaBlockSize
Definition:
L1TopoFPGA.h:42
L1Topo::L1TopoFPGA::m_ct
bool m_ct
Definition:
L1TopoFPGA.h:50
L1Topo::L1TopoFPGA::pt
bool pt() const
Definition:
L1TopoFPGA.cxx:84
L1Topo::L1TopoFPGA::m_pt
bool m_pt
Definition:
L1TopoFPGA.h:55
L1Topo::L1TopoFPGA::m_lm
bool m_lm
Definition:
L1TopoFPGA.h:53
L1Topo::L1TopoFPGA::L1TopoFPGA
L1TopoFPGA(const uint32_t trailer1, const uint32_t trailer2)
Construct from contents and decode trailers.
Definition:
L1TopoFPGA.cxx:11
L1Topo::L1TopoFPGA::pe
bool pe() const
Definition:
L1TopoFPGA.cxx:72
L1Topo::L1TopoFPGA::m_sliceNumber
uint32_t m_sliceNumber
Definition:
L1TopoFPGA.h:47
L1Topo::L1TopoFPGA::sliceNumber
uint32_t sliceNumber() const
Definition:
L1TopoFPGA.cxx:55
L1Topo::L1TopoFPGA::hm
bool hm() const
Definition:
L1TopoFPGA.cxx:80
L1Topo::L1TopoFPGA::m_crc
uint32_t m_crc
Definition:
L1TopoFPGA.h:48
L1Topo::L1TopoFPGA::m_sm
bool m_sm
Definition:
L1TopoFPGA.h:51
L1Topo::L1TopoFPGA::numSlices
uint32_t numSlices() const
Definition:
L1TopoFPGA.cxx:51
L1Topo::L1TopoFPGA::m_numSlices
uint32_t m_numSlices
Definition:
L1TopoFPGA.h:46
L1Topo::L1TopoFPGA::sm
bool sm() const
Definition:
L1TopoFPGA.cxx:68
L1Topo::L1TopoFPGA::m_fpgaTrailer1
uint32_t m_fpgaTrailer1
variables
Definition:
L1TopoFPGA.h:39
L1Topo::L1TopoFPGA::fpgaBlockSize
size_t fpgaBlockSize() const
Definition:
L1TopoFPGA.cxx:39
L1Topo::L1TopoFPGA::fpgaTrailer1
uint32_t fpgaTrailer1() const
access methods
Definition:
L1TopoFPGA.cxx:31
L1Topo::L1TopoFPGA::crc
uint32_t crc() const
Definition:
L1TopoFPGA.cxx:59
L1Topo::L1TopoFPGA::fpgaNumber
uint32_t fpgaNumber() const
Definition:
L1TopoFPGA.cxx:47
L1Topo::L1TopoFPGA::m_fpgaTrailer2
uint32_t m_fpgaTrailer2
Definition:
L1TopoFPGA.h:40
L1Topo::L1TopoFPGA::m_topoNumber
uint32_t m_topoNumber
Definition:
L1TopoFPGA.h:44
L1Topo::L1TopoFPGA::m_hm
bool m_hm
Definition:
L1TopoFPGA.h:54
L1Topo::L1TopoFPGA::lm
bool lm() const
Definition:
L1TopoFPGA.cxx:76
L1Topo
Definition:
BlockTypes.h:11
L1Topo::L1TopoFPGA
Definition:
L1TopoFPGA.h:14
L1Topo::L1TopoFPGA::decode
void decode()
method used by constructor to decode word
Definition:
L1TopoFPGA.cxx:16
L1Topo::L1TopoFPGA::topoNumber
uint32_t topoNumber() const
Definition:
L1TopoFPGA.cxx:43
L1Topo::L1TopoFPGA::m_pe
bool m_pe
Definition:
L1TopoFPGA.h:52
L1Topo::L1TopoFPGA::fpgaTrailer2
uint32_t fpgaTrailer2() const
Definition:
L1TopoFPGA.cxx:35
L1Topo::L1TopoFPGA::m_fpgaNumber
uint32_t m_fpgaNumber
Definition:
L1TopoFPGA.h:45
L1Topo::L1TopoFPGA::ct
bool ct() const
Definition:
L1TopoFPGA.cxx:64
Generated on Thu Nov 7 2024 21:19:07 for ATLAS Offline Software by
1.8.18