SctAnalysis::StrobeDelayAlgorithm Class Reference

Algorithm for single-scan Strobe-Delay Test. More...

#include <StrobeDelayAlgorithm.h>

Inheritance diagram for SctAnalysis::StrobeDelayAlgorithm:

Inheritance graph
[legend]
Collaboration diagram for SctAnalysis::StrobeDelayAlgorithm:

Collaboration graph
[legend]

Public Member Functions

virtual void analyze ()
 finds the optimum - a fractions of the way from the mid-rise to the mid-fall of the function.
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 bool canAnalyze () const
 Should check to see if the analysis can be performed.
virtual shared_ptr< SctData::TestResultcreateTestResult () const
 Called if the TestResult needs to be created.
virtual boost::shared_ptr<
AnalysisAlgorithm
clone (shared_ptr< const TestData > testData, const string &moduleName) const throw ()
 Must be overridden by sub-classes.
 StrobeDelayAlgorithm (shared_ptr< const TestData > testData, const string &moduleName, const AnalysisAlgorithm &alg) throw ()
 constructor
virtual ~StrobeDelayAlgorithm () throw ()
 destructor

Private Member Functions

 StrobeDelayAlgorithm ()

Static Private Attributes

static bool inMap

Detailed Description

Algorithm for single-scan Strobe-Delay Test.

Uses a single FitScanResult to find the optimum value of the strobe delay.

Definition at line 15 of file StrobeDelayAlgorithm.h.


Constructor & Destructor Documentation

SctAnalysis::StrobeDelayAlgorithm::StrobeDelayAlgorithm shared_ptr< const TestData testData,
const string &  moduleName,
const AnalysisAlgorithm alg
throw () [inline]
 

constructor

Definition at line 29 of file StrobeDelayAlgorithm.h.

virtual SctAnalysis::StrobeDelayAlgorithm::~StrobeDelayAlgorithm  )  throw () [inline, virtual]
 

destructor

Definition at line 33 of file StrobeDelayAlgorithm.h.


Member Function Documentation

void SctAnalysis::StrobeDelayAlgorithm::analyze  )  [virtual]
 

finds the optimum - a fractions of the way from the mid-rise to the mid-fall of the function.

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 36 of file StrobeDelayAlgorithm.cpp.

References SctData::TestResult::addComment(), SctData::DefectList::addDefect(), SctData::DefectList::defectSeverityAffectingElement(), SctData::TestResult::getDefects(), SctAnalysis::AnalysisAlgorithm::getFit(), SctData::FitObject::getParameter(), SctAnalysis::AnalysisAlgorithm::getTestResult(), Sct::nChipModule, SctData::SERIOUS, SctData::SingleVariableTestResult::setNOptima(), SctData::SingleVariableTestResult::setOptimum(), and SctData::TestResult::setScanVariable().

Here is the call graph for this function:

bool SctAnalysis::StrobeDelayAlgorithm::canAnalyze  )  const [virtual]
 

Should check to see if the analysis can be performed.

Probably wants to call hasAllRaws() or hasAllFits().

Exceptions:
no exceotions.

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 32 of file StrobeDelayAlgorithm.cpp.

References SctAnalysis::AnalysisAlgorithm::hasAllFits().

Here is the call graph for this function:

shared_ptr< AnalysisAlgorithm > SctAnalysis::StrobeDelayAlgorithm::clone shared_ptr< const TestData testData,
const string &  moduleName
const throw () [virtual]
 

Must be overridden by sub-classes.

Returns a shared pointer to a concrete AnalysisAlgorithm of the correct type. Primarily used by the map to get an AnalysisAlgorithm of the correct type.

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 20 of file StrobeDelayAlgorithm.cpp.

shared_ptr< TestResult > SctAnalysis::StrobeDelayAlgorithm::createTestResult  )  const [virtual]
 

Called if the TestResult needs to be created.

Exceptions:
nothing. 

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 24 of file StrobeDelayAlgorithm.cpp.

void SctAnalysis::StrobeDelayAlgorithm::loadData  )  [virtual]
 

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 28 of file StrobeDelayAlgorithm.cpp.

References SctAnalysis::AnalysisAlgorithm::loadAllFits().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:04:09 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6