Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:46

0001 #ifndef HistoProviderDQM_H
0002 #define HistoProviderDQM_H
0003 
0004 #include "DQMServices/Core/interface/DQMStore.h"
0005 
0006 #include <string>
0007 
0008 class HistoProviderDQM {
0009 public:
0010   typedef dqm::legacy::DQMStore DQMStore;
0011   typedef dqm::legacy::MonitorElement MonitorElement;
0012 
0013   HistoProviderDQM(const std::string& prefix, const std::string& label, DQMStore::IBooker& ibook);
0014   virtual ~HistoProviderDQM() {}
0015 
0016   virtual MonitorElement* book1D(
0017       const std::string& name, const std::string& title, const int& nchX, const double& lowX, const double& highX);
0018 
0019   virtual MonitorElement* book1D(const std::string& name, const std::string& title, const int& nchX, float* xbinsize);
0020 
0021   virtual MonitorElement* book2D(const std::string& name,
0022                                  const std::string& title,
0023                                  const int& nchX,
0024                                  const double& lowX,
0025                                  const double& highX,
0026                                  const int& nchY,
0027                                  const double& lowY,
0028                                  const double& highY);
0029 
0030   virtual MonitorElement* book2D(const std::string& name,
0031                                  const std::string& title,
0032                                  const int& nchX,
0033                                  float* xbinsize,
0034                                  const int& nchY,
0035                                  float* ybinsize);
0036 
0037   virtual MonitorElement* bookProfile(const std::string& name,
0038                                       const std::string& title,
0039                                       int nchX,
0040                                       double lowX,
0041                                       double highX,
0042                                       int nchY,
0043                                       double lowY,
0044                                       double highY);
0045 
0046   void setDir(const std::string&);
0047 
0048 private:
0049   std::string label_;
0050   DQMStore::IBooker& ibook_;
0051 };
0052 #endif