ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
SCT_ConditionsData
SCT_ConditionsData
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
27
class
SCT_ModuleVetoCondData
{
28
public
:
30
SCT_ModuleVetoCondData
();
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
48
private
:
49
std::set<Identifier>
m_badWaferId
;
50
bool
m_isFilled
;
51
};
52
53
// Class definition for StoreGate
54
#include "
AthenaKernel/CLASS_DEF.h
"
55
CLASS_DEF
(
SCT_ModuleVetoCondData
, 100510855 , 1 )
56
57
// Condition container definition for CondInputLoader
58
#include "AthenaKernel/CondCont.h"
59
CONDCONT_DEF
(
SCT_ModuleVetoCondData
, 46782241 );
60
61
#endif
// SCT_MODULEVETOCONDDATA_H
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
SCT_ModuleVetoCondData
Class for data object used in SCT_ModuleVetoCondAlg, SCT_LinkMaskingCondAlg, SCT_ModuleVetoTool,...
Definition
SCT_ModuleVetoCondData.h:27
SCT_ModuleVetoCondData::m_badWaferId
std::set< Identifier > m_badWaferId
Definition
SCT_ModuleVetoCondData.h:49
SCT_ModuleVetoCondData::badWaferIds
const std::set< Identifier > & badWaferIds() const
Definition
SCT_ModuleVetoCondData.h:46
SCT_ModuleVetoCondData::~SCT_ModuleVetoCondData
virtual ~SCT_ModuleVetoCondData()=default
Destructor.
SCT_ModuleVetoCondData::size
long unsigned int size() const
Get the number of bad wafers.
Definition
SCT_ModuleVetoCondData.cxx:49
SCT_ModuleVetoCondData::isBadWaferId
bool isBadWaferId(const Identifier waferId) const
Check if a wafer ID is bad or not.
Definition
SCT_ModuleVetoCondData.cxx:23
SCT_ModuleVetoCondData::setBadWaferId
bool setBadWaferId(const Identifier waferId)
Set a bad wafer ID.
Definition
SCT_ModuleVetoCondData.cxx:17
SCT_ModuleVetoCondData::SCT_ModuleVetoCondData
SCT_ModuleVetoCondData()
Constructor.
Definition
SCT_ModuleVetoCondData.cxx:9
SCT_ModuleVetoCondData::setFilled
void setFilled()
Set data filled.
Definition
SCT_ModuleVetoCondData.cxx:37
SCT_ModuleVetoCondData::clear
void clear()
Clear.
Definition
SCT_ModuleVetoCondData.cxx:30
SCT_ModuleVetoCondData::m_isFilled
bool m_isFilled
Definition
SCT_ModuleVetoCondData.h:50
SCT_ModuleVetoCondData::filled
bool filled() const
Check the data are filled or not.
Definition
SCT_ModuleVetoCondData.cxx:43
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0