Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Related Pages

SctAnalysis::NMaskAlgorithm Class Reference

Algorithm for single-scan NMask Test. More...

#include <NMaskAlgorithm.h>

Inheritance diagram for SctAnalysis::NMaskAlgorithm:

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

Collaboration graph
[legend]

Public Member Functions

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 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 (const TestData &testData, const string &moduleName) const throw ()
 Must be overridden by sub-classes.

 NMaskAlgorithm (const TestData &testData, const string &moduleName, const AnalysisAlgorithm &alg) throw ()
 constructor

virtual ~NMaskAlgorithm () throw ()
 destructor


Static Private Attributes

bool inMap

Detailed Description

Algorithm for single-scan NMask Test.

Uses a single RawScanResult to find defects in the pipeline.

Definition at line 12 of file NMaskAlgorithm.h.


Constructor & Destructor Documentation

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

constructor

Definition at line 22 of file NMaskAlgorithm.h.

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

destructor

Definition at line 26 of file NMaskAlgorithm.h.


Member Function Documentation

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

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

Exceptions:
any Exception

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 35 of file NMaskAlgorithm.cpp.

References SctAnalysis::AnalysisAlgorithm::getRaw(), and SctAnalysis::AnalysisAlgorithm::getTestResult().

Here is the call graph for this function:

bool SctAnalysis::NMaskAlgorithm::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 27 of file NMaskAlgorithm.cpp.

References SctAnalysis::AnalysisAlgorithm::hasAllRaws().

Here is the call graph for this function:

shared_ptr< AnalysisAlgorithm > SctAnalysis::NMaskAlgorithm::clone 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 19 of file NMaskAlgorithm.cpp.

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

Called if the TestResult needs to be created.

Exceptions:
nothing. 

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 31 of file NMaskAlgorithm.cpp.

void SctAnalysis::NMaskAlgorithm::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 23 of file NMaskAlgorithm.cpp.

References SctAnalysis::AnalysisAlgorithm::loadAllRaws().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Thu Jul 15 09:51:48 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5