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

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 (const TestData &testData, const string &moduleName) const throw ()
 Must be overridden by sub-classes.

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

virtual ~FullBypassAlgorithm () throw ()
 destructor


Static Public Member Functions

void setVddNom (float value)
 set the nominal value of the digital voltage

float getVddNom ()
 get the nominal value of the digital voltage.


Static Private Member Functions

unsigned getConf (const unsigned int conf)
unsigned getConfNo (const unsigned token)
 
Exceptions:
IllegalStateError if no configuration matches token


unsigned sumFib (const unsigned int n)

Static Private Attributes

bool inMap
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 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]
 

possible bug?

Implements SctAnalysis::AnalysisAlgorithm.

Definition at line 39 of file FullBypassAlgorithm.cpp.

References getConfNo(), SctData::OccupancyProjector::getOccupancy(), SctAnalysis::AnalysisAlgorithm::getRaw(), SctAnalysis::AnalysisAlgorithm::getTestResult(), and getVddNom().

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

Referenced by analyze().

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.

Referenced by analyze().

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:

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 22 of file FullBypassAlgorithm.cpp.

Referenced by getVddNom(), and setVddNom().


The documentation for this class was generated from the following files:
Generated on Thu Jul 15 09:51:46 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5