SctAnalysis::FullBypassAlgorithm Class Reference

Algorithm for FullBypass Test. More...

#include <FullBypassAlgorithm.h>

Inheritance diagram for SctAnalysis::FullBypassAlgorithm:

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

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

Static Public Member Functions

static void setVddNom (float value)
 set the nominal value of the digital voltage
static float getVddNom ()
 get the nominal value of the digital voltage.

Private Member Functions

 FullBypassAlgorithm ()

Static Private Member Functions

static unsigned getConf (const unsigned int conf)
static unsigned getConfNo (const unsigned token)
static unsigned sumFib (const unsigned int n)

Static Private Attributes

static bool inMap
static float s_vddNominal
 nominal digital voltage level.

Detailed Description

Algorithm for FullBypass Test.

Definition at line 10 of file FullBypassAlgorithm.h.


Constructor & Destructor Documentation

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

constructor

Definition at line 20 of file FullBypassAlgorithm.h.

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

destructor

Definition at line 24 of file FullBypassAlgorithm.h.


Member Function Documentation

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

Note:
possible bug?

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 39 of file FullBypassAlgorithm.cpp.

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

Here is the call graph for this function:

bool SctAnalysis::FullBypassAlgorithm::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 31 of file FullBypassAlgorithm.cpp.

References SctAnalysis::AnalysisAlgorithm::hasAllRaws().

Here is the call graph for this function:

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

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

Called if the TestResult needs to be created.

Exceptions:
nothing. 

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 35 of file FullBypassAlgorithm.cpp.

unsigned SctAnalysis::FullBypassAlgorithm::getConfNo const unsigned  token  )  [static, private]
 

Exceptions:
IllegalStateError if no configuration matches token

Definition at line 427 of file FullBypassAlgorithm.cpp.

static float SctAnalysis::FullBypassAlgorithm::getVddNom  )  [inline, static]
 

get the nominal value of the digital voltage.

Definition at line 33 of file FullBypassAlgorithm.h.

References s_vddNominal.

void SctAnalysis::FullBypassAlgorithm::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 27 of file FullBypassAlgorithm.cpp.

References SctAnalysis::AnalysisAlgorithm::loadAllRaws().

Here is the call graph for this function:

static void SctAnalysis::FullBypassAlgorithm::setVddNom float  value  )  [inline, static]
 

set the nominal value of the digital voltage

Definition at line 29 of file FullBypassAlgorithm.h.

References s_vddNominal.


Field Documentation

float SctAnalysis::FullBypassAlgorithm::s_vddNominal [static, private]
 

nominal digital voltage level.

Definition at line 43 of file FullBypassAlgorithm.h.

Referenced by getVddNom(), and setVddNom().


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:03:51 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6