QApolloMonitorDefs.hh
Go to the documentation of this file.00001
00004 #ifndef _Q_APOLLO_MONITOR_DEFS_HH_
00005 #define _Q_APOLLO_MONITOR_DEFS_HH_
00006
00007 #include <string>
00008 #include "QCuore.hh"
00009
00016 namespace QApolloMonitorDefs
00017 {
00018
00023 enum QMonitorEventType_t {
00024 QUnassigned_t = 0,
00025 QBolometer_t = 1,
00026 QHeater_t = 2,
00027 QNoise_t = 3,
00028 QMuon_t = 4
00029 };
00030
00031
00037 enum QMonitorVariable_t {
00038 LgChannel = 1,
00039 SamplingRate = 2,
00040 TimeSec = 3,
00041 TimeUnix = 4,
00042 Type = 5,
00043 Debug = 49,
00044 UpperBound = 50
00045 };
00046
00047 std::string EventTypeToString(QMonitorEventType_t type);
00048
00050 const std::string kMPulse = "ch_pulse";
00052 const std::string kMRateSignal = "gh_rate_signal";
00054 const std::string kMRateNoise = "gh_rate_noise";
00056 const std::string kMRateHeater = "gh_rate_heater";
00058 const std::string kMSpectrumSignal = "gh_spectrum_signal";
00060 const std::string kMSpectrumNoise = "gh_spectrum_noise";
00062 const std::string kMSpectrumHeater = "gh_spectrum_heater";
00064 const std::string kMVariables = "gh_variables";
00065 };
00066 #endif