ATLAS Offline Software
Trigger
TrigT1
TrigT1CaloCalibConditions
TrigT1CaloCalibConditions
ChanFitErrorCode.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 CHANFITERRORCODE_H
6
#define CHANFITERRORCODE_H
7
8
#include "
TrigT1CaloCalibConditions/AbstractErrorCode.h
"
9
16
class
ChanFitErrorCode
:
public
AbstractErrorCode
17
{
18
public
:
19
enum
ChanFitErrorCodeBits
20
{
21
// to be extended
22
NoDataBit
= 0,
23
BadDataBit
= 1
24
};
25
26
ChanFitErrorCode
();
27
ChanFitErrorCode
(
unsigned
int
errorCode
);
28
ChanFitErrorCode
(
const
ChanFitErrorCode
&
e
);
29
30
ChanFitErrorCode
&
operator=
(
const
ChanFitErrorCode
& rhs);
31
ChanFitErrorCode
&
operator|=
(
const
ChanFitErrorCode
& rhs);
32
33
using
AbstractErrorCode::errorCode
;
34
35
bool
chanValid
()
const
;
36
37
inline
bool
noData
()
const
{
return
bitIsSet
(
NoDataBit
); }
38
inline
void
noData
(
bool
bad
) {
setBit
(
NoDataBit
,
bad
); }
39
40
inline
bool
badData
()
const
{
return
bitIsSet
(
BadDataBit
); }
41
inline
void
badData
(
bool
bad
) {
setBit
(
BadDataBit
,
bad
); }
42
};
43
44
#endif // CHANFITERRORCODE_H
bad
@ bad
Definition:
SUSYToolsTester.cxx:100
AllowedVariables::e
e
Definition:
AsgElectronSelectorTool.cxx:37
ChanFitErrorCode::operator|=
ChanFitErrorCode & operator|=(const ChanFitErrorCode &rhs)
Definition:
ChanFitErrorCode.cxx:24
AbstractErrorCode::setBit
void setBit(unsigned int number, bool value)
Definition:
AbstractErrorCode.cxx:15
AbstractErrorCode::errorCode
unsigned int errorCode() const
Definition:
AbstractErrorCode.h:21
ChanFitErrorCode::chanValid
bool chanValid() const
Definition:
ChanFitErrorCode.cxx:30
ChanFitErrorCode::noData
void noData(bool bad)
Definition:
ChanFitErrorCode.h:38
ChanFitErrorCode::badData
void badData(bool bad)
Definition:
ChanFitErrorCode.h:41
ChanFitErrorCode::BadDataBit
@ BadDataBit
Definition:
ChanFitErrorCode.h:23
ChanFitErrorCode::NoDataBit
@ NoDataBit
Definition:
ChanFitErrorCode.h:22
ChanFitErrorCode::badData
bool badData() const
Definition:
ChanFitErrorCode.h:40
AbstractErrorCode::bitIsSet
bool bitIsSet(unsigned int number) const
Definition:
AbstractErrorCode.cxx:7
ChanFitErrorCode::operator=
ChanFitErrorCode & operator=(const ChanFitErrorCode &rhs)
Definition:
ChanFitErrorCode.cxx:19
ChanFitErrorCode::ChanFitErrorCode
ChanFitErrorCode()
Definition:
ChanFitErrorCode.cxx:7
ChanFitErrorCode::noData
bool noData() const
Definition:
ChanFitErrorCode.h:37
ChanFitErrorCode::ChanFitErrorCodeBits
ChanFitErrorCodeBits
Definition:
ChanFitErrorCode.h:20
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
AbstractErrorCode.h
Generated on Fri Jan 10 2025 21:08:06 for ATLAS Offline Software by
1.8.18