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

#include <TgcByteStreamErrorContainer.h>

Collaboration diagram for Muon::TgcByteStreamErrorContainer:

Public Member Functions

 TgcByteStreamErrorContainer ()
 TgcByteStreamErrorContainer (const DataVector< std::pair< IdentifierHash, int > > &errorVector)
 ~TgcByteStreamErrorContainer ()
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 29 of file TgcByteStreamErrorContainer.h.

Constructor & Destructor Documentation

◆ TgcByteStreamErrorContainer() [1/2]

Muon::TgcByteStreamErrorContainer::TgcByteStreamErrorContainer ( )

Definition at line 10 of file TgcByteStreamErrorContainer.cxx.

11{}

◆ TgcByteStreamErrorContainer() [2/2]

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

Definition at line 13 of file TgcByteStreamErrorContainer.cxx.

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

◆ ~TgcByteStreamErrorContainer()

Muon::TgcByteStreamErrorContainer::~TgcByteStreamErrorContainer ( )

Definition at line 18 of file TgcByteStreamErrorContainer.cxx.

19{}

Member Function Documentation

◆ addError()

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

Definition at line 27 of file TgcByteStreamErrorContainer.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::TgcByteStreamErrorContainer::getAllErrors ( ) const

Definition at line 22 of file TgcByteStreamErrorContainer.cxx.

23{
24 return m_errorVector;
25}

Member Data Documentation

◆ m_errorVector

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

Definition at line 39 of file TgcByteStreamErrorContainer.h.


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