ATLAS Offline Software
MuonSpectrometer
MuonConditions
MuonByteStreamErrors
MuonByteStreamErrors
CscByteStreamErrorContainer.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
CscByteStreamErrorContainer class
8
-----------------------------------------
9
***************************************************************************/
10
11
12
#ifndef MUONBYTESTREAMERRORS_CSCBYTESTREAMERRORCONTAINER_H
13
#define MUONBYTESTREAMERRORS_CSCBYTESTREAMERRORCONTAINER_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
CscBSerrorTypes
{
23
//temporary implementation of errors enumeration
24
CSC_CSMHeaderErrors
,
25
CSC_CSMSubHeaderErrors
,
26
Csc_NUM_ERROR_TYPES
// always have this one last, so we can use it as a loop index
27
};
28
29
class
CscByteStreamErrorContainer
30
{
31
public
:
32
CscByteStreamErrorContainer
();
33
CscByteStreamErrorContainer
(
const
DataVector
<std::pair<IdentifierHash, int> > & errorVector );
34
~CscByteStreamErrorContainer
();
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::CscByteStreamErrorContainer
, 1307307367 , 1 )
45
#endif // MUONBYTESTREAMERRORS_CSCBYTESTREAMERRORCONTAINER_H
46
Muon::CscByteStreamErrorContainer
Definition:
CscByteStreamErrorContainer.h:34
Muon::CscBSerrorTypes
CscBSerrorTypes
Definition:
CscByteStreamErrorContainer.h:26
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition:
TrackSystemController.h:49
Muon::CscByteStreamErrorContainer::~CscByteStreamErrorContainer
~CscByteStreamErrorContainer()
Definition:
CscByteStreamErrorContainer.cxx:18
Muon::CSC_CSMHeaderErrors
@ CSC_CSMHeaderErrors
Definition:
CscByteStreamErrorContainer.h:32
Muon::CSC_CSMSubHeaderErrors
@ CSC_CSMSubHeaderErrors
Definition:
CscByteStreamErrorContainer.h:33
Muon::CscByteStreamErrorContainer::m_errorVector
DataVector< std::pair< IdentifierHash, int > > m_errorVector
Definition:
CscByteStreamErrorContainer.h:43
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
Muon::CscByteStreamErrorContainer::addError
void addError(IdentifierHash, int)
Definition:
CscByteStreamErrorContainer.cxx:27
IdentifierHash.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
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:64
Muon::CscByteStreamErrorContainer::getAllErrors
const DataVector< std::pair< IdentifierHash, int > > & getAllErrors() const
Definition:
CscByteStreamErrorContainer.cxx:22
Muon::Csc_NUM_ERROR_TYPES
@ Csc_NUM_ERROR_TYPES
Definition:
CscByteStreamErrorContainer.h:34
IdentifierHash
Definition:
IdentifierHash.h:38
Muon::CscByteStreamErrorContainer::CscByteStreamErrorContainer
CscByteStreamErrorContainer()
Definition:
CscByteStreamErrorContainer.cxx:10
CLASS_DEF.h
macros to associate a CLID to a type
Generated on Thu Jul 4 2024 21:13:10 for ATLAS Offline Software by
1.8.18