SctAnalysis::TimeWalkAlgorithm Class Reference

Algorithm for TimeWalk Test. More...

#include <TimeWalkAlgorithm.h>

Inheritance diagram for SctAnalysis::TimeWalkAlgorithm:

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

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 (shared_ptr< const TestData > testData, const string &moduleName) const throw ()
 Must be overridden by sub-classes.
 TimeWalkAlgorithm (shared_ptr< const TestData > testData, const string &moduleName, const AnalysisAlgorithm &alg) throw ()
 constructor
virtual ~TimeWalkAlgorithm () throw ()
 destructor

Private Member Functions

 TimeWalkAlgorithm ()

Static Private Attributes

static bool inMap

Detailed Description

Algorithm for TimeWalk Test.

Definition at line 10 of file TimeWalkAlgorithm.h.


Constructor & Destructor Documentation

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

constructor

Definition at line 20 of file TimeWalkAlgorithm.h.

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

destructor

Definition at line 24 of file TimeWalkAlgorithm.h.


Member Function Documentation

void SctAnalysis::TimeWalkAlgorithm::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 37 of file TimeWalkAlgorithm.cpp.

References SctAnalysis::debug, SctAnalysis::AnalysisAlgorithm::getFit(), SctAnalysis::AnalysisAlgorithm::getTestResult(), and Sct::nChipModule.

Here is the call graph for this function:

bool SctAnalysis::TimeWalkAlgorithm::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 29 of file TimeWalkAlgorithm.cpp.

References SctAnalysis::AnalysisAlgorithm::hasAllFits().

Here is the call graph for this function:

shared_ptr< AnalysisAlgorithm > SctAnalysis::TimeWalkAlgorithm::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 TimeWalkAlgorithm.cpp.

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

Called if the TestResult needs to be created.

Exceptions:
nothing. 

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 33 of file TimeWalkAlgorithm.cpp.

void SctAnalysis::TimeWalkAlgorithm::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 24 of file TimeWalkAlgorithm.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:10 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6