ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
11#include <vector>
12
13namespace TRTCond
14{
15
17{
18public:
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
25private:
26 std::vector<bool> m_status;
27};
28
29} // namespace TRTCond
30
32#include "AthenaKernel/CondCont.h"
34
35#endif // STRAWSTATUSSUMMARY_H
36
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
This is a "hash" representation of an Identifier.
void setStatus(const IdentifierHash &hashID, bool status)
bool findStatus(const IdentifierHash &hashID) const