ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConditions
MuonByteStreamErrors
MuonByteStreamErrors
TgcByteStreamErrorContainer.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
TgcByteStreamErrorContainer class
8
-----------------------------------------
9
***************************************************************************/
10
11
12
#ifndef MUONBYTESTREAMERRORS_TGCBYTESTREAMERRORCONTAINER_H
13
#define MUONBYTESTREAMERRORS_TGCBYTESTREAMERRORCONTAINER_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
//temporary implementation of errors enumeration
23
enum
TgcBSerrorTypes
{
24
TGC_CSMHeaderErrors
,
25
TCG_CSMSubHeaderErrors
,
26
Tgc_NUM_ERROR_TYPES
// always have this one last, so we can use it as a loop index
27
};
28
29
class
TgcByteStreamErrorContainer
30
{
31
public
:
32
TgcByteStreamErrorContainer
();
33
TgcByteStreamErrorContainer
(
const
DataVector
<std::pair<IdentifierHash, int> > & errorVector );
34
~TgcByteStreamErrorContainer
();
35
36
void
addError
(
IdentifierHash
,
int
);
37
const
DataVector<std::pair<IdentifierHash, int>
>&
getAllErrors
()
const
;
38
private
:
39
DataVector<std::pair<IdentifierHash, int>
>
m_errorVector
;
40
};
41
42
}
43
44
CLASS_DEF
(
Muon::TgcByteStreamErrorContainer
,1299911504 , 1 )
45
#endif
// MUONBYTESTREAMERRORS_TGCBYTESTREAMERRORCONTAINER_H
46
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::TgcByteStreamErrorContainer
Definition
TgcByteStreamErrorContainer.h:30
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:46
Muon::TgcBSerrorTypes
TgcBSerrorTypes
Definition
TgcByteStreamErrorContainer.h:23
Muon::Tgc_NUM_ERROR_TYPES
@ Tgc_NUM_ERROR_TYPES
Definition
TgcByteStreamErrorContainer.h:26
Muon::TCG_CSMSubHeaderErrors
@ TCG_CSMSubHeaderErrors
Definition
TgcByteStreamErrorContainer.h:25
Muon::TGC_CSMHeaderErrors
@ TGC_CSMHeaderErrors
Definition
TgcByteStreamErrorContainer.h:24
Generated on
for ATLAS Offline Software by
1.17.0