00001 // Last commit: $Id: ConstantsForDqm.h,v 1.10 2008/04/09 12:35:01 delaer 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 std::string dir_ = "/"; 00019 static const std::string sep_ = "_"; 00020 static const std::string pipe_ = "|"; 00021 static const std::string dot_ = "."; 00022 static const std::string hex_ = "0x"; 00023 00024 // ---------- Naming dirs and histos ---------- 00025 00026 static const std::string dqmSourceFileName_ = "SiStripCommissioningSource"; 00027 static const std::string dqmClientFileName_ = "SiStripCommissioningClient"; 00028 00029 static const std::string dqmRoot_ = "DQMData"; 00030 static const std::string collate_ = "Collate"; 00031 static const std::string root_ = "SiStrip"; 00032 static const std::string taskId_ = "SiStripCommissioningTask"; 00033 static const std::string summaryPlot_ = "SummaryPlot"; 00034 static const std::string runNumber_ = "RunNumber"; 00035 00036 namespace extrainfo { 00037 00038 // ---------- opto scan ---------- 00039 00040 static const std::string gain_ = "Gain"; 00041 static const std::string digital_ = "Digital"; 00042 static const std::string baselineRms_ = "BaselineNoise"; 00043 00044 // ---------- peds and noise ---------- 00045 00046 static const std::string pedestals_ = "Pedestals"; 00047 static const std::string rawNoise_ = "RawNoise"; 00048 static const std::string noise_ = "Noise"; 00049 static const std::string commonMode_ = "CommonMode"; 00050 00051 static const std::string pedsAndRawNoise_ = "PedsAndRawNoise"; //@@ LEGACY 00052 static const std::string residualsAndNoise_ = "ResidualsAndNoise"; //@@ LEGACY 00053 static const std::string pedsAndCmSubNoise_ = "PedsAndCMSubtractedNoise"; //@@ LEGACY 00054 00055 // ---------- latency ---------- 00056 00057 static const std::string clusterCharge_ = "ClusterCharge"; 00058 static const std::string occupancy_ = "Occupancy"; 00059 00060 } 00061 00062 // ---------- Actions to be taken by web client ---------- 00063 00064 enum Action { UNKNOWN_ACTION = sistrip::unknown_, 00065 UNDEFINED_ACTION = sistrip::invalid_, 00066 NO_ACTION = 0, 00067 ANALYZE_HISTOS = 1, 00068 SAVE_HISTOS_TO_DISK = 2, 00069 CREATE_SUMMARY_HISTOS = 3, 00070 CREATE_TRACKER_MAP = 4, 00071 UPLOAD_TO_DATABASE = 5 00072 }; 00073 00074 } 00075 00076 #endif // DataFormats_SiStripCommon_ConstantsForDqm_H 00077 00078