Last change
on this file since 20053 was 161, checked in by ogrimm, 15 years ago |
Removed local configuration, now dependent on Evidence configuration server
|
File size:
478 bytes
|
Line | |
---|
1 | #ifndef HVCALIB_H_SEEN
|
---|
2 | #define HVCALIB_H_SEEN
|
---|
3 |
|
---|
4 | #include <string.h>
|
---|
5 |
|
---|
6 | //#include "HVConfig.h"
|
---|
7 | class ProcessIO;
|
---|
8 |
|
---|
9 | class 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 | class ProcessIO *Config;
|
---|
22 |
|
---|
23 | public:
|
---|
24 |
|
---|
25 | HVCalib(class ProcessIO *);
|
---|
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.