#ifndef HVCALIB_H_SEEN #define HVCALIB_H_SEEN #include #include "HVConfig.h" class HVCalib { private: double ****HVArray; int ****DACArray; int NDACValues; int NHVValues; int iDACMin; double fHVCalibSlope; HVConfig *Config; public: HVCalib(HVConfig *); ~HVCalib(); int HVToDAC(double hv, int board, int chain, int channel); double DACToHV(int dac, int board, int chain, int channel); }; #endif