ATLAS Offline Software
StrawStatusData.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 namespace TRTCond
8 {
9 
11  : m_status (nstraws)
12 {
13 }
14 
15 void StrawStatusData::setStatus(const IdentifierHash &hashId, unsigned int status)
16 {
17  m_status[hashId] = status;
18 }
19 
20 unsigned int StrawStatusData::findStatus(const IdentifierHash &hashId) const
21 {
22  return m_status[hashId];
23 }
24 
25 } // namespace TRTCond
TRTCond::StrawStatusData::m_status
std::vector< unsigned int > m_status
Definition: StrawStatusData.h:26
TRTCond::StrawStatusData::setStatus
void setStatus(const IdentifierHash &hashID, unsigned int status)
Definition: StrawStatusData.cxx:15
TRTCond::StrawStatusData::StrawStatusData
StrawStatusData(size_t nstraws)
Definition: StrawStatusData.cxx:10
TRTCond
Definition: BasicRtRelation.cxx:8
TRTCond::StrawStatusData::findStatus
unsigned int findStatus(const IdentifierHash &hashID) const
Definition: StrawStatusData.cxx:20
merge.status
status
Definition: merge.py:17
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
StrawStatusData.h