00001 // Last commit: $Id: ConstantsForDqm.h,v 1.13 2010/01/04 18:44:33 lowette Exp $ 00002 00003 #ifndef DataFormats_SiStripCommon_ConstantsForDqm_H 00004 #define DataFormats_SiStripCommon_ConstantsForDqm_H 00005 00006 #include "DataFormats/SiStripCommon/interface/Constants.h" 00007 #include <string> 00008 00014 namespace sistrip { 00015 00016 // ---------- Useful characters ---------- 00017 00018 static const char dir_[] = "/"; 00019 static const char sep_[] = "_"; 00020 static const char pipe_[] = "|"; 00021 static const char dot_[] = "."; 00022 static const char hex_[] = "0x"; 00023 00024 // ---------- Naming dirs and histos ---------- 00025 00026 static const char dqmSourceFileName_[] = "SiStripCommissioningSource"; 00027 static const char dqmClientFileName_[] = "SiStripCommissioningClient"; 00028 00029 static const char dqmRoot_[] = "DQMData"; 00030 static const char collate_[] = "Collate"; 00031 static const char root_[] = "SiStrip"; 00032 static const char taskId_[] = "SiStripCommissioningTask"; 00033 static const char summaryPlot_[] = "SummaryPlot"; 00034 static const char runNumber_[] = "RunNumber"; 00035 00036 namespace extrainfo { 00037 00038 // ---------- opto scan ---------- 00039 00040 static const char gain_[] = "Gain"; 00041 static const char digital_[] = "Digital"; 00042 static const char baselineRms_[] = "BaselineNoise"; 00043 00044 // ---------- peds and noise ---------- 00045 00046 static const char pedestals_[] = "Pedestals"; 00047 static const char rawNoise_[] = "RawNoise"; 00048 static const char noise_[] = "Noise"; 00049 static const char commonMode_[] = "CommonMode"; 00050 static const char roughPedestals_[] = "RoughPedestals"; 00051 static const char noiseProfile_[] = "NoiseProfile"; 00052 static const char noise2D_[] = "Noise2D"; 00053 00054 static const char pedsAndRawNoise_[] = "PedsAndRawNoise"; //@@ LEGACY 00055 static const char residualsAndNoise_[] = "ResidualsAndNoise"; //@@ LEGACY 00056 static const char pedsAndCmSubNoise_[] = "PedsAndCMSubtractedNoise"; //@@ LEGACY 00057 00058 // ---------- latency ---------- 00059 00060 static const char clusterCharge_[] = "ClusterCharge"; 00061 static const char occupancy_[] = "Occupancy"; 00062 00063 } 00064 00065 // ---------- Actions to be taken by web client ---------- 00066 00067 enum Action { UNKNOWN_ACTION = sistrip::unknown_, 00068 UNDEFINED_ACTION = sistrip::invalid_, 00069 NO_ACTION = 0, 00070 ANALYZE_HISTOS = 1, 00071 SAVE_HISTOS_TO_DISK = 2, 00072 CREATE_SUMMARY_HISTOS = 3, 00073 CREATE_TRACKER_MAP = 4, 00074 UPLOAD_TO_DATABASE = 5 00075 }; 00076 00077 } 00078 00079 #endif // DataFormats_SiStripCommon_ConstantsForDqm_H 00080 00081