ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
TRT_ConditionsData
TRT_ConditionsData
StrawStatusData.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 STRAWSTATUSDATA_H
6
#define STRAWSTATUSDATA_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
StrawStatusData
17
{
18
public
:
19
StrawStatusData
(
size_t
nstraws);
20
21
void
setStatus
(
const
IdentifierHash
& hashID,
unsigned
int
status);
22
unsigned
int
findStatus
(
const
IdentifierHash
& hashID)
const
;
23
size_t
size
()
const
{
return
m_status
.size(); }
24
25
private
:
26
std::vector<unsigned int>
m_status
;
27
};
28
29
}
// namespace TRTCond
30
31
CLASS_DEF
(
TRTCond::StrawStatusData
, 102360873, 1 )
32
#include "AthenaKernel/CondCont.h"
33
CONDCONT_DEF
(
TRTCond::StrawStatusData
, 178673451 );
34
35
#endif
// STRAWSTATUSDATA_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::StrawStatusData
Definition
StrawStatusData.h:17
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::StrawStatusData::findStatus
unsigned int findStatus(const IdentifierHash &hashID) const
Definition
StrawStatusData.cxx:20
TRTCond::StrawStatusData::size
size_t size() const
Definition
StrawStatusData.h:23
TRTCond::StrawStatusData::m_status
std::vector< unsigned int > m_status
Definition
StrawStatusData.h:26
TRTCond
Definition
BasicRtRelation.cxx:8
Generated on
for ATLAS Offline Software by
1.17.0