ATLAS Offline Software
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
}
Muon::MdtByteStreamErrorContainer::m_errorVector
DataVector< std::pair< IdentifierHash, int > > m_errorVector
Definition:
MdtByteStreamErrorContainer.h:42
Muon::MdtByteStreamErrorContainer::getAllErrors
const DataVector< std::pair< IdentifierHash, int > > & getAllErrors() const
Definition:
MdtByteStreamErrorContainer.cxx:22
Muon::MdtByteStreamErrorContainer::MdtByteStreamErrorContainer
MdtByteStreamErrorContainer()
Definition:
MdtByteStreamErrorContainer.cxx:10
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition:
TrackSystemController.h:45
Muon::MdtByteStreamErrorContainer::addError
void addError(IdentifierHash, int)
Definition:
MdtByteStreamErrorContainer.cxx:27
MdtByteStreamErrorContainer.h
dqt_zlumi_pandas.err
err
Definition:
dqt_zlumi_pandas.py:182
Muon::MdtByteStreamErrorContainer::~MdtByteStreamErrorContainer
~MdtByteStreamErrorContainer()
Definition:
MdtByteStreamErrorContainer.cxx:18
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
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
Generated on Mon Dec 23 2024 21:14:15 for ATLAS Offline Software by
1.8.18