ATLAS Offline Software
ChanFitErrorCode.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
9 {}
10 
11 ChanFitErrorCode::ChanFitErrorCode(unsigned int errorCode) :
12  AbstractErrorCode(errorCode)
13 {}
14 
16  AbstractErrorCode(e.errorCode())
17 {}
18 
20  this->errorCode(rhs.errorCode());
21  return *this;
22 }
23 
25  this->errorCode(this->errorCode() | rhs.errorCode());
26  return *this;
27 }
28 
29 /* Channel is valid if no bit is set - to be changed. */
31  return (this->errorCode() == 0);
32 }
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
ChanFitErrorCode.h
ChanFitErrorCode::operator|=
ChanFitErrorCode & operator|=(const ChanFitErrorCode &rhs)
Definition: ChanFitErrorCode.cxx:24
AbstractErrorCode::errorCode
unsigned int errorCode() const
Definition: AbstractErrorCode.h:21
ChanFitErrorCode::chanValid
bool chanValid() const
Definition: ChanFitErrorCode.cxx:30
ChanFitErrorCode::errorCode
unsigned int errorCode() const
Definition: AbstractErrorCode.h:21
ChanFitErrorCode::operator=
ChanFitErrorCode & operator=(const ChanFitErrorCode &rhs)
Definition: ChanFitErrorCode.cxx:19
ChanFitErrorCode::ChanFitErrorCode
ChanFitErrorCode()
Definition: ChanFitErrorCode.cxx:7
AbstractErrorCode
AbstractErrorCode abstract base class for L1Calo error codes.
Definition: AbstractErrorCode.h:16
ChanFitErrorCode
ChanFitErrorCode stores information about the calibration fit quality.
Definition: ChanFitErrorCode.h:17