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

mVThresholdVariable.cpp

Go to the documentation of this file.
00001 #include "mVThresholdVariable.h"
00002 #include <CommonWithDsp/ABCD/ABCDscans.h>
00003 
00004 namespace SctData {
00005     
00006 /* //Create the mVThresholdVariable!
00007 class mVThresholdVariableFactory {
00008 public:
00009     mVThresholdVariableFactory() {mVThresholdVariable::instance();}
00010 };
00011 
00012 mVThresholdVariableFactory factory;
00013   */  
00014     
00015 static const mVThresholdVariable& ob = mVThresholdVariable::instance();
00016 
00017 //Member functions
00018 
00019 mVThresholdVariable::mVThresholdVariable() : ThresholdVariable(ST_VTHR, "Threshold set by mV") {}    
00020     
00021 const mVThresholdVariable& mVThresholdVariable::instance() throw() {
00022     static mVThresholdVariable* ob = new mVThresholdVariable();
00023     return *ob;
00024 }
00025 
00026 double mVThresholdVariable::getLinkActualPoint(double logicalPt, const ModuleConfiguration& config, unsigned int link) const throw(){
00027     return getActualPoint(logicalPt);
00028 }
00029 
00030 double mVThresholdVariable::getChipActualPoint(double logicalPt, const ModuleConfiguration& config, unsigned int chip) const throw(){
00031     return getActualPoint(logicalPt);
00032 }
00033 
00034 double mVThresholdVariable::getChannelActualPoint(double logicalPt, const ModuleConfiguration& config, unsigned int channel) const throw() {
00035     return getActualPoint(logicalPt);
00036 }
00037 
00038 
00039 double mVThresholdVariable::getLinkLogicalPoint(double actualPt, const ModuleConfiguration& config, unsigned int link) const throw() {
00040     return getLogicalPoint(actualPt);
00041 }
00042 
00043 double mVThresholdVariable::getChipLogicalPoint(double actualPt, const ModuleConfiguration& config, unsigned int chip) const throw() {
00044     return getLogicalPoint(actualPt);
00045 }
00046 
00047 double mVThresholdVariable::getChannelLogicalPoint(double actualPt, const ModuleConfiguration& config, unsigned int channel) const throw() {
00048     return getLogicalPoint(actualPt);
00049 }
00050 
00051 }

Generated on Mon Dec 15 19:36:07 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3