00001 #include "mVCalChargeVariable.h"
00002 #include <Sct/AbcdScans.h>
00003
00004 namespace SctData {
00005
00006 static const mVCalChargeVariable& ob = mVCalChargeVariable::instance();
00007
00008
00009
00010 mVCalChargeVariable::mVCalChargeVariable() : CalChargeVariable(ST_VCAL, "Calibration charge set by mV") {}
00011
00012 const mVCalChargeVariable& mVCalChargeVariable::instance() throw() {
00013 static mVCalChargeVariable* ob = new mVCalChargeVariable();
00014 return *ob;
00015 }
00016
00017 double mVCalChargeVariable::getLinkActualPoint(double logicalPt, const ModuleConfiguration& config, unsigned int link) const throw(){
00018 return getActualPoint(logicalPt);
00019 }
00020
00021 double mVCalChargeVariable::getChipActualPoint(double logicalPt, const ModuleConfiguration& config, unsigned int chip) const throw(){
00022 return getActualPoint(logicalPt);
00023 }
00024
00025 double mVCalChargeVariable::getChannelActualPoint(double logicalPt, const ModuleConfiguration& config, unsigned int channel) const throw() {
00026 return getActualPoint(logicalPt);
00027 }
00028
00029
00030 double mVCalChargeVariable::getLinkLogicalPoint(double actualPt, const ModuleConfiguration& config, unsigned int link) const throw() {
00031 return getLogicalPoint(actualPt);
00032 }
00033
00034 double mVCalChargeVariable::getChipLogicalPoint(double actualPt, const ModuleConfiguration& config, unsigned int chip) const throw() {
00035 return getLogicalPoint(actualPt);
00036 }
00037
00038 double mVCalChargeVariable::getChannelLogicalPoint(double actualPt, const ModuleConfiguration& config, unsigned int channel) const throw() {
00039 return getLogicalPoint(actualPt);
00040 }
00041
00042 }