00001 #ifndef DQM_SiPixelHistoricInfoClient_SiPixelHistoryDQMService_H 00002 #define DQM_SiPixelHistoricInfoClient_SiPixelHistoryDQMService_H 00003 00004 #include "DQMServices/Diagnostic/interface/DQMHistoryServiceBase.h" 00005 #include "DQM/SiPixelHistoricInfoClient/interface/SiPixelSummary.h" 00006 00007 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00008 00013 class SiPixelHistoryDQMService : public DQMHistoryServiceBase { 00014 public: 00015 00016 explicit SiPixelHistoryDQMService(const edm::ParameterSet&,const edm::ActivityRegistry&); 00017 ~SiPixelHistoryDQMService(); 00018 00019 00020 private: 00021 //Methods to be specified by each subdet 00022 uint32_t returnDetComponent(const MonitorElement* ME); 00023 bool setDBLabelsForUser (std::string& keyName, std::vector<std::string>& userDBContent, std::string& quantity); 00024 bool setDBValuesForUser(std::vector<MonitorElement*>::const_iterator iterMes, HDQMSummary::InputVector& values, std::string& quantity); 00025 //std::string userTranslator (int); 00026 00027 edm::ParameterSet iConfig_; 00028 }; 00029 00030 #endif //DQM_SiPixelHistoricInfoClient_SiPixelHistoryDQMService_H 00031