#include <TrimRangeAlgorithm.h>
Inheritance diagram for SctAnalysis::TrimRangeAlgorithm:
Public Member Functions | |
virtual bool | canAnalyze () const |
Should check to see if the analysis can be performed. | |
virtual void | analyze () |
Does the analysis. | |
virtual void | loadData () |
Called to indicate the algorithm should try and load as much data as it can - perhaps by calling loadAllFits or loadAllRaws(). | |
virtual shared_ptr< SctData::TestResult > | createTestResult () const |
Called if the TestResult needs to be created. | |
virtual | ~TrimRangeAlgorithm () throw () |
destructor | |
TrimRangeAlgorithm (const TestData &testData, const string &moduleName, const AnalysisAlgorithm &alg) throw () | |
constructor | |
virtual boost::shared_ptr< AnalysisAlgorithm > | clone (const TestData &testData, const string &moduleName) const throw () |
over-ride | |
vector< TrimRange > | createRanges (const SctData::TestResult &r) throw () |
find which trim ranges and points are represented in the data | |
bool | allowTrimRangeVariation () const throw () |
allow trim range variation between chips? | |
bool | allowTrimTargetVariation () const throw () |
allow trim target variation between chips? | |
Static Public Member Functions | |
void | doTrimDataFit (SctData::TrimRangeTestResult::ChipTrimData &chipData) throw () |
Fit the graph of data points with a linear fit. | |
unsigned | nTargets () throw () |
Number of trim targets to consider. | |
float | firstTarget () throw () |
First trim target to consider. | |
float | targetStep () throw () |
Step between trim targets to consider. | |
Static Private Member Functions | |
shared_ptr< const SctData::TrimRangeTestResult::ChipTrim > | getChipTrim (const SctData::TrimRangeTestResult::ChipTrimData &data, const float target, short unsigned irange) throw () |
Static Private Attributes | |
bool | inMap |
static var to force addition to map | |
bool | s_targetVariation |
bool | s_rangeVariation |
Input: TrimRangeTest Output: TrimRangeTestResult
Definition at line 16 of file TrimRangeAlgorithm.h.
|
destructor
Definition at line 27 of file TrimRangeAlgorithm.h. |
|
constructor
Definition at line 31 of file TrimRangeAlgorithm.h. |
|
allow trim range variation between chips?
Definition at line 52 of file TrimRangeAlgorithm.h. Referenced by analyze(). |
|
allow trim target variation between chips?
Definition at line 54 of file TrimRangeAlgorithm.h. Referenced by analyze(). |
|
Does the analysis. Should only be called after canAnalyze() returns true. Should not be called is isDone() returns true. It should also do any final initialization of the TestResult which requires data to be present
Implements SctAnalysis::AnalysisAlgorithm. Definition at line 48 of file TrimRangeAlgorithm.cpp. References allowTrimRangeVariation(), allowTrimTargetVariation(), createRanges(), SctData::DefectList::defectSeverityEncompassingElement(), doTrimDataFit(), firstTarget(), SctData::Stats< T >::getAt(), SctData::ModuleConfiguration::getChipConfiguration(), SctAnalysis::AnalysisAlgorithm::getFit(), SctAnalysis::AnalysisAlgorithm::getTestResult(), SctData::ChipConfiguration::isMasked(), SctData::Stats< T >::mean(), nTargets(), SctAnalysis::TrimRangeAlgorithm::TrimRange::points, SctData::SERIOUS, targetStep(), SctData::UNUSEABLE, SctData::Stat< T >::valid, SctData::Stat< T >::value, and SctData::Stats< T >::var(). |
Here is the call graph for this function:
|
Should check to see if the analysis can be performed. Probably wants to call hasAllRaws() or hasAllFits().
Implements SctAnalysis::AnalysisAlgorithm. Definition at line 40 of file TrimRangeAlgorithm.cpp. References SctAnalysis::AnalysisAlgorithm::hasAllFits(). |
Here is the call graph for this function:
|
over-ride
Implements SctAnalysis::AnalysisAlgorithm. Definition at line 29 of file TrimRangeAlgorithm.cpp. |
|
find which trim ranges and points are represented in the data
Definition at line 433 of file TrimRangeAlgorithm.cpp. Referenced by analyze(). |
|
Called if the TestResult needs to be created.
Implements SctAnalysis::AnalysisAlgorithm. Definition at line 44 of file TrimRangeAlgorithm.cpp. |
|
Fit the graph of data points with a linear fit.
linear least-squares fit Definition at line 398 of file TrimRangeAlgorithm.cpp. References SctData::Stat< T >::valid, and SctData::Stat< T >::value. Referenced by analyze(). |
|
First trim target to consider.
Definition at line 44 of file TrimRangeAlgorithm.h. Referenced by analyze(). |
|
Called to indicate the algorithm should try and load as much data as it can - perhaps by calling loadAllFits or loadAllRaws(). This is guarenteed to be called shortly before analyze(). Implements SctAnalysis::AnalysisAlgorithm. Definition at line 36 of file TrimRangeAlgorithm.cpp. References SctAnalysis::AnalysisAlgorithm::loadAllFits(). |
Here is the call graph for this function:
|
Number of trim targets to consider.
Definition at line 42 of file TrimRangeAlgorithm.h. Referenced by analyze(). |
|
Step between trim targets to consider.
Definition at line 46 of file TrimRangeAlgorithm.h. Referenced by analyze(). |
|
static var to force addition to map
Definition at line 27 of file TrimRangeAlgorithm.cpp. |