00001 #ifndef DQMOffline_SiStripNoisesDQMService_SiStripNoisesDQMService_H 00002 #define DQMOffline_SiStripNoisesDQMService_SiStripNoisesDQMService_H 00003 00004 #include "FWCore/Framework/interface/Frameworkfwd.h" 00005 #include "FWCore/ServiceRegistry/interface/Service.h" 00006 #include "CondFormats/SiStripObjects/interface/SiStripNoises.h" 00007 #include "DQMServices/Core/interface/DQMStore.h" 00008 #include "CondTools/SiStrip/interface/SiStripCondObjBuilderBase.h" 00009 #include "DQMOffline/CalibTracker/interface/SiStripBaseServiceFromDQM.h" 00010 #include <string> 00011 #include <memory> 00012 #include <sstream> 00013 // #include "DQM/SiStripMonitorClient/interface/SiStripQualityChecker.h" 00014 00015 00016 00023 // class SiStripNoisesDQMService : public SiStripCondObjBuilderBase<SiStripBadStrip>, public SiStripBaseServiceFromDQM<SiStripBadStrip> 00024 class SiStripNoisesDQMService : public SiStripBaseServiceFromDQM<SiStripNoises> 00025 { 00026 public: 00027 00028 explicit SiStripNoisesDQMService(const edm::ParameterSet&,const edm::ActivityRegistry&); 00029 ~SiStripNoisesDQMService(); 00030 00031 void getObj(SiStripNoises* & obj) 00032 { 00033 readNoises(); obj=obj_; 00034 } 00035 00036 private: 00037 00038 void readNoises(); 00039 00040 edm::ParameterSet iConfig_; 00041 edm::FileInPath fp_; 00042 }; 00043 00044 #endif //DQMOffline_SiStripNoisesDQMService_SiStripNoisesDQMService_H