SctAnalysis::ChipCounterAlgorithm Class Reference

Algorithm for ChipCounter Test. More...

#include <ChipCounterAlgorithm.h>

Inheritance diagram for SctAnalysis::ChipCounterAlgorithm:

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

Collaboration graph
[legend]

Public Member Functions

virtual bool canAnalyze () const
 Should check to see if the analysis can be performed.
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 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.
 ChipCounterAlgorithm (shared_ptr< const TestData > testData, const string &moduleName, const AnalysisAlgorithm &alg) throw ()
 constructor
virtual ~ChipCounterAlgorithm () throw ()
 destructor

Private Member Functions

 ChipCounterAlgorithm ()

Static Private Attributes

static bool inMap
static const int NHEADER
static const int NBC
static const int NL1

Detailed Description

Algorithm for ChipCounter Test.

Definition at line 10 of file ChipCounterAlgorithm.h.


Constructor & Destructor Documentation

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

constructor

Definition at line 20 of file ChipCounterAlgorithm.h.

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

destructor

Definition at line 24 of file ChipCounterAlgorithm.h.


Member Function Documentation

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

MSB is first

MSB is first

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 40 of file ChipCounterAlgorithm.cpp.

References SctData::TestResult::addComment(), SctData::ScanPoints::getNPoints(), SctAnalysis::AnalysisAlgorithm::getRaw(), SctAnalysis::AnalysisAlgorithm::getTestResult(), SctData::TestResult::setPassed(), and SctData::TestResult::setScanVariable().

Here is the call graph for this function:

bool SctAnalysis::ChipCounterAlgorithm::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 ChipCounterAlgorithm.cpp.

References SctAnalysis::AnalysisAlgorithm::hasAllRaws().

Here is the call graph for this function:

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

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

Called if the TestResult needs to be created.

Exceptions:
nothing. 

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 36 of file ChipCounterAlgorithm.cpp.

void SctAnalysis::ChipCounterAlgorithm::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 ChipCounterAlgorithm.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:03:47 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6