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 public: 00020 void flush(const edm::Event &, const edm::EventSetup &); 00021 private: 00022 void shutdown(void); 00023 00024 DQMStore *store_; 00025 DQMBasicNet *net_; 00026 lat::Regexp *filter_; 00027 double lastFlush_; 00028 double publishFrequency_; 00029 public: 00030 void flushStandalone(); 00031 }; 00032 00033 #endif // DQMSERVICES_CORE_DQM_SERVICE_H