ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConditions
MuonByteStreamErrors
src
MdtByteStreamErrorContainer.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuonByteStreamErrors/MdtByteStreamErrorContainer.h
"
6
7
namespace
Muon
{
8
9
10
MdtByteStreamErrorContainer::MdtByteStreamErrorContainer
( )
11
{}
12
13
MdtByteStreamErrorContainer::MdtByteStreamErrorContainer
(
const
DataVector
< std::pair < IdentifierHash, int > > & inputVector )
14
:
15
m_errorVector
(inputVector)
16
{}
17
18
MdtByteStreamErrorContainer::~MdtByteStreamErrorContainer
( )
19
{}
20
21
const
DataVector<std::pair<IdentifierHash, int>
>&
22
MdtByteStreamErrorContainer::getAllErrors
()
const
23
{
24
return
m_errorVector
;
25
}
26
27
void
MdtByteStreamErrorContainer::addError
(
IdentifierHash
idh,
int
type
)
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
}
34
35
36
}
MdtByteStreamErrorContainer.h
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
Muon::MdtByteStreamErrorContainer::addError
void addError(IdentifierHash, int)
Definition
MdtByteStreamErrorContainer.cxx:27
Muon::MdtByteStreamErrorContainer::~MdtByteStreamErrorContainer
~MdtByteStreamErrorContainer()
Definition
MdtByteStreamErrorContainer.cxx:18
Muon::MdtByteStreamErrorContainer::MdtByteStreamErrorContainer
MdtByteStreamErrorContainer()
Definition
MdtByteStreamErrorContainer.cxx:10
Muon::MdtByteStreamErrorContainer::getAllErrors
const DataVector< std::pair< IdentifierHash, int > > & getAllErrors() const
Definition
MdtByteStreamErrorContainer.cxx:22
Muon::MdtByteStreamErrorContainer::m_errorVector
DataVector< std::pair< IdentifierHash, int > > m_errorVector
Definition
MdtByteStreamErrorContainer.h:38
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:45
type
Generated on
for ATLAS Offline Software by
1.14.0