Class for data object used in SCT_MonitorCondAlg and SCT_MonitorConditionsTool.  
 More...
#include <SCT_MonitorCondData.h>
|  | 
| std::array< std::string, SCT_ConditionsData::NUMBER_OF_MODULES > | m_defectListArray | 
|  | Store the relation between modules and defects (lists of bad strips).  More... 
 | 
|  | 
| 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 | 
|  | 
| 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 {} | 
|  | 
| std::array< std::size_t, SCT_ConditionsData::NUMBER_OF_MODULES > | m_badModuleArray {} | 
|  | 
Class for data object used in SCT_MonitorCondAlg and SCT_MonitorConditionsTool. 
Definition at line 29 of file SCT_MonitorCondData.h.
◆ SCT_MonitorCondData()
      
        
          | SCT_MonitorCondData::SCT_MonitorCondData | ( |  | ) |  | 
      
 
 
◆ ~SCT_MonitorCondData()
  
  | 
        
          | virtual SCT_MonitorCondData::~SCT_MonitorCondData | ( |  | ) |  |  | virtualdefault | 
 
 
◆ badStrips()
◆ badStripsForModule()
◆ clear()
      
        
          | void SCT_MonitorCondData::clear | ( |  | ) |  | 
      
 
 
◆ clearModule()
  
  | 
        
          | void SCT_MonitorCondData::clearModule | ( | const std::size_t | moduleIndex | ) |  |  | private | 
 
 
◆ fillBadStrip()
  
  | 
        
          | void SCT_MonitorCondData::fillBadStrip | ( | const std::size_t | moduleIndex, |  
          |  |  | const int | strip |  
          |  | ) |  |  |  | private | 
 
 
◆ find()
Check if a module has a defect (a list of bad strips). If it does not have defect return false. 
Definition at line 29 of file SCT_MonitorCondData.cxx.
   33   if (
result.empty()) 
return false;
 
   34   defectList = std::move(
result);
 
 
 
 
◆ insert()
Insert a new defect (a list of bad strips) for a module. 
Definition at line 40 of file SCT_MonitorCondData.cxx.
   48   if (doesNotHaveNumbers(defectList)) 
return;
 
   51   std::istringstream is{defectList};
 
   52   std::istream_iterator<std::string> readString{is};
 
   53   std::istream_iterator<std::string> endOfString; 
 
   54   for (; readString != endOfString; ++readString) {
 
   55     const std::string& stringRange{*readString};
 
   57     if (
p!=std::string::npos) { 
 
   58       std::string::size_type len1{
p++};
 
   59       std::string::size_type len2{stringRange.size()-
p};
 
   60       int min{std::stoi(stringRange.substr(0, len1))};
 
   61       int max{std::stoi(stringRange.substr(
p, len2))};
 
   66       int strip{std::stoi(*readString)};
 
 
 
 
◆ isBadStrip()
◆ nBadStripsForChip()
◆ nBadStripsForModule()
      
        
          | std::size_t SCT_MonitorCondData::nBadStripsForModule | ( | const IdentifierHash & | moduleHash | ) | const | 
      
 
 
◆ nBadStripsForWafer()
◆ m_badChipArray
◆ m_badModuleArray
◆ m_badStripArray
◆ m_badWaferArray
◆ m_defectListArray
Store the relation between modules and defects (lists of bad strips). 
Definition at line 76 of file SCT_MonitorCondData.h.
 
 
◆ s_separator
  
  | 
        
          | const std::string SCT_MonitorCondData::s_separator {"-"} |  | staticprivate | 
 
 
The documentation for this class was generated from the following files: