#include <DefectList.h>
Inheritance diagram for SctData::DefectList:
Public Types | |
typedef list< Defect > | DefectCollection |
Public Member Functions | |
DefectList () | |
Create a new empty ModuleDefects object. | |
void | addDefect (Defect defect) |
Add a defect. | |
const DefectCollection & | getAllDefects () const |
Get all defects in the ModuleDefectList. | |
virtual string | getClassName () const throw () |
Get the class name for this object. | |
DefectList & | operator+= (const DefectList &) |
Add defects from another list. | |
Methods enquiring as to defects on ANY PART of a module element | |
auto_ptr< DefectList > | getDefectsAffectingElement (ModuleElement element) const |
Get all the defects affecting a given element. | |
DefectSeverity | defectSeverityAffectingElement (ModuleElement element) const |
Get defect severity. | |
bool | containsDefect (Defect defect) const |
Finds if there is a an identical defect to defect in this list. | |
Methods enquiring as to defects which affect the WHOLE of an element. | |
auto_ptr< DefectList > | getDefectsEncompassingElement (ModuleElement element) const |
Get all defects who contain the element. | |
DefectSeverity | defectSeverityEncompassingElement (ModuleElement element) const |
Check for severe defects. | |
Private Attributes | |
DefectCollection | defectList |
All defects. |
Definition at line 24 of file DefectList.h.
|
Create a new empty ModuleDefects object.
Definition at line 7 of file DefectList.cpp. Referenced by getDefectsAffectingElement(), and getDefectsEncompassingElement(). |
|
Add a defect. Neighbouring defects of the same type are merged.
Definition at line 13 of file DefectList.cpp. References SctData::ModuleElement::adjacentTo(), SctData::ModuleElement::contains(), defectList, SctData::ModuleElement::getFirst(), SctData::ModuleElement::getLast(), SctData::Defect::getModuleElement(), SctData::Defect::getPrototype(), and SctData::ModuleElement::overlaps(). Referenced by SctAnalysis::StrobeDelayAlgorithm::analyze(), SctAnalysis::PipelineAlgorithm::analyze(), SctFitter::ThresholdFitAlgorithm::checkForDefects(), SctFitter::StrobeDelayFitAlgorithm::checkForDefects(), SctAnalysis::NPtGainAlgorithm::mergeDefects(), operator+=(), and SctData::IO::DefectListStreamer_v1::read(). |
Here is the call graph for this function:
|
Finds if there is a an identical defect to defect in this list.
Definition at line 104 of file DefectList.cpp. References defectList. Referenced by operator+=(). |
|
Get defect severity.
Definition at line 61 of file DefectList.cpp. References defectList, SctData::DefectSeverity, and SctData::NONE. Referenced by SctAnalysis::StrobeDelayAlgorithm::analyze(), and SctAnalysis::NPtGainAlgorithm::setupGraph(). |
|
Check for severe defects.
Definition at line 83 of file DefectList.cpp. References defectList, SctData::DefectSeverity, and SctData::NONE. Referenced by SctAnalysis::TrimRangeAlgorithm::analyze(), and SctData::TestSummary::NPtGainSummaryWriter::write(). |
|
Get all defects in the ModuleDefectList.
Definition at line 46 of file DefectList.cpp. References defectList. Referenced by SctCalibrationController::ConfigUpdater::maskChannels(), SctDataDisplay::Displayer::printDefectList(), and SctData::IO::DefectListStreamer_v1::write(). |
|
Get the class name for this object. This is used to identify the precise type.
Implements Sct::Streamable. Definition at line 9 of file DefectList.cpp. |
|
Get all the defects affecting a given element.
Definition at line 50 of file DefectList.cpp. References defectList, and DefectList(). |
Here is the call graph for this function:
|
Get all defects who contain the element.
Definition at line 72 of file DefectList.cpp. References defectList, and DefectList(). |
Here is the call graph for this function:
|
Add defects from another list. Filters out identical defects.
Definition at line 94 of file DefectList.cpp. References addDefect(), containsDefect(), and defectList. |
Here is the call graph for this function:
|
All defects.
Definition at line 97 of file DefectList.h. Referenced by addDefect(), containsDefect(), defectSeverityAffectingElement(), defectSeverityEncompassingElement(), getAllDefects(), getDefectsAffectingElement(), getDefectsEncompassingElement(), and operator+=(). |