ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
TRT_ConditionsData
TRT_ConditionsData
StrawStatusSummary.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef STRAWSTATUSSUMMARY_H
6
#define STRAWSTATUSSUMMARY_H
7
8
#include "
AthenaKernel/CLASS_DEF.h
"
9
#include "
Identifier/IdentifierHash.h
"
10
11
#include <vector>
12
13
namespace
TRTCond
14
{
15
16
class
StrawStatusSummary
17
{
18
public
:
19
StrawStatusSummary
(
size_t
nstraws);
20
21
void
setStatus
(
const
IdentifierHash
& hashID,
bool
status);
22
bool
findStatus
(
const
IdentifierHash
& hashID)
const
;
23
size_t
size
()
const
{
return
m_status
.size(); }
24
25
private
:
26
std::vector<bool>
m_status
;
27
};
28
29
}
// namespace TRTCond
30
31
CLASS_DEF
(
TRTCond::StrawStatusSummary
, 18106044, 1 )
32
#include "AthenaKernel/CondCont.h"
33
CONDCONT_DEF
(
TRTCond::StrawStatusSummary
, 37831938 );
34
35
#endif
// STRAWSTATUSSUMMARY_H
36
CONDCONT_DEF
#define CONDCONT_DEF(...)
Definition
CondCont.h:1413
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
IdentifierHash.h
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
TRTCond::StrawStatusSummary
Definition
StrawStatusSummary.h:17
TRTCond::StrawStatusSummary::m_status
std::vector< bool > m_status
Definition
StrawStatusSummary.h:26
TRTCond::StrawStatusSummary::StrawStatusSummary
StrawStatusSummary(size_t nstraws)
Definition
StrawStatusSummary.cxx:10
TRTCond::StrawStatusSummary::setStatus
void setStatus(const IdentifierHash &hashID, bool status)
Definition
StrawStatusSummary.cxx:15
TRTCond::StrawStatusSummary::size
size_t size() const
Definition
StrawStatusSummary.h:23
TRTCond::StrawStatusSummary::findStatus
bool findStatus(const IdentifierHash &hashID) const
Definition
StrawStatusSummary.cxx:20
TRTCond
Definition
BasicRtRelation.cxx:8
Generated on
for ATLAS Offline Software by
1.17.0