|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef SCT_CONFIGURATIONCONDDATA_H
15 #define SCT_CONFIGURATIONCONDDATA_H
23 #include "Identifier/Identifier.h"
69 const std::map<IdentifierHash, std::pair<bool, bool>>*
getBadLinks()
const;
80 const std::map<Identifier, unsigned int>*
getBadChips()
const;
96 std::map<IdentifierHash, std::pair<bool, bool>>
m_badLinks;
106 #include "AthenaKernel/CondCont.h"
109 #endif // SCT_CONFIGURATIONDATA_H
void setBadWaferId(const Identifier &badWaferId)
Set a bad wafer identifier.
std::map< IdentifierHash, std::pair< bool, bool > > m_badLinks
std::set< Identifier > m_badWaferIds
unsigned int value() const
void setBadLinks(const IdentifierHash &hash, const bool isBadLink0, const bool isBadLink1)
Set bad links for a module.
const std::set< Identifier > * getBadStripIds() const
Get all bad strip identifiers.
std::set< Identifier > m_badModuleIds
void clearBadLinks()
Clear all bad links.
void clearBadModuleIds()
Clear all bad module identifiers.
bool isBadModuleId(const Identifier &moduleId) const
Check if a module identifier is bad one.
std::array< std::bitset< N_STRIPS >, N_MODULES *N_SIDES > m_badStripArray
std::array< std::pair< bool, bool >, N_MODULES > m_badLinksArray
const std::map< IdentifierHash, std::pair< bool, bool > > * getBadLinks() const
Get all bad links.
void setBadStripId(const Identifier &badStripId, const IdentifierHash &hash, const int strip)
Set a bad strip identifier.
SCT_ConfigurationCondData()
Constructor.
virtual ~SCT_ConfigurationCondData()=default
Destructor.
std::set< Identifier > m_badStripIds
Class for data object used in SCT_ConfigurationCondAlg and SCT_ConfigurationConditionsTool.
std::map< Identifier, unsigned int > m_badChips
void clearBadWaferIds()
Clear all bad wafer identifiers.
void clearBadStripIds()
Clear all bad strip identifiers.
void clear()
Clear all bad information.
std::pair< bool, bool > areBadLinks(const IdentifierHash &hash) const
Check if a module has bad links.
bool isBadStrip(const IdentifierHash &hash, const int strip) const
Check if a strip identifier is bad one.
const std::bitset< N_STRIPS > & getBadStripsOfModule(const IdentifierHash &wafer_hash) const
void clearBadChips()
Clear all bad chips.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void setBadModuleId(const Identifier &badModuleId)
Set a bad module identifier.
void setBadChips(const Identifier &moduleId, const unsigned int chipStatus)
Set bad chips for a module.
const std::set< Identifier > * getBadModuleIds() const
Get all bad module identifiers.
const std::set< Identifier > * getBadWaferIds() const
Get all bad wafer identifiers.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
macros to associate a CLID to a type
const std::map< Identifier, unsigned int > * getBadChips() const
Get all bad chips.
bool isBadWaferId(const Identifier &waferId) const
Check if a wafer identifier is bad one.
CONDCONT_MIXED_DEF(SCT_ConfigurationCondData, 23220694)