ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloCalibConditions
src
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
5
#include "
TrigT1CaloCalibConditions/ChanFitErrorCode.h
"
6
7
ChanFitErrorCode::ChanFitErrorCode
() :
8
AbstractErrorCode
(0)
9
{}
10
11
ChanFitErrorCode::ChanFitErrorCode
(
unsigned
int
errorCode
) :
12
AbstractErrorCode
(
errorCode
)
13
{}
14
15
ChanFitErrorCode::ChanFitErrorCode
(
const
ChanFitErrorCode
& e):
16
AbstractErrorCode
(e.
errorCode
())
17
{}
18
19
ChanFitErrorCode
&
ChanFitErrorCode::operator=
(
const
ChanFitErrorCode
& rhs) {
20
this->
errorCode
(rhs.
errorCode
());
21
return
*
this
;
22
}
23
24
ChanFitErrorCode
&
ChanFitErrorCode::operator|=
(
const
ChanFitErrorCode
& rhs) {
25
this->
errorCode
(this->
errorCode
() | rhs.
errorCode
());
26
return
*
this
;
27
}
28
29
/* Channel is valid if no bit is set - to be changed. */
30
bool
ChanFitErrorCode::chanValid
()
const
{
31
return
(this->
errorCode
() == 0);
32
}
ChanFitErrorCode.h
AbstractErrorCode::AbstractErrorCode
AbstractErrorCode(unsigned int errorCode)
Definition
AbstractErrorCode.h:24
ChanFitErrorCode::ChanFitErrorCode
ChanFitErrorCode()
Definition
ChanFitErrorCode.cxx:7
ChanFitErrorCode::operator|=
ChanFitErrorCode & operator|=(const ChanFitErrorCode &rhs)
Definition
ChanFitErrorCode.cxx:24
ChanFitErrorCode::operator=
ChanFitErrorCode & operator=(const ChanFitErrorCode &rhs)
Definition
ChanFitErrorCode.cxx:19
ChanFitErrorCode::errorCode
unsigned int errorCode() const
Definition
AbstractErrorCode.h:21
ChanFitErrorCode::chanValid
bool chanValid() const
Definition
ChanFitErrorCode.cxx:30
Generated on
for ATLAS Offline Software by
1.14.0