|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef SCT_MONITORCONDDATA_H
15 #define SCT_MONITORCONDDATA_H
56 const std::array<std::bitset<SCT_ConditionsData::STRIPS_PER_CHIP>,
64 const std::array<std::array<std::array<std::bitset<SCT_ConditionsData::STRIPS_PER_CHIP>,
77 std::array<std::array<std::array<std::bitset<SCT_ConditionsData::STRIPS_PER_CHIP>,
99 #include "AthenaKernel/CondCont.h"
102 #endif // SCT_MONITORCONDDATA_H
CONDCONT_DEF(SCT_MonitorCondData, 164599336)
SCT_MonitorCondData()
Constructor.
std::array< std::size_t, SCT_ConditionsData::NUMBER_OF_MODULES > m_badModuleArray
const std::array< std::bitset< SCT_ConditionsData::STRIPS_PER_CHIP >, SCT_ConditionsData::CHIPS_PER_SIDE > & badStripsForModule(const IdentifierHash &waferHash) const
virtual ~SCT_MonitorCondData()=default
Destructor.
static const std::string s_separator
std::array< std::string, SCT_ConditionsData::NUMBER_OF_MODULES > m_defectListArray
Store the relation between modules and defects (lists of bad strips).
header file containing the number of elements and enumerated type of parameters which may be retrieve...
void clearModule(const std::size_t moduleIndex)
std::array< std::array< std::array< std::bitset< SCT_ConditionsData::STRIPS_PER_CHIP >, SCT_ConditionsData::CHIPS_PER_SIDE >, SCT_ConditionsData::SIDES_PER_MODULE >, SCT_ConditionsData::NUMBER_OF_MODULES > m_badStripArray
bool find(const IdentifierHash &hash, std::string &defectList) const
Check if a module has a defect (a list of bad strips). If it does not have defect return false.
void fillBadStrip(const std::size_t moduleIndex, const int strip)
std::size_t nBadStripsForChip(const IdentifierHash &waferHash, const int strip) const
Get the number of bad strips for the chip, where a strip locates.
std::size_t nBadStripsForModule(const IdentifierHash &moduleHash) const
Get the number of bad strips for a module.
std::array< std::array< std::array< std::size_t, SCT_ConditionsData::CHIPS_PER_SIDE >, SCT_ConditionsData::SIDES_PER_MODULE >, SCT_ConditionsData::NUMBER_OF_MODULES > m_badChipArray
std::array< std::array< std::size_t, SCT_ConditionsData::SIDES_PER_MODULE >, SCT_ConditionsData::NUMBER_OF_MODULES > m_badWaferArray
void insert(const IdentifierHash &hash, const std::string &defectList)
Insert a new defect (a list of bad strips) for a module.
void clear()
Clear m_defectListArray.
Class for data object used in SCT_MonitorCondAlg and SCT_MonitorConditionsTool.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
const std::array< std::array< std::array< std::bitset< SCT_ConditionsData::STRIPS_PER_CHIP >, SCT_ConditionsData::CHIPS_PER_SIDE >, SCT_ConditionsData::SIDES_PER_MODULE >, SCT_ConditionsData::NUMBER_OF_MODULES > & badStrips() const
bool isBadStrip(const IdentifierHash &waferHash, const int strip) const
Check if a strip is bad.
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
std::size_t nBadStripsForWafer(const IdentifierHash &waferHash) const
Get the number of bad strips for a wafer.