ATLAS Offline Software
AbstractErrorCode.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 #ifndef TRIGT1CALOCALIBCONDITIONS_ABSTRACTERRORCODE_H
6 #define TRIGT1CALOCALIBCONDITIONS_ABSTRACTERRORCODE_H
7 
8 
17 
18 public:
19  virtual ~AbstractErrorCode() {};
20 
21  unsigned int errorCode() const {return m_errorCode;}
22 
23 protected:
25 
26  void errorCode(unsigned int code) {m_errorCode = code;}
27 
28  bool bitIsSet(unsigned int number) const;
29  void setBit(unsigned int number, bool value);
30 
31 private:
32  unsigned int m_errorCode;
33 
34 };
35 #endif
AbstractErrorCode::setBit
void setBit(unsigned int number, bool value)
Definition: AbstractErrorCode.cxx:15
AbstractErrorCode::errorCode
unsigned int errorCode() const
Definition: AbstractErrorCode.h:21
athena.value
value
Definition: athena.py:122
AbstractErrorCode::AbstractErrorCode
AbstractErrorCode(unsigned int errorCode)
Definition: AbstractErrorCode.h:24
AbstractErrorCode::m_errorCode
unsigned int m_errorCode
Definition: AbstractErrorCode.h:32
AbstractErrorCode::errorCode
void errorCode(unsigned int code)
Definition: AbstractErrorCode.h:26
AbstractErrorCode::bitIsSet
bool bitIsSet(unsigned int number) const
Definition: AbstractErrorCode.cxx:7
AbstractErrorCode::~AbstractErrorCode
virtual ~AbstractErrorCode()
Definition: AbstractErrorCode.h:19
pmontree.code
code
Definition: pmontree.py:443
python.selection.number
number
Definition: selection.py:20
AbstractErrorCode
AbstractErrorCode abstract base class for L1Calo error codes.
Definition: AbstractErrorCode.h:16