ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1Result
src
TrigT1Result/src/L1TopoResult.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigT1Result/L1TopoResult.h
"
6
#include "
L1TopoRDO/L1TopoRDO.h
"
7
#include "
L1TopoRDO/Helpers.h
"
8
#include <sstream>
9
#include <iomanip>
10
11
12
namespace
ROIB
{
13
14
L1TopoResult::L1TopoResult
(
Header
&&
header
,
Trailer
&&
trailer
,
L1TopoRDO
&&
rdo
) noexcept
15
:
m_header
(std::move(
header
)),
m_trailer
(std::move(
trailer
)),
m_RDO
(std::move(
rdo
))
16
{}
17
18
const
Header
&
L1TopoResult::header
()
const
{
19
return
m_header
;
20
}
21
22
const
Trailer
&
L1TopoResult::trailer
()
const
{
23
return
m_trailer
;
24
}
25
26
const
L1TopoRDO
&
L1TopoResult::rdo
()
const
{
27
return
m_RDO
;
28
}
29
30
const
std::string
L1TopoResult::dump
()
const
{
31
std::ostringstream s;
32
s <<
" ["
<< this->
header
().
dump
() <<
"] "
;
33
s <<
" ["
<<
m_RDO
.dump() <<
"] "
;
34
s <<
" ["
<< this->
trailer
().
dump
() <<
"] "
;
35
return
s.str();
36
}
37
38
}
// namespace ROIB
L1TopoRDO.h
L1TopoResult.h
Helpers.h
L1TopoRDO
The class that represents the raw data received from an L1Topo board.
Definition
L1TopoRDO.h:29
ROIB::Header
Header models the LVL1 ROD Header.
Definition
TrigT1Result/TrigT1Result/Header.h:37
ROIB::Header::dump
const std::string dump() const
dump raw object content to string
Definition
TrigT1Result/src/Header.cxx:69
ROIB::L1TopoResult::trailer
const Trailer & trailer() const
Member function returning the trailer.
Definition
TrigT1Result/src/L1TopoResult.cxx:22
ROIB::L1TopoResult::m_header
Header m_header
Data members = header, trailer and RDO.
Definition
TrigT1Result/TrigT1Result/L1TopoResult.h:49
ROIB::L1TopoResult::L1TopoResult
L1TopoResult(Header &&, Trailer &&, L1TopoRDO &&) noexcept
Constructor with header, trailer and RDO.
Definition
TrigT1Result/src/L1TopoResult.cxx:14
ROIB::L1TopoResult::rdo
const L1TopoRDO & rdo() const
Member function returning the RDO.
Definition
TrigT1Result/src/L1TopoResult.cxx:26
ROIB::L1TopoResult::header
const Header & header() const
Get methods.
Definition
TrigT1Result/src/L1TopoResult.cxx:18
ROIB::L1TopoResult::m_RDO
L1TopoRDO m_RDO
Definition
TrigT1Result/TrigT1Result/L1TopoResult.h:51
ROIB::L1TopoResult::m_trailer
Trailer m_trailer
Definition
TrigT1Result/TrigT1Result/L1TopoResult.h:50
ROIB::L1TopoResult::dump
const std::string dump() const
print myself
Definition
TrigT1Result/src/L1TopoResult.cxx:30
ROIB::Trailer
ROIB::Trailer models the LVL1 ROD Trailer.
Definition
Trailer.h:37
ROIB::Trailer::dump
const std::string dump() const
dump raw object content to string
Definition
Trailer.cxx:45
ROIB
Namespace of the LVL1 RoIB simulation.
Definition
ILvl1ResultAccessTool.h:19
Generated on
for ATLAS Offline Software by
1.17.0