00001 #ifndef DQMOffline_SiStripPedestalsDQMService_SiStripPedestalsDQMService_H 00002 #define DQMOffline_SiStripPedestalsDQMService_SiStripPedestalsDQMService_H 00003 00004 #include "FWCore/Framework/interface/Frameworkfwd.h" 00005 #include "FWCore/ServiceRegistry/interface/Service.h" 00006 #include "CondFormats/SiStripObjects/interface/SiStripPedestals.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 SiStripPedestalsDQMService : public SiStripCondObjBuilderBase<SiStripBadStrip>, public SiStripBaseServiceFromDQM<SiStripBadStrip> 00024 class SiStripPedestalsDQMService : public SiStripBaseServiceFromDQM<SiStripPedestals> 00025 { 00026 public: 00027 00028 explicit SiStripPedestalsDQMService(const edm::ParameterSet&,const edm::ActivityRegistry&); 00029 ~SiStripPedestalsDQMService(); 00030 00031 void getObj(SiStripPedestals* & obj) 00032 { 00033 readPedestals(); obj=obj_; 00034 } 00035 00036 private: 00037 00038 void readPedestals(); 00039 00040 edm::ParameterSet iConfig_; 00041 edm::FileInPath fp_; 00042 }; 00043 00044 #endif //DQMOffline_SiStripPedestalsDQMService_SiStripPedestalsDQMService_H