#include <TestResult.h>
Inheritance diagram for SctData::TestResult:


Public Member Functions | |||
| ~TestResult () throw () | |||
| Constructor is in protected. | |||
| virtual Sct::UniqueID | getUniqueID () const throw (LogicError) | ||
Serializable override
| |||
| unsigned int | getRunNumber () const throw () | ||
| the run number | |||
| void | setRunNumber (unsigned int runNumber) throw () | ||
| string | getModuleName () const throw () | ||
| the module name | |||
| void | setModuleName (string name) throw () | ||
| const ConfigurationVariable & | getScanVariable () const throw () | ||
| Get the configuration variable associated with all the scans in this test. | |||
| void | setScanVariable (const ConfigurationVariable &scanVariable) throw () | ||
| virtual const ResultHeader & | getHeader () const | ||
| Gets the header. | |||
| virtual ResultHeader & | getHeader () | ||
| Gets the header. | |||
| const ConfigurationVariable & | getTestVariable () const throw () | ||
| Get the configuration variable associated with this test. | |||
| void | setTestVariable (const ConfigurationVariable &testVariable) throw () | ||
| unsigned | getScanNumberAt (unsigned int i) const throw (LogicError) | ||
| gets the scan number at a particular postition `i' within the data. | |||
| double | getTestPointAt (unsigned int i) const throw (LogicError) | ||
| gets the test point at a particular position `i' within the data. | |||
| const DefectList & | getDefects () const throw () | ||
| Get the defects found in the TestResult. | |||
| DefectList & | getDefects () throw () | ||
| bool | getPassed () const throw () | ||
| Return true if the module passed the Test. | |||
| void | setPassed (bool passed) throw () | ||
| Set whether the module passed the scan. | |||
| bool | getProblem () const throw () | ||
| Return true if the module had a problem. | |||
| void | setProblem (bool problem) throw () | ||
| Set whether the module had a problem. | |||
| vector< string > | getComments () const throw () | ||
| Return all the comments. | |||
| void | addComment (string comment) throw () | ||
| Add a comment - must be a single line (no newlines). | |||
| virtual void | addScan (const unsigned int scanNumber, const double testPoint) throw (LogicError) | ||
| Add a scan to this test. | |||
| const unsigned int | getNScans () const throw () | ||
| unsigned int | getIndex (const unsigned int scanNumber) const throw (LogicError) | ||
| Find the index for a particular scanNumber. | |||
| shared_ptr< const DcsData > | getDcsData () const | ||
| Get DcsData pointer. | |||
| void | setDcsData (boost::shared_ptr< const DcsData > dcs) | ||
| Set the DcsData object. | |||
| shared_ptr< const OpeResult > | getOpeResult () const | ||
| get the OpeResult if there is one. | |||
| void | setOpeResult (boost::shared_ptr< const OpeResult > ope) | ||
| Set the OpeResult;. | |||
Protected Member Functions | |||
| TestResult () throw () | |||
| Default constructor. | |||
| TestResult (const unsigned int runNumber, const string &moduleName, const ConfigurationVariable &testVariable, const ConfigurationVariable &scanVariable) throw () | |||
| Create a TestResult from all the stuff needed to initialize it. | |||
Protected Attributes | |||
| vector< ScanData > | data | ||
| ResultHeader | header | ||
| The header. | |||
| const ConfigurationVariable * | testVariable | ||
| The test variable. | |||
| DefectList | defects | ||
| The Defects found in producing this TestResult. | |||
| bool | passed | ||
| True if the module passed the Test. | |||
| bool | problem | ||
| True if there was a problem with the Module. | |||
| vector< string > | comments | ||
| Comments. | |||
| boost::shared_ptr< const DcsData > | m_dcsData | ||
| Dcs Data if available. | |||
| boost::shared_ptr< const OpeResult > | m_opeResult | ||
| Dcs Data if available. | |||
Examples are Response Curves, Trim Range Tests and StrobeDelay Test. It provides useful data and functions to the sub-classes. For instance, identifying information such as the list of scan numbers, the run number, module name and the test points.
Definition at line 32 of file TestResult.h.
|
|
Constructor is in protected.
Definition at line 35 of file TestResult.h. |
|
|
Default constructor.
Definition at line 28 of file TestResult.cpp. |
|
||||||||||||||||||||
|
Create a TestResult from all the stuff needed to initialize it.
Definition at line 21 of file TestResult.cpp. |
|
|
Add a comment - must be a single line (no newlines).
Definition at line 100 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer_v4::read(), SctData::IO::TestResultStreamer_v3::read(), and SctData::IO::TestResultStreamer_v1::read(). |
|
||||||||||||
|
Add a scan to this test.
Reimplemented in SctData::SingleVariableTestResult. Definition at line 104 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer_v4::read(), SctData::IO::TestResultStreamer_v3::read(), and SctData::IO::TestResultStreamer_v1::read(). |
|
|
Return all the comments.
Definition at line 96 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer_v4::write(), SctData::IO::TestResultStreamer_v3::write(), and SctData::IO::TestResultStreamer_v1::write(). |
|
|
Get DcsData pointer. Null if none available. Definition at line 167 of file TestResult.cpp. References m_dcsData. Referenced by SctData::IO::TestResultStreamer_v4::write(), and SctData::IO::TestResultStreamer_v3::write(). |
|
|
|
Gets the header.
Implements SctData::Result. Definition at line 36 of file TestResult.cpp. References header. |
|
|
Gets the header.
Implements SctData::Result. Definition at line 32 of file TestResult.cpp. References header. Referenced by SctData::IO::TestResultStreamer_v4::read(), SctData::IO::TestResultStreamer_v3::read(), SctData::IO::TestResultStreamer_v1::read(), SctData::IO::TestResultStreamer_v4::write(), SctData::IO::TestResultStreamer_v3::write(), and SctData::IO::TestResultStreamer_v1::write(). |
|
|
Find the index for a particular scanNumber.
Definition at line 131 of file TestResult.cpp. |
|
|
the module name
Definition at line 48 of file TestResult.cpp. Referenced by SctDataDisplay::TestDisplayer::displayAllRaws(), and SctCalibrationController::ConfigUpdater::getMID(). |
|
|
Definition at line 134 of file TestResult.h. Referenced by SctDataDisplay::TestDisplayer::displayAllRaws(), SctData::IO::TestResultStreamer_v4::write(), SctData::IO::TestResultStreamer_v3::write(), SctData::IO::TestResultStreamer_v1::write(), SctData::TestSummary::NPtGainSummaryWriter::write(), and SctData::TestSummary::FullBypassSummaryWriter::write(). |
|
|
get the OpeResult if there is one. Otherwise null Definition at line 175 of file TestResult.cpp. References m_opeResult. Referenced by SctData::IO::TestResultStreamer_v4::write(), and SctData::TestSummary::NoiseOccupancySummaryWriter::write(). |
|
|
Return true if the module passed the Test.
Definition at line 80 of file TestResult.cpp. Referenced by SctCalibrationController::ConfigUpdaterManager::update(), SctData::IO::TestResultStreamer_v4::write(), SctData::IO::TestResultStreamer_v3::write(), and SctData::IO::TestResultStreamer_v1::write(). |
|
|
Return true if the module had a problem.
Definition at line 88 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer_v4::write(), SctData::IO::TestResultStreamer_v3::write(), and SctData::IO::TestResultStreamer_v1::write(). |
|
|
the run number
Definition at line 40 of file TestResult.cpp. References SctData::ResultHeader::getRunNumber(). Referenced by SctDataDisplay::TestDisplayer::displayAllRaws(). |
Here is the call graph for this function:

|
|
gets the scan number at a particular postition `i' within the data.
Definition at line 119 of file TestResult.cpp. Referenced by SctDataDisplay::TestDisplayer::displayAllRaws(), SctData::IO::TestResultStreamer_v4::write(), SctData::IO::TestResultStreamer_v3::write(), and SctData::IO::TestResultStreamer_v1::write(). |
|
|
Get the configuration variable associated with all the scans in this test.
Definition at line 64 of file TestResult.cpp. |
|
|
gets the test point at a particular position `i' within the data.
Definition at line 125 of file TestResult.cpp. Referenced by SctData::NPtGainTestResult::getSpecialScanPointValue(), SctData::IO::TestResultStreamer_v4::write(), SctData::IO::TestResultStreamer_v3::write(), SctData::IO::TestResultStreamer_v1::write(), and SctData::TestSummary::FullBypassSummaryWriter::write(). |
|
|
Get the configuration variable associated with this test.
Definition at line 72 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer_v4::write(), SctData::IO::TestResultStreamer_v3::write(), and SctData::IO::TestResultStreamer_v1::write(). |
|
|
Serializable override
Implements Sct::Serializable. Definition at line 112 of file TestResult.cpp. Referenced by SctDataDisplay::TestDisplayer::displayAllRaws(), SctData::IO::TestResultStreamer_v4::read(), and SctCalibrationController::ConfigUpdaterManager::update(). |
|
|
Set the DcsData object.
Definition at line 163 of file TestResult.cpp. References m_dcsData. Referenced by SctData::IO::TestResultStreamer_v4::read(), and SctData::IO::TestResultStreamer_v3::read(). |
|
|
Set the OpeResult;.
Definition at line 171 of file TestResult.cpp. References m_opeResult. Referenced by SctData::IO::TestResultStreamer_v4::read(). |
|
|
Set whether the module passed the scan.
Definition at line 84 of file TestResult.cpp. Referenced by SctAnalysis::TxCurrentAlgorithm::analyze(), SctAnalysis::StrobeDelayAlgorithm::analyze(), SctAnalysis::RxThresholdBasedOnConfigRegisterAlgorithm::analyze(), SctAnalysis::RxThresholdAlgorithm::analyze(), SctAnalysis::RxDelayAlgorithm::analyze(), SctData::IO::TestResultStreamer_v4::read(), SctData::IO::TestResultStreamer_v3::read(), and SctData::IO::TestResultStreamer_v1::read(). |
|
|
Set whether the module had a problem.
Definition at line 92 of file TestResult.cpp. Referenced by SctAnalysis::TxCurrentAlgorithm::analyze(), SctAnalysis::RxThresholdBasedOnConfigRegisterAlgorithm::analyze(), SctData::IO::TestResultStreamer_v4::read(), SctData::IO::TestResultStreamer_v3::read(), and SctData::IO::TestResultStreamer_v1::read(). |
|
|
Comments.
Definition at line 202 of file TestResult.h. |
|
|
The Defects found in producing this TestResult.
Definition at line 199 of file TestResult.h. |
|
|
The header.
Definition at line 197 of file TestResult.h. Referenced by getHeader(). |
|
|
Dcs Data if available.
Definition at line 203 of file TestResult.h. Referenced by getDcsData(), and setDcsData(). |
|
|
Dcs Data if available.
Definition at line 204 of file TestResult.h. Referenced by getOpeResult(), and setOpeResult(). |
|
|
True if the module passed the Test.
Definition at line 200 of file TestResult.h. |
|
|
True if there was a problem with the Module.
Definition at line 201 of file TestResult.h. |
|
|
The test variable.
Definition at line 198 of file TestResult.h. |
1.3.5