ATLAS Offline Software
InnerDetector
InDetConditions
TRT_ConditionsData
src
StrawStatusSummary.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TRT_ConditionsData/StrawStatusSummary.h
"
6
7
namespace
TRTCond
8
{
9
10
StrawStatusSummary::StrawStatusSummary
(
size_t
nstraws)
11
: m_status (nstraws)
12
{
13
}
14
15
void
StrawStatusSummary::setStatus
(
const
IdentifierHash
&hashId,
bool
status
)
16
{
17
m_status
[hashId] =
status
;
18
}
19
20
bool
StrawStatusSummary::findStatus
(
const
IdentifierHash
&hashId)
const
21
{
22
return
m_status
[hashId];
23
}
24
25
}
// namespace TRTCond
TRTCond::StrawStatusSummary::findStatus
bool findStatus(const IdentifierHash &hashID) const
Definition:
StrawStatusSummary.cxx:20
TRTCond::StrawStatusSummary::setStatus
void setStatus(const IdentifierHash &hashID, bool status)
Definition:
StrawStatusSummary.cxx:15
TRTCond::StrawStatusSummary::StrawStatusSummary
StrawStatusSummary(size_t nstraws)
Definition:
StrawStatusSummary.cxx:10
TRTCond
Definition:
BasicRtRelation.cxx:8
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
StrawStatusSummary.h
TRTCond::StrawStatusSummary::m_status
std::vector< bool > m_status
Definition:
StrawStatusSummary.h:26
Generated on Mon Dec 23 2024 21:18:48 for ATLAS Offline Software by
1.8.18