source: hvcontrol/src/HVCalib.h@ 152

Last change on this file since 152 was 100, checked in by ogrimm, 15 years ago
Number of HV boards (almost) unlimited.
File size: 446 bytes
Line 
1#ifndef HVCALIB_H_SEEN
2#define HVCALIB_H_SEEN
3
4#include <string.h>
5
6#include "HVConfig.h"
7
8
9class HVCalib {
10
11 private:
12
13 double ****HVArray;
14 int ****DACArray;
15
16 int NDACValues;
17 int NHVValues;
18 int iDACMin;
19 double fHVCalibSlope;
20
21 HVConfig *Config;
22
23 public:
24
25 HVCalib(HVConfig *);
26 ~HVCalib();
27
28 int HVToDAC(double hv, int board, int chain, int channel);
29 double DACToHV(int dac, int board, int chain, int channel);
30};
31
32#endif
Note: See TracBrowser for help on using the repository browser.