#include <TestResult.h>
Inheritance diagram for SctData::TestResult:
Public Member Functions | |||
~TestResult () throw () | |||
Constructor is in protected. | |||
virtual string | getUniqueID () const throw (LogicError) | ||
Serializable override
| |||
unsigned int | getRunNumber () const throw () | ||
| |||
void | setRunNumber (unsigned int runNumber) throw () | ||
string | getModuleName () const throw () | ||
| |||
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 () | ||
const ConfigurationVariable & | getTestVariable () const throw () | ||
Get the configuration variable associated with this test. | |||
void | setTestVariable (const ConfigurationVariable &testVariable) throw () | ||
const ModuleConfiguration & | getUpdatedConfiguration () const throw () | ||
Get the updated configuration. | |||
ModuleConfiguration & | getUpdatedConfiguration () 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 ModuleDefectList & | getDefects () const throw () | ||
Get the defects found in the TestResult. | |||
ModuleDefectList & | 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 FitScanResult > | getFit (unsigned int index) const throw (LogicError,IoError) | ||
Gets a FitScanResult that has previously been added with addFit. | |||
shared_ptr< const RawScanResult > | getRaw (unsigned int index) const throw (LogicError,IoError) | ||
Gets a RawScanResult that has previously been added with addRaw. | |||
void | addFit (shared_ptr< const FitScanResult > fit) throw (LogicError) | ||
Add a FitScanResult. | |||
void | addRaw (shared_ptr< const RawScanResult > raw) throw (LogicError) | ||
Add a RawScanResult. | |||
bool | hasAllFits () const throw () | ||
convenience method checks if all fits are in place. | |||
bool | hasAllRaws () const throw () | ||
convenience method checks if all raws are in place. | |||
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 | ||
unsigned int | runNumber | ||
The run number. | |||
string | moduleName | ||
The module name. | |||
const ConfigurationVariable * | testVariable | ||
The test variable. | |||
const ConfigurationVariable * | scanVariable | ||
The scan variable for all the ScanNumbers in this TestResult. | |||
ModuleConfiguration | updatedConfig | ||
The updated configuration. | |||
ModuleDefectList | defects | ||
The ModuleDefects 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. | |||
Friends | |||
class | TestResultIOHelper |
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 31 of file TestResult.h.
|
Constructor is in protected.
Definition at line 34 of file TestResult.h. |
|
Default constructor.
Definition at line 26 of file TestResult.cpp. |
|
Create a TestResult from all the stuff needed to initialize it.
Definition at line 19 of file TestResult.cpp. |
|
Add a comment - must be a single line (no newlines).
Definition at line 83 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::read(). |
|
Add a FitScanResult. Puts it in the correct place. Definition at line 127 of file TestResult.cpp. |
|
Add a RawScanResult. Puts it in the correct place. Definition at line 132 of file TestResult.cpp. |
|
Add a scan to this test.
Reimplemented in SctData::StrobeDelayTestResult. Definition at line 87 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::read(). |
|
Return all the comments.
Definition at line 79 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::write(). |
|
Definition at line 43 of file TestResult.cpp. |
|
Get the defects found in the TestResult.
Definition at line 39 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::read(), SctData::IO::TestResultStreamer::write(), SctData::TestSummary::StrobeDelaySummaryWriter::write(), and SctData::TestSummary::NPtGainSummaryWriter::write(). |
|
Gets a FitScanResult that has previously been added with addFit.
Definition at line 119 of file TestResult.cpp. References Sct::IoError. |
|
Find the index for a particular scanNumber.
Definition at line 151 of file TestResult.cpp. |
|
Definition at line 48 of file TestResult.h. References moduleName. Referenced by SctCalibrationController::ConfigUpdater::getMID(), SctCalibrationController::NPtGainConfigUpdater::update(), and SctData::IO::TestResultStreamer::write(). |
|
Definition at line 130 of file TestResult.h. References data. Referenced by SctData::IO::TestResultStreamer::write(), SctData::TestSummary::NPtGainSummaryWriter::write(), and SctData::TestSummary::FullBypassSummaryWriter::write(). |
|
Return true if the module passed the Test.
Definition at line 63 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::write(). |
|
Return true if the module had a problem.
Definition at line 71 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::write(). |
|
Gets a RawScanResult that has previously been added with addRaw.
Definition at line 123 of file TestResult.cpp. References Sct::IoError. |
|
Definition at line 41 of file TestResult.h. References runNumber. Referenced by SctData::IO::TestResultStreamer::write(). |
|
gets the scan number at a particular postition `i' within the data.
Definition at line 99 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::write(). |
|
Get the configuration variable associated with all the scans in this test.
Definition at line 47 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::write(). |
|
gets the test point at a particular position `i' within the data.
Definition at line 105 of file TestResult.cpp. Referenced by SctData::NPtGainTestResult::getSpecialScanPointValue(), SctData::IO::TestResultStreamer::write(), and SctData::TestSummary::FullBypassSummaryWriter::write(). |
|
Get the configuration variable associated with this test.
Definition at line 55 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::write(). |
|
Serializable override
Implements Sct::Serializable. Definition at line 92 of file TestResult.cpp. |
|
Definition at line 115 of file TestResult.cpp. |
|
Get the updated configuration.
Definition at line 111 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::read(), and SctData::IO::TestResultStreamer::write(). |
|
convenience method checks if all fits are in place.
Definition at line 137 of file TestResult.cpp. |
|
convenience method checks if all raws are in place.
Definition at line 144 of file TestResult.cpp. |
|
Definition at line 35 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::read(). |
|
Set whether the module passed the scan.
Definition at line 67 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::read(). |
|
Set whether the module had a problem.
Definition at line 75 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::read(). |
|
Definition at line 31 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::read(). |
|
Definition at line 51 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::read(). |
|
Definition at line 59 of file TestResult.cpp. Referenced by SctData::IO::TestResultStreamer::read(). |
|
Definition at line 234 of file TestResult.h. |
|
Comments.
Definition at line 231 of file TestResult.h. |
|
Definition at line 221 of file TestResult.h. Referenced by getNScans(). |
|
The ModuleDefects found in producing this TestResult.
Definition at line 228 of file TestResult.h. |
|
The module name.
Definition at line 223 of file TestResult.h. Referenced by getModuleName(). |
|
True if the module passed the Test.
Definition at line 229 of file TestResult.h. |
|
True if there was a problem with the Module.
Definition at line 230 of file TestResult.h. |
|
The run number.
Definition at line 222 of file TestResult.h. Referenced by getRunNumber(). |
|
The scan variable for all the ScanNumbers in this TestResult.
Definition at line 226 of file TestResult.h. |
|
The test variable.
Definition at line 225 of file TestResult.h. |
|
The updated configuration.
Definition at line 227 of file TestResult.h. |