CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DQMOffline/RecoB/interface/HistoProviderDQM.h

Go to the documentation of this file.
00001 #ifndef HistoProviderDQM_H
00002 #define HistoProviderDQM_H
00003 
00004 
00005 class DQMStore;
00006 class MonitorElement;
00007 
00008 #include <string>
00009 
00010 class HistoProviderDQM  {
00011  public:
00012   HistoProviderDQM(const std::string& prefix, const std::string& label);
00013   virtual ~HistoProviderDQM(){}
00014   void show();
00015 
00016   virtual MonitorElement* book1D       (const std::string &name,
00017                       const std::string &title,
00018                       const int& nchX, const double& lowX, const double& highX) ;
00019   
00020   virtual MonitorElement* book1D       (const std::string &name,
00021                       const std::string &title,
00022                       const int& nchX, float *xbinsize) ;
00023 
00024   virtual MonitorElement* book2D       (const std::string &name,
00025                       const std::string &title,
00026                       const int& nchX, const double& lowX, const double& highX,
00027                       const int& nchY, const double& lowY, const double& highY) ;
00028   
00029   virtual MonitorElement* book2D       (const std::string &name,
00030                       const std::string &title,
00031                       const int& nchX, float *xbinsize,
00032                       const int& nchY, float *ybinsize) ;
00033 
00034   virtual MonitorElement* bookProfile       (const std::string &name,
00035                       const std::string &title,
00036                       int nchX, double lowX, double highX,
00037                       int nchY, double lowY, double highY) ;
00038 
00039   void setDir(const std::string&);
00040 
00041   virtual MonitorElement * access(const std::string &name);
00042 
00043  private:
00044   DQMStore * dqmStore_;
00045   std::string label_;
00046 };                                                                                                                                                                           
00047 #endif