#ifndef HVCALIB_H_SEEN #define HVCALIB_H_SEEN #include #include #include "Types.h" #define NCHAIN 4 #define NCHANNEL 32 class HVCalib { // privat: float ****HVArray; int ****DACArray; int NDACValues; int NHVValues; public: HVCalib(HVConfig *hvConfig); ~HVCalib(); int iDACMin; float fHVCalibSlope; int HVToDAC(float hv, int board, int chain, int channel); float DACToHV(int dac, int board, int chain, int channel); }; #endif