00001 #ifndef HistoProviderDQM_H 00002 #define HistoProviderDQM_H 00003 00004 00005 class DQMStore; 00006 class MonitorElement; 00007 00008 #include <string> 00009 #include "TString.h" 00010 00011 class HistoProviderDQM { 00012 public: 00013 HistoProviderDQM(std::string prefix, std::string label); 00014 virtual ~HistoProviderDQM(){} 00015 void show(); 00016 00017 virtual MonitorElement* book1D (const TString &name, 00018 const TString &title, 00019 int nchX, double lowX, double highX) ; 00020 00021 virtual MonitorElement* book1D (const TString &name, 00022 const TString &title, 00023 int nchX, float *xbinsize) ; 00024 void setDir(std::string); 00025 00026 virtual MonitorElement * access(const TString &name); 00027 00028 private: 00029 DQMStore * dqmStore_; 00030 std::string label_; 00031 }; 00032 #endif