SctAnalysis::PipelineAlgorithm Class Reference

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

#include <PipelineAlgorithm.h>

Inheritance diagram for SctAnalysis::PipelineAlgorithm:

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

Collaboration graph
[legend]

Public Member Functions

virtual void analyze ()
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.
 PipelineAlgorithm (shared_ptr< const TestData > testData, const string &moduleName, const AnalysisAlgorithm &alg) throw ()
 constructor
virtual ~PipelineAlgorithm () throw ()
 destructor

Private Member Functions

 PipelineAlgorithm ()

Static Private Attributes

static bool inMap

Detailed Description

Algorithm for single-scan Pipeline Test.

Uses a single RawScanResult to find defects in the pipeline.

Definition at line 11 of file PipelineAlgorithm.h.


Constructor & Destructor Documentation

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

constructor

Definition at line 21 of file PipelineAlgorithm.h.

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

destructor

Definition at line 25 of file PipelineAlgorithm.h.


Member Function Documentation

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

loop over chips

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 34 of file PipelineAlgorithm.cpp.

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

Here is the call graph for this function:

bool SctAnalysis::PipelineAlgorithm::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 30 of file PipelineAlgorithm.cpp.

References SctAnalysis::AnalysisAlgorithm::hasAllRaws().

Here is the call graph for this function:

shared_ptr< AnalysisAlgorithm > SctAnalysis::PipelineAlgorithm::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 18 of file PipelineAlgorithm.cpp.

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

Called if the TestResult needs to be created.

Exceptions:
nothing. 

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 22 of file PipelineAlgorithm.cpp.

void SctAnalysis::PipelineAlgorithm::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 26 of file PipelineAlgorithm.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 Mon Feb 6 14:04:01 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6