ATLAS Offline Software
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
}
Muon::TgcByteStreamErrorContainer::m_errorVector
DataVector< std::pair< IdentifierHash, int > > m_errorVector
Definition:
TgcByteStreamErrorContainer.h:43
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition:
TrackSystemController.h:45
dqt_zlumi_pandas.err
err
Definition:
dqt_zlumi_pandas.py:182
Muon::TgcByteStreamErrorContainer::TgcByteStreamErrorContainer
TgcByteStreamErrorContainer()
Definition:
TgcByteStreamErrorContainer.cxx:10
Muon::TgcByteStreamErrorContainer::~TgcByteStreamErrorContainer
~TgcByteStreamErrorContainer()
Definition:
TgcByteStreamErrorContainer.cxx:18
Muon::TgcByteStreamErrorContainer::getAllErrors
const DataVector< std::pair< IdentifierHash, int > > & getAllErrors() const
Definition:
TgcByteStreamErrorContainer.cxx:22
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
DataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
TgcByteStreamErrorContainer.h
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition:
IdentifierHash.h:25
Muon::TgcByteStreamErrorContainer::addError
void addError(IdentifierHash, int)
Definition:
TgcByteStreamErrorContainer.cxx:27
Generated on Mon Dec 23 2024 21:19:33 for ATLAS Offline Software by
1.8.18