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

#include <StrawStatusSummary.h>

Collaboration diagram for TRTCond::StrawStatusSummary:

Public Member Functions

 StrawStatusSummary (size_t nstraws)
 
void setStatus (const IdentifierHash &hashID, bool status)
 
bool findStatus (const IdentifierHash &hashID) const
 
size_t size () const
 

Private Attributes

std::vector< bool > m_status
 

Detailed Description

Definition at line 16 of file StrawStatusSummary.h.

Constructor & Destructor Documentation

◆ StrawStatusSummary()

TRTCond::StrawStatusSummary::StrawStatusSummary ( size_t  nstraws)

Definition at line 10 of file StrawStatusSummary.cxx.

11 {
12  m_status.reserve(nstraws);
13 }

Member Function Documentation

◆ findStatus()

bool TRTCond::StrawStatusSummary::findStatus ( const IdentifierHash hashID) const

Definition at line 20 of file StrawStatusSummary.cxx.

21 {
22  return m_status[hashId];
23 }

◆ setStatus()

void TRTCond::StrawStatusSummary::setStatus ( const IdentifierHash hashID,
bool  status 
)

Definition at line 15 of file StrawStatusSummary.cxx.

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

◆ size()

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

Definition at line 23 of file StrawStatusSummary.h.

23 { return m_status.size(); }

Member Data Documentation

◆ m_status

std::vector<bool> TRTCond::StrawStatusSummary::m_status
private

Definition at line 26 of file StrawStatusSummary.h.


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