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

#include <StrawStatusData.h>

Collaboration diagram for TRTCond::StrawStatusData:

Public Member Functions

 StrawStatusData (size_t nstraws)
 
void setStatus (const IdentifierHash &hashID, unsigned int status)
 
unsigned int findStatus (const IdentifierHash &hashID) const
 
size_t size () const
 

Private Attributes

std::vector< unsigned int > m_status
 

Detailed Description

Definition at line 16 of file StrawStatusData.h.

Constructor & Destructor Documentation

◆ StrawStatusData()

TRTCond::StrawStatusData::StrawStatusData ( size_t  nstraws)

Definition at line 10 of file StrawStatusData.cxx.

11  : m_status (nstraws)
12 {
13 }

Member Function Documentation

◆ findStatus()

unsigned int TRTCond::StrawStatusData::findStatus ( const IdentifierHash hashID) const

Definition at line 20 of file StrawStatusData.cxx.

21 {
22  return m_status[hashId];
23 }

◆ setStatus()

void TRTCond::StrawStatusData::setStatus ( const IdentifierHash hashID,
unsigned int  status 
)

Definition at line 15 of file StrawStatusData.cxx.

16 {
17  m_status[hashId] = status;
18 }

◆ size()

size_t TRTCond::StrawStatusData::size ( ) const
inline

Definition at line 23 of file StrawStatusData.h.

23 { return m_status.size(); }

Member Data Documentation

◆ m_status

std::vector<unsigned int> TRTCond::StrawStatusData::m_status
private

Definition at line 26 of file StrawStatusData.h.


The documentation for this class was generated from the following files:
TRTCond::StrawStatusData::m_status
std::vector< unsigned int > m_status
Definition: StrawStatusData.h:26
merge.status
status
Definition: merge.py:17