ATLAS Offline Software
Loading...
Searching...
No Matches
Muon::MdtByteStreamErrorContainer Class Reference

#include <MdtByteStreamErrorContainer.h>

Collaboration diagram for Muon::MdtByteStreamErrorContainer:

Public Member Functions

 MdtByteStreamErrorContainer ()
 MdtByteStreamErrorContainer (const DataVector< std::pair< IdentifierHash, int > > &errorVector)
 ~MdtByteStreamErrorContainer ()
void addError (IdentifierHash, int)
const DataVector< std::pair< IdentifierHash, int > > & getAllErrors () const

Private Attributes

DataVector< std::pair< IdentifierHash, int > > m_errorVector

Detailed Description

Definition at line 28 of file MdtByteStreamErrorContainer.h.

Constructor & Destructor Documentation

◆ MdtByteStreamErrorContainer() [1/2]

Muon::MdtByteStreamErrorContainer::MdtByteStreamErrorContainer ( )

Definition at line 10 of file MdtByteStreamErrorContainer.cxx.

11{}

◆ MdtByteStreamErrorContainer() [2/2]

Muon::MdtByteStreamErrorContainer::MdtByteStreamErrorContainer ( const DataVector< std::pair< IdentifierHash, int > > & errorVector)

Definition at line 13 of file MdtByteStreamErrorContainer.cxx.

14 :
15 m_errorVector (inputVector)
16{}
DataVector< std::pair< IdentifierHash, int > > m_errorVector

◆ ~MdtByteStreamErrorContainer()

Muon::MdtByteStreamErrorContainer::~MdtByteStreamErrorContainer ( )

Definition at line 18 of file MdtByteStreamErrorContainer.cxx.

19{}

Member Function Documentation

◆ addError()

void Muon::MdtByteStreamErrorContainer::addError ( IdentifierHash idh,
int type )

Definition at line 27 of file MdtByteStreamErrorContainer.cxx.

28{
29
30 std::pair<IdentifierHash, int>* err = new std::pair<IdentifierHash, int>(std::make_pair(idh,type));
31 m_errorVector.push_back(err);
32
33}

◆ getAllErrors()

const DataVector< std::pair< IdentifierHash, int > > & Muon::MdtByteStreamErrorContainer::getAllErrors ( ) const

Definition at line 22 of file MdtByteStreamErrorContainer.cxx.

23{
24 return m_errorVector;
25}

Member Data Documentation

◆ m_errorVector

DataVector<std::pair<IdentifierHash, int> > Muon::MdtByteStreamErrorContainer::m_errorVector
private

Definition at line 38 of file MdtByteStreamErrorContainer.h.


The documentation for this class was generated from the following files: