00001 #ifndef DQMSERVICES_CORE_DQM_SERVICE_H 00002 # define DQMSERVICES_CORE_DQM_SERVICE_H 00003 00004 # include "FWCore/Framework/interface/Event.h" 00005 # include "FWCore/ParameterSet/interface/ParameterSet.h" 00006 # include "FWCore/ServiceRegistry/interface/ActivityRegistry.h" 00007 00008 class DQMStore; 00009 class DQMBasicNet; 00010 namespace lat { class Regexp; } 00011 00013 class DQMService 00014 { 00015 public: 00016 DQMService(const edm::ParameterSet &pset, edm::ActivityRegistry &ar); 00017 ~DQMService(void); 00018 00019 private: 00020 void flush(const edm::Event &, const edm::EventSetup &); 00021 void shutdown(void); 00022 00023 DQMStore *store_; 00024 DQMBasicNet *net_; 00025 lat::Regexp *filter_; 00026 double lastFlush_; 00027 double publishFrequency_; 00028 }; 00029 00030 #endif // DQMSERVICES_CORE_DQM_SERVICE_H