ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConditions
MuonByteStreamErrors
MuonByteStreamErrors
MdtByteStreamErrorContainer.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/***************************************************************************
6
MuonByteStreamErrors package
7
MdtByteStreamErrorContainer class
8
-----------------------------------------
9
***************************************************************************/
10
11
12
#ifndef MUONBYTESTREAMERRORS_MDTBYTESTREAMERRORCONTAINER_H
13
#define MUONBYTESTREAMERRORS_MDTBYTESTREAMERRORCONTAINER_H
14
15
16
#include "
Identifier/IdentifierHash.h
"
17
#include "
AthContainers/DataVector.h
"
18
#include "
AthenaKernel/CLASS_DEF.h
"
19
20
21
namespace
Muon
{
22
enum
MdtBSerrorTypes
{
23
CSMHeaderErrors
,
24
CSMSubHeaderErrors
,
25
Mdt_NUM_ERROR_TYPES
// always have this one last, so we can use it as a loop index
26
};
27
28
class
MdtByteStreamErrorContainer
29
{
30
public
:
31
MdtByteStreamErrorContainer
();
32
MdtByteStreamErrorContainer
(
const
DataVector
<std::pair<IdentifierHash, int> > & errorVector );
33
~MdtByteStreamErrorContainer
();
34
35
void
addError
(
IdentifierHash
,
int
);
36
const
DataVector<std::pair<IdentifierHash, int>
>&
getAllErrors
()
const
;
37
private
:
38
DataVector<std::pair<IdentifierHash, int>
>
m_errorVector
;
39
};
40
41
}
42
43
CLASS_DEF
(
Muon::MdtByteStreamErrorContainer
, 1143400055 , 1 )
44
#endif
// MUONBYTESTREAMERRORS_MDTBYTESTREAMERRORCONTAINER_H
45
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
IdentifierHash.h
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
Muon::MdtByteStreamErrorContainer
Definition
MdtByteStreamErrorContainer.h:29
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:46
Muon::MdtBSerrorTypes
MdtBSerrorTypes
Definition
MdtByteStreamErrorContainer.h:22
Muon::CSMSubHeaderErrors
@ CSMSubHeaderErrors
Definition
MdtByteStreamErrorContainer.h:24
Muon::CSMHeaderErrors
@ CSMHeaderErrors
Definition
MdtByteStreamErrorContainer.h:23
Muon::Mdt_NUM_ERROR_TYPES
@ Mdt_NUM_ERROR_TYPES
Definition
MdtByteStreamErrorContainer.h:25
Generated on
for ATLAS Offline Software by
1.17.0