ATLAS Offline Software
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 
18 #include "AthenaKernel/CLASS_DEF.h"
19 
20 
21 namespace Muon {
22  enum MdtBSerrorTypes {
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:
32  MdtByteStreamErrorContainer( const DataVector<std::pair<IdentifierHash, int> > & errorVector );
34 
35  void addError(IdentifierHash, int);
37  private:
39  };
40 
41 }
42 
44 #endif // MUONBYTESTREAMERRORS_MDTBYTESTREAMERRORCONTAINER_H
45 
Muon::CSMHeaderErrors
@ CSMHeaderErrors
Definition: MdtByteStreamErrorContainer.h:31
Muon::CSMSubHeaderErrors
@ CSMSubHeaderErrors
Definition: MdtByteStreamErrorContainer.h:32
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
Muon::MdtByteStreamErrorContainer::~MdtByteStreamErrorContainer
~MdtByteStreamErrorContainer()
Definition: MdtByteStreamErrorContainer.cxx:18
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
IdentifierHash.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
Muon::MdtByteStreamErrorContainer
Definition: MdtByteStreamErrorContainer.h:33
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
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::Mdt_NUM_ERROR_TYPES
@ Mdt_NUM_ERROR_TYPES
Definition: MdtByteStreamErrorContainer.h:33
CLASS_DEF.h
macros to associate a CLID to a type
Muon::MdtBSerrorTypes
MdtBSerrorTypes
Definition: MdtByteStreamErrorContainer.h:26