ATLAS Offline Software
Loading...
Searching...
No Matches
MuCTPI_Phase1_RDO.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef TRIGT1RESULT_MUCTPI_PHASE1_RDO_H
8#define TRIGT1RESULT_MUCTPI_PHASE1_RDO_H
9
10// STL include(s):
11#include <vector>
12#include <string>
13#include <cstdint>
14
15// Gaudi/Athena include(s):
17
18//for slice etc structs
20
37
38public:
45 MuCTPI_Phase1_RDO( std::vector< LVL1::MuCTPIBits::Slice >&& slices,
46 std::vector< size_t >&& errorBits )
47 : m_slices( std::move(slices) ),
48 m_errorBits( std::move(errorBits) ) {
49 }
50
52
55 MuCTPI_Phase1_RDO () = default;
56
58
61 ~MuCTPI_Phase1_RDO () = default;
62
64
69 const std::vector< LVL1::MuCTPIBits::Slice >& slices() const { return m_slices; }
70
72
77 const std::vector< size_t >& errorBits() const { return m_errorBits; }
78
79private:
81 std::vector< LVL1::MuCTPIBits::Slice > m_slices;
83 std::vector< size_t > m_errorBits;
84
85}; // class MuCTPI_Phase1_RDO
86
87CLASS_DEF( MuCTPI_Phase1_RDO , 95939798 , 0 )
88
89#endif // TRIGT1RESULT_MUCTPI_PHASE1_RDO_H
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Class representing the readout data of the MuCTPI hardware and simulation.
~MuCTPI_Phase1_RDO()=default
Destructor.
MuCTPI_Phase1_RDO()=default
Default constructor.
std::vector< size_t > m_errorBits
Variable storing the erorrBits read out.
const std::vector< LVL1::MuCTPIBits::Slice > & slices() const
Function returning the timeslice data words.
const std::vector< size_t > & errorBits() const
Function returning the fragment error bits vector.
MuCTPI_Phase1_RDO(std::vector< LVL1::MuCTPIBits::Slice > &&slices, std::vector< size_t > &&errorBits)
This constructor can be used to fill the object with a vector of Slice structs and a vector of errorB...
std::vector< LVL1::MuCTPIBits::Slice > m_slices
Variable storing the timeslices read out.
STL namespace.