#include <StrobeDelayTestResult.h>
Inheritance diagram for SctData::StrobeDelayTestResult:
Public Member Functions | |
StrobeDelayTestResult () throw () | |
~StrobeDelayTestResult () throw () | |
StrobeDelayTestResult (const unsigned int runNumber, const string &moduleName) throw () | |
Constructor. | |
virtual string | getClassName () const 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. | |
void | setFraction (const double f=0.25) throw () |
set the position parameter for the optimum efficiency. | |
double | getFraction () const throw () |
get the position parameter for the optimum efficiency. | |
unsigned int | getNOptima () const throw () |
get the number of optmimised chip delays (usually 0 or 12). | |
void | setNOptima (unsigned int n) throw () |
double | getOptimum (unsigned i) const throw (Sct::LogicError) |
get the value of one of the chip delays (chip `i'). | |
void | setOptimum (unsigned int chip, double optimum) throw (Sct::LogicError) |
set the optimum of one chip to a particular value | |
Private Attributes | |
double | m_fraction |
the fraction of the distance from rise to fall for optimum efficiency. | |
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 20 of file StrobeDelayTestResult.h.
|
Definition at line 20 of file StrobeDelayTestResult.cpp. |
|
Definition at line 24 of file StrobeDelayTestResult.h. |
|
Constructor.
Definition at line 24 of file StrobeDelayTestResult.cpp. |
|
Override addScan to ensure there is only 1 scanNumber.
Reimplemented from SctData::TestResult. Definition at line 34 of file StrobeDelayTestResult.cpp. |
|
Get the class name for this object. This is used to identify the precise type.
Implements Sct::Streamable. Definition at line 30 of file StrobeDelayTestResult.cpp. |
|
get the position parameter for the optimum efficiency.
Definition at line 47 of file StrobeDelayTestResult.h. References m_fraction. Referenced by SctData::IO::StrobeDelayTestResultStreamer::write(). |
|
get the number of optmimised chip delays (usually 0 or 12).
Definition at line 50 of file StrobeDelayTestResult.h. References m_optima. Referenced by SctData::IO::StrobeDelayTestResultStreamer::write(). |
|
get the value of one of the chip delays (chip `i').
Definition at line 39 of file StrobeDelayTestResult.cpp. References Sct::nChipModule. Referenced by SctCalibrationController::StrobeDelayConfigUpdater::update(), SctData::IO::StrobeDelayTestResultStreamer::write(), and SctData::TestSummary::StrobeDelaySummaryWriter::write(). |
|
set the position parameter for the optimum efficiency.
Definition at line 42 of file StrobeDelayTestResult.h. References m_fraction. Referenced by SctData::IO::StrobeDelayTestResultStreamer::read(). |
|
Definition at line 52 of file StrobeDelayTestResult.h. References m_optima. Referenced by SctData::IO::StrobeDelayTestResultStreamer::read(). |
|
set the optimum of one chip to a particular value
Definition at line 45 of file StrobeDelayTestResult.cpp. References Sct::nChipModule. Referenced by SctData::IO::StrobeDelayTestResultStreamer::read(). |
|
the fraction of the distance from rise to fall for optimum efficiency.
Definition at line 65 of file StrobeDelayTestResult.h. Referenced by getFraction(), and setFraction(). |
|
the optimum value of the delay.
Definition at line 66 of file StrobeDelayTestResult.h. Referenced by getNOptima(), and setNOptima(). |