ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_ModuleVetoCondData.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
6
8// constructor
14
16// set a bad wafer ID
18 return m_badWaferId.insert(waferId).second;
19}
20
22// check if a wafer ID is bad or not
24 std::set<Identifier>::const_iterator it{m_badWaferId.find(waferId)};
25 return (it!=m_badWaferId.end());
26}
27
29// clear
31 m_badWaferId.clear();
32 m_isFilled = false;
33}
34
36// set data filled
40
42// check the data are filled or not
44 return m_isFilled;
45}
46
48// get the number of bad wafers
49long unsigned int SCT_ModuleVetoCondData::size() const {
50 return m_badWaferId.size();
51}
header file for data object for SCT_ModuleVetoCondAlg, SCT_LinkMaskingCondAlg, SCT_ModuleVetoTool,...
std::set< Identifier > m_badWaferId
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.