| Last change
 on this file since 57 was             46, checked in by lstark, 16 years ago | 
        
          | path of pixel map integrated in config file | 
        
          | File size:
            774 bytes | 
      
      
| Line |  | 
|---|
| 1 |  | 
|---|
| 2 | #ifndef HVCONFIG_H_SEEN | 
|---|
| 3 | #define HVCONFIG_H_SEEN | 
|---|
| 4 |  | 
|---|
| 5 | #include <time.h> | 
|---|
| 6 |  | 
|---|
| 7 | #include <string.h> | 
|---|
| 8 |  | 
|---|
| 9 | #include "Types.h" | 
|---|
| 10 |  | 
|---|
| 11 | class HVConfig { | 
|---|
| 12 |  | 
|---|
| 13 | public: | 
|---|
| 14 |  | 
|---|
| 15 | HVConfig(FILE* fptr, char *configfile=NULL); | 
|---|
| 16 | ~HVConfig(); | 
|---|
| 17 |  | 
|---|
| 18 | int ReadHVConfig(FILE* fptr, char *configfile); | 
|---|
| 19 | int PrintHVConfig(FILE* fptr); | 
|---|
| 20 | int WriteHVConfig(FILE* fptr, char *configfile); | 
|---|
| 21 |  | 
|---|
| 22 | int NumHVBoards; | 
|---|
| 23 | int USBDeviceNumber[MAX_NUM_HVBOARDS]; | 
|---|
| 24 |  | 
|---|
| 25 | int fCCPort; | 
|---|
| 26 | char *fCCClient; | 
|---|
| 27 |  | 
|---|
| 28 | bool IsDAC; | 
|---|
| 29 | float Coef[MAX_NUM_HVBOARDS][MAX_NUM_CHAINS][2]; | 
|---|
| 30 |  | 
|---|
| 31 | char*  FileName; | 
|---|
| 32 | char*  fLogPath; | 
|---|
| 33 | char** fUSBDevice; | 
|---|
| 34 |  | 
|---|
| 35 | char*  fPixMapTable; | 
|---|
| 36 |  | 
|---|
| 37 | float  fTimeOut; | 
|---|
| 38 | float  fStatusRefreshRate; | 
|---|
| 39 |  | 
|---|
| 40 | int DACMin; | 
|---|
| 41 | int DACMax; | 
|---|
| 42 | float HVMin; | 
|---|
| 43 | float HVMax; | 
|---|
| 44 |  | 
|---|
| 45 | float  fHVCalibOffset; | 
|---|
| 46 | float  fHVCalibSlope; | 
|---|
| 47 | float  fHVMaxDiff; | 
|---|
| 48 |  | 
|---|
| 49 | }; | 
|---|
| 50 |  | 
|---|
| 51 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.