#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. | |
unsigned | nChannelsAffected (DefectSeverity s=DODGY, ModuleElement e=ModuleElement::Module()) const |
Find number of channels with defects greater than or equal to some severity on some 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. | |
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 8 of file DefectList.cpp. Referenced by getDefectsAffectingElement(), and getDefectsEncompassingElement(). |
|
Add a defect. Neighbouring defects of the same type are merged.
Definition at line 14 of file DefectList.cpp. References defectList, SctData::Defect::getModuleElement(), and SctData::Defect::getPrototype(). Referenced by SctAnalysis::StrobeDelayAlgorithm::analyze(), SctAnalysis::NPtGainAlgorithm::doSlopes(), 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 105 of file DefectList.cpp. References defectList. |
|
Get defect severity.
Definition at line 62 of file DefectList.cpp. References defectList, and SctData::NONE. Referenced by SctAnalysis::StrobeDelayAlgorithm::analyze(), and SctAnalysis::NoiseOccupancyAlgorithm::analyze(). |
|
Check for severe defects.
Definition at line 84 of file DefectList.cpp. References defectList, and SctData::NONE. Referenced by SctAnalysis::TrimRangeAlgorithm::analyze(), and SctData::ISTestSummary::ISNPtGainSummaryWriter::write(). |
|
Get all defects in the ModuleDefectList.
Definition at line 47 of file DefectList.cpp. References defectList. Referenced by SctCalibrationController::ConfigUpdater::maskChannels(), SctDataDisplay::Displayer::printDefectList(), SctData::IO::DefectListStreamer_v2::write(), 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 10 of file DefectList.cpp. |
|
Get all the defects affecting a given element.
Definition at line 51 of file DefectList.cpp. References defectList, and DefectList(). Referenced by PipelineCompare::compare(). Here is the call graph for this function: ![]() |
|
Get all defects who contain the element.
Definition at line 73 of file DefectList.cpp. References defectList, and DefectList(). Here is the call graph for this function: ![]() |
|
Find number of channels with defects greater than or equal to some severity on some module element.
Definition at line 114 of file DefectList.cpp. References defectList, and Sct::nChannelModule. |
|
Add defects from another list. Filters out identical defects.
Definition at line 95 of file DefectList.cpp. References addDefect(), and defectList. Here is the call graph for this function: ![]() |
|
All defects.
Definition at line 103 of file DefectList.h. Referenced by addDefect(), containsDefect(), defectSeverityAffectingElement(), defectSeverityEncompassingElement(), getAllDefects(), getDefectsAffectingElement(), getDefectsEncompassingElement(), nChannelsAffected(), and operator+=(). |