ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConditions
MuonByteStreamErrors
src
TgcByteStreamErrorContainer.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/TgcByteStreamErrorContainer.h
"
6
7
namespace
Muon
{
8
9
10
TgcByteStreamErrorContainer::TgcByteStreamErrorContainer
( )
11
{}
12
13
TgcByteStreamErrorContainer::TgcByteStreamErrorContainer
(
const
DataVector
< std::pair < IdentifierHash, int > > & inputVector )
14
:
15
m_errorVector
(inputVector)
16
{}
17
18
TgcByteStreamErrorContainer::~TgcByteStreamErrorContainer
( )
19
{}
20
21
const
DataVector<std::pair<IdentifierHash, int>
>&
22
TgcByteStreamErrorContainer::getAllErrors
()
const
23
{
24
return
m_errorVector
;
25
}
26
27
void
TgcByteStreamErrorContainer::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
}
TgcByteStreamErrorContainer.h
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
Muon::TgcByteStreamErrorContainer::m_errorVector
DataVector< std::pair< IdentifierHash, int > > m_errorVector
Definition
TgcByteStreamErrorContainer.h:39
Muon::TgcByteStreamErrorContainer::addError
void addError(IdentifierHash, int)
Definition
TgcByteStreamErrorContainer.cxx:27
Muon::TgcByteStreamErrorContainer::getAllErrors
const DataVector< std::pair< IdentifierHash, int > > & getAllErrors() const
Definition
TgcByteStreamErrorContainer.cxx:22
Muon::TgcByteStreamErrorContainer::TgcByteStreamErrorContainer
TgcByteStreamErrorContainer()
Definition
TgcByteStreamErrorContainer.cxx:10
Muon::TgcByteStreamErrorContainer::~TgcByteStreamErrorContainer
~TgcByteStreamErrorContainer()
Definition
TgcByteStreamErrorContainer.cxx:18
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