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

SctAnalysis::RxThresholdBasedOnConfigRegisterAlgorithm Class Reference

Algorithm for RxThresholdBasedOnConfigRegister Test. More...

#include <RxThresholdBasedOnConfigRegisterAlgorithm.h>

Inheritance diagram for SctAnalysis::RxThresholdBasedOnConfigRegisterAlgorithm:

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

Collaboration graph
[legend]

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::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.

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

virtual ~RxThresholdBasedOnConfigRegisterAlgorithm () throw ()
 destructor


Static Private Attributes

bool inMap

Detailed Description

Algorithm for RxThresholdBasedOnConfigRegister Test.

Definition at line 10 of file RxThresholdBasedOnConfigRegisterAlgorithm.h.


Constructor & Destructor Documentation

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

constructor

Definition at line 20 of file RxThresholdBasedOnConfigRegisterAlgorithm.h.

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

destructor

Definition at line 24 of file RxThresholdBasedOnConfigRegisterAlgorithm.h.


Member Function Documentation

void SctAnalysis::RxThresholdBasedOnConfigRegisterAlgorithm::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 83 of file RxThresholdBasedOnConfigRegisterAlgorithm.cpp.

References SctData::ScanResult::getHeader(), SctData::ScanPoints::getNEvents(), SctData::ScanPoints::getNPoints(), SctData::ScanPoints::getPoint(), SctData::ScanResult::getPoints(), SctAnalysis::AnalysisAlgorithm::getRaw(), SctData::RawScanResult::getScanData(), SctData::RxThresholdBasedOnConfigRegisterTestResult::getStreamResult(), SctAnalysis::AnalysisAlgorithm::getTestResult(), SctData::ResultHeader::getVariable(), SctData::TestResult::setPassed(), SctData::TestResult::setProblem(), and SctData::TestResult::setScanVariable().

Here is the call graph for this function:

bool SctAnalysis::RxThresholdBasedOnConfigRegisterAlgorithm::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 33 of file RxThresholdBasedOnConfigRegisterAlgorithm.cpp.

References SctAnalysis::AnalysisAlgorithm::hasAllRaws().

Here is the call graph for this function:

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

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

Called if the TestResult needs to be created.

Exceptions:
nothing. 

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 37 of file RxThresholdBasedOnConfigRegisterAlgorithm.cpp.

void SctAnalysis::RxThresholdBasedOnConfigRegisterAlgorithm::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 RxThresholdBasedOnConfigRegisterAlgorithm.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 Fri Jan 14 12:47:43 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5