ATLAS Offline Software
Loading...
Searching...
No Matches
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
7#include "L1TopoRDO/Helpers.h"
8#include <sstream>
9#include <iomanip>
10
11
12namespace ROIB {
13
15 : m_header(std::move(header)), m_trailer(std::move(trailer)), m_RDO(std::move(rdo))
16 {}
17
19 return m_header;
20 }
21
23 return m_trailer;
24 }
25
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
The class that represents the raw data received from an L1Topo board.
Definition L1TopoRDO.h:29
Header models the LVL1 ROD Header.
const std::string dump() const
dump raw object content to string
const Trailer & trailer() const
Member function returning the trailer.
Header m_header
Data members = header, trailer and RDO.
L1TopoResult(Header &&, Trailer &&, L1TopoRDO &&) noexcept
Constructor with header, trailer and RDO.
const L1TopoRDO & rdo() const
Member function returning the RDO.
const Header & header() const
Get methods.
const std::string dump() const
print myself
ROIB::Trailer models the LVL1 ROD Trailer.
Definition Trailer.h:37
const std::string dump() const
dump raw object content to string
Definition Trailer.cxx:45
Namespace of the LVL1 RoIB simulation.