00001 /* @version $Revision: 1328 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2011-10-03 17:04:17 +0200 (Mon, 03 Oct 2011) $ */ 00002 00003 #ifndef _ILCCONFDB_HH 00004 #define _ILCCONFDB_HH 00005 00006 00007 #include "mTypes.h" 00008 00009 ////////////////////////////////////////////////////////////////////////// 00010 // ILCCONFDB 00011 // 00012 // Gate to access in Read mode to ILC oracle database in CC 00013 // AVDD_SHDN 00014 /* 00015 DifConfiguration contain vector<ConfigObject*>: 00016 DCC_CHANNEL 00017 DCC_ID 00018 DIF_IMON_GAIN 00019 DIF_TYPE 00020 DVDD_SHDN 00021 ENABLED 00022 ENABLE_MONITORING 00023 ID 00024 LDA_ADDRESS 00025 LDA_CHANNEL 00026 MASK 00027 MEMORY_DISPLAY_LIMIT_MAX 00028 MEMORY_DISPLAY_LIMIT_MIN 00029 MEMORY_EFFICIENCY_LIMIT_MAX 00030 MEMORY_EFFICIENCY_LIMIT_MIN 00031 MONITORED_CHANNEL 00032 MONITOR_SEQUENCER 00033 NAME 00034 NUMERICAL_READOUT_MODE 00035 NUMERICAL_READOUT_START_MODE 00036 POWER_ADC 00037 POWER_ANALOG 00038 POWER_DAC 00039 POWER_DIGITAL 00040 POWER_SS 00041 SLAB_IMON_GAIN 00042 TIMER_HOLD_REGISTER 00043 */ 00044 // 00045 ////////////////////////////////////////////////////////////////////////// 00046 00047 class AsicConfiguration; 00048 00049 class IlcConfDb { 00050 public : 00051 //----- methods -------------------// 00052 AsicConfiguration& getAsicConfiguration (ui32 runId); 00053 static IlcConfDb* getInstance(); 00054 00055 private : 00056 IlcConfDb(); 00057 ~IlcConfDb(); 00058 void init(); 00059 bool initialised; 00060 00061 static IlcConfDb* handle; 00062 00063 00064 00065 }; // class IlcConfDb 00066 00067 #endif // _ILCCONFDB_HH