#include <SingleVariableTestResult.h>
Inheritance diagram for SctData::SingleVariableTestResult:
Public Member Functions | |
SingleVariableTestResult () throw () | |
~SingleVariableTestResult () throw () | |
SingleVariableTestResult (const ConfigurationVariable &scanVariable, const unsigned int runNumber, const string &moduleName) throw () | |
Constructor. | |
virtual string | getClassName () const =0 throw () |
Get the class name for this object. | |
virtual void | addScan (unsigned int scanNumber, double testPoint=0) throw (LogicError) |
Override addScan to ensure there is only 1 scanNumber. | |
virtual unsigned int | getNOptima () const throw () |
get the number of optmimised chip delays (usually 0 or 12). | |
virtual void | setNOptima (unsigned int n) throw () |
virtual void | setOptimum (unsigned i, double value) throw (Sct::LogicError) |
set the optimum for chip i to value | |
virtual double | getOptimum (unsigned i) const throw (Sct::LogicError) |
get the value of one of the chip delays (chip `i'). | |
Private Attributes | |
vector< double > | m_optima |
the optimum value of the delay. |
Such a test requires only a single scan.
The result of the analysis is an optimum delay value for each of the 12 chips.
Definition at line 18 of file SingleVariableTestResult.h.
|
Constructor.
Definition at line 14 of file SingleVariableTestResult.cpp. |
|
Override addScan to ensure there is only 1 scanNumber.
Reimplemented from SctData::TestResult. Definition at line 18 of file SingleVariableTestResult.cpp. References SctData::TestResult::addScan(). Here is the call graph for this function: ![]() |
|
Get the class name for this object. This is used to identify the precise type.
Implements Sct::Streamable. Implemented in SctData::RxDelayTestResult, SctData::RxThresholdTestResult, and SctData::StrobeDelayTestResult. |
|
get the number of optmimised chip delays (usually 0 or 12).
Definition at line 38 of file SingleVariableTestResult.h. References m_optima. Referenced by SctCalibrationController::StrobeDelayConfigUpdater::update(), SctData::IO::StrobeDelayTestResultStreamer_v1::write(), SctData::IO::SingleVariableTestResultStreamer_v2::write(), and SctData::IO::SingleVariableTestResultStreamer_v1::write(). |
|
get the value of one of the chip delays (chip `i').
Definition at line 23 of file SingleVariableTestResult.cpp. References Sct::nChipModule. Referenced by StrobeDelayCompare::compare(), SctCalibrationController::RxThresholdConfigUpdater::update(), SctCalibrationController::RxDelayConfigUpdater::update(), SctData::IO::StrobeDelayTestResultStreamer_v1::write(), SctData::IO::SingleVariableTestResultStreamer_v2::write(), SctData::IO::SingleVariableTestResultStreamer_v1::write(), SctData::TestSummary::RxThresholdSummaryWriter::write(), and SctData::TestSummary::RxDelaySummaryWriter::write(). |
|
set the optimum for chip i to value
Referenced by SctAnalysis::StrobeDelayAlgorithm::analyze(), SctData::IO::StrobeDelayTestResultStreamer_v1::read(), SctData::IO::SingleVariableTestResultStreamer_v2::read(), and SctData::IO::SingleVariableTestResultStreamer_v1::read(). |
|
the optimum value of the delay.
Definition at line 46 of file SingleVariableTestResult.h. Referenced by getNOptima(), and setNOptima(). |