ATLAS Offline Software
InnerDetector
InDetConditions
TRT_ConditionsData
TRT_ConditionsData
StrawStatus.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRTCONDITIONSDATA_STRAWSTATUS_H
6
#define TRTCONDITIONSDATA_STRAWSTATUS_H
7
namespace
TRTCond
8
{
13
class
StrawStatus
{
14
private
:
15
unsigned
int
m_status
;
16
public
:
17
//enum EStatus { Undefined, Dead, Good } ; //!< the three status states
18
enum
EStatus
{
Undefined
,
Dead
,
Good
,
Xenon
,
Argon
,
Krypton
,
EmulateArgon
,
EmulateKrypton
} ;
19
20
StrawStatus
() :
m_status
(
Undefined
) {}
22
StrawStatus
(
unsigned
int
mystatus) :
m_status
(mystatus){};
24
virtual
~StrawStatus
() =
default
;
26
void
setstatus
(
unsigned
int
i
) {
m_status
=
i
; }
28
unsigned
int
getstatus
()
const
{
return
m_status
; }
30
bool
operator==
(
const
StrawStatus
& rhs)
const
{
31
return
m_status
==rhs.
m_status
; }
33
void
print
()
const
{ std::cout <<
"dummy print from StrawStatus.h "
<<
m_status
<< std::endl ; }
34
} ;
35
36
}
37
38
CLASS_DEF
(
TRTCond::StrawStatus
,169228333,1)
39
40
#endif
TRTCond::StrawStatus::print
void print() const
print status
Definition:
StrawStatus.h:33
TRTCond::StrawStatus::m_status
unsigned int m_status
the status
Definition:
StrawStatus.h:15
TRTCond::StrawStatus::Dead
@ Dead
Definition:
StrawStatus.h:18
TRTCond::StrawStatus::EmulateKrypton
@ EmulateKrypton
Definition:
StrawStatus.h:18
TRTCond::StrawStatus::~StrawStatus
virtual ~StrawStatus()=default
destructor
TRTCond::StrawStatus::Undefined
@ Undefined
Definition:
StrawStatus.h:18
lumiFormat.i
int i
Definition:
lumiFormat.py:85
TRTCond::StrawStatus::EmulateArgon
@ EmulateArgon
Definition:
StrawStatus.h:18
TRTCond::StrawStatus::Good
@ Good
Definition:
StrawStatus.h:18
TRTCond::StrawStatus::Xenon
@ Xenon
Definition:
StrawStatus.h:18
TRTCond::StrawStatus::StrawStatus
StrawStatus(unsigned int mystatus)
constructor
Definition:
StrawStatus.h:22
TRTCond::StrawStatus
Definition:
StrawStatus.h:13
TRTCond::StrawStatus::setstatus
void setstatus(unsigned int i)
set status
Definition:
StrawStatus.h:26
TRTCond::StrawStatus::EStatus
EStatus
Definition:
StrawStatus.h:18
TRTCond
Definition:
BasicRtRelation.cxx:8
TRTCond::StrawStatus::StrawStatus
StrawStatus()
default constructor
Definition:
StrawStatus.h:20
TRTCond::StrawStatus::operator==
bool operator==(const StrawStatus &rhs) const
equality op
Definition:
StrawStatus.h:30
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition:
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
TRTCond::StrawStatus::getstatus
unsigned int getstatus() const
get status
Definition:
StrawStatus.h:28
TRTCond::StrawStatus::Argon
@ Argon
Definition:
StrawStatus.h:18
TRTCond::StrawStatus::Krypton
@ Krypton
Definition:
StrawStatus.h:18
Generated on Thu Nov 7 2024 21:26:39 for ATLAS Offline Software by
1.8.18