ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_ModuleVetoCondData.h
Go to the documentation of this file.
1// -*- C++ -*-
2
3/*
4 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5*/
6
14
15#ifndef SCT_MODULEVETOCONDDATA_H
16#define SCT_MODULEVETOCONDDATA_H
17
18#include "Identifier/Identifier.h"
19
20#include <set>
21
28public:
32 virtual ~SCT_ModuleVetoCondData() = default;
34 bool setBadWaferId(const Identifier waferId);
36 bool isBadWaferId(const Identifier waferId) const;
38 void clear();
40 void setFilled();
42 bool filled() const;
44 long unsigned int size() const;
45
46 const std::set<Identifier> &badWaferIds() const { return m_badWaferId; }
47
48private:
49 std::set<Identifier> m_badWaferId;
51};
52
53// Class definition for StoreGate
55CLASS_DEF( SCT_ModuleVetoCondData , 100510855 , 1 )
56
57// Condition container definition for CondInputLoader
58#include "AthenaKernel/CondCont.h"
60
61#endif // SCT_MODULEVETOCONDDATA_H
#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
Class for data object used in SCT_ModuleVetoCondAlg, SCT_LinkMaskingCondAlg, SCT_ModuleVetoTool,...
std::set< Identifier > m_badWaferId
const std::set< Identifier > & badWaferIds() const
virtual ~SCT_ModuleVetoCondData()=default
Destructor.
long unsigned int size() const
Get the number of bad wafers.
bool isBadWaferId(const Identifier waferId) const
Check if a wafer ID is bad or not.
bool setBadWaferId(const Identifier waferId)
Set a bad wafer ID.
void setFilled()
Set data filled.
bool filled() const
Check the data are filled or not.