ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
TRTCond::StrawStatus Class Reference

#include <StrawStatus.h>

Collaboration diagram for TRTCond::StrawStatus:

Public Types

enum  EStatus {
  Undefined, Dead, Good, Xenon,
  Argon, Krypton, EmulateArgon, EmulateKrypton
}
 

Public Member Functions

 StrawStatus ()
 default constructor More...
 
 StrawStatus (unsigned int mystatus)
 constructor More...
 
virtual ~StrawStatus ()=default
 destructor More...
 
void setstatus (unsigned int i)
 set status More...
 
unsigned int getstatus () const
 get status More...
 
bool operator== (const StrawStatus &rhs) const
 equality op More...
 
void print () const
 print status More...
 

Private Attributes

unsigned int m_status
 the status More...
 

Detailed Description

Author
Esben Bryndt Klinkby klink.nosp@m.by@n.nosp@m.bi.dk stores straw status and gives access

Definition at line 13 of file StrawStatus.h.

Member Enumeration Documentation

◆ EStatus

Enumerator
Undefined 
Dead 
Good 
Xenon 
Argon 
Krypton 
EmulateArgon 
EmulateKrypton 

Definition at line 18 of file StrawStatus.h.

Constructor & Destructor Documentation

◆ StrawStatus() [1/2]

TRTCond::StrawStatus::StrawStatus ( )
inline

default constructor

Definition at line 20 of file StrawStatus.h.

20 : m_status(Undefined) {}

◆ StrawStatus() [2/2]

TRTCond::StrawStatus::StrawStatus ( unsigned int  mystatus)
inline

constructor

Definition at line 22 of file StrawStatus.h.

22 : m_status(mystatus){};

◆ ~StrawStatus()

virtual TRTCond::StrawStatus::~StrawStatus ( )
virtualdefault

destructor

Member Function Documentation

◆ getstatus()

unsigned int TRTCond::StrawStatus::getstatus ( ) const
inline

get status

Definition at line 28 of file StrawStatus.h.

28 { return m_status ; }

◆ operator==()

bool TRTCond::StrawStatus::operator== ( const StrawStatus rhs) const
inline

equality op

Definition at line 30 of file StrawStatus.h.

30  {
31  return m_status==rhs.m_status; }

◆ print()

void TRTCond::StrawStatus::print ( ) const
inline

print status

Definition at line 33 of file StrawStatus.h.

33 { std::cout << "dummy print from StrawStatus.h " << m_status << std::endl ; }

◆ setstatus()

void TRTCond::StrawStatus::setstatus ( unsigned int  i)
inline

set status

Definition at line 26 of file StrawStatus.h.

26 { m_status = i ; }

Member Data Documentation

◆ m_status

unsigned int TRTCond::StrawStatus::m_status
private

the status

Definition at line 15 of file StrawStatus.h.


The documentation for this class was generated from the following file:
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::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::Argon
@ Argon
Definition: StrawStatus.h:18
TRTCond::StrawStatus::Krypton
@ Krypton
Definition: StrawStatus.h:18