ATLAS Offline Software
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
}
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
Generated on Mon Dec 23 2024 21:08:12 for ATLAS Offline Software by
1.8.18