ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
15
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
AbstractErrorCode.h
bad
@ bad
Definition
SUSYToolsTester.cxx:95
AbstractErrorCode::bitIsSet
bool bitIsSet(unsigned int number) const
Definition
AbstractErrorCode.cxx:7
AbstractErrorCode::setBit
void setBit(unsigned int number, bool value)
Definition
AbstractErrorCode.cxx:15
AbstractErrorCode::errorCode
unsigned int errorCode() const
Definition
AbstractErrorCode.h:21
AbstractErrorCode::AbstractErrorCode
AbstractErrorCode(unsigned int errorCode)
Definition
AbstractErrorCode.h:24
ChanFitErrorCode
ChanFitErrorCode stores information about the calibration fit quality.
Definition
ChanFitErrorCode.h:17
ChanFitErrorCode::ChanFitErrorCode
ChanFitErrorCode()
Definition
ChanFitErrorCode.cxx:7
ChanFitErrorCode::operator|=
ChanFitErrorCode & operator|=(const ChanFitErrorCode &rhs)
Definition
ChanFitErrorCode.cxx:24
ChanFitErrorCode::badData
void badData(bool bad)
Definition
ChanFitErrorCode.h:41
ChanFitErrorCode::ChanFitErrorCodeBits
ChanFitErrorCodeBits
Definition
ChanFitErrorCode.h:20
ChanFitErrorCode::NoDataBit
@ NoDataBit
Definition
ChanFitErrorCode.h:22
ChanFitErrorCode::BadDataBit
@ BadDataBit
Definition
ChanFitErrorCode.h:23
ChanFitErrorCode::operator=
ChanFitErrorCode & operator=(const ChanFitErrorCode &rhs)
Definition
ChanFitErrorCode.cxx:19
ChanFitErrorCode::noData
void noData(bool bad)
Definition
ChanFitErrorCode.h:38
ChanFitErrorCode::errorCode
unsigned int errorCode() const
Definition
AbstractErrorCode.h:21
ChanFitErrorCode::badData
bool badData() const
Definition
ChanFitErrorCode.h:40
ChanFitErrorCode::noData
bool noData() const
Definition
ChanFitErrorCode.h:37
ChanFitErrorCode::chanValid
bool chanValid() const
Definition
ChanFitErrorCode.cxx:30
Generated on
for ATLAS Offline Software by
1.17.0