Last change
on this file since 97 was 90, checked in by ogrimm, 15 years ago |
Removed ftdi libraries, streamlined program, slightly expanded command interface
|
File size:
432 bytes
|
Line | |
---|
1 | #ifndef HVCALIB_H_SEEN
|
---|
2 | #define HVCALIB_H_SEEN
|
---|
3 |
|
---|
4 | #include <string.h>
|
---|
5 |
|
---|
6 | #include "HVConfig.h"
|
---|
7 |
|
---|
8 |
|
---|
9 | class HVCalib {
|
---|
10 |
|
---|
11 | private:
|
---|
12 |
|
---|
13 | double ****HVArray;
|
---|
14 | int ****DACArray;
|
---|
15 |
|
---|
16 | int NDACValues;
|
---|
17 | int NHVValues;
|
---|
18 |
|
---|
19 | public:
|
---|
20 |
|
---|
21 | HVCalib(HVConfig *hvConfig);
|
---|
22 | ~HVCalib();
|
---|
23 |
|
---|
24 | int iDACMin;
|
---|
25 | double fHVCalibSlope;
|
---|
26 |
|
---|
27 | int HVToDAC(double hv, int board, int chain, int channel);
|
---|
28 | double DACToHV(int dac, int board, int chain, int channel);
|
---|
29 | };
|
---|
30 |
|
---|
31 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.