HistoProviderDQM

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
#ifndef HistoProviderDQM_H
#define HistoProviderDQM_H

#include "DQMServices/Core/interface/DQMStore.h"

#include <string>

class HistoProviderDQM {
public:
  typedef dqm::legacy::DQMStore DQMStore;
  typedef dqm::legacy::MonitorElement MonitorElement;

  HistoProviderDQM(const std::string& prefix, const std::string& label, DQMStore::IBooker& ibook);
  virtual ~HistoProviderDQM() {}

  virtual MonitorElement* book1D(
      const std::string& name, const std::string& title, const int& nchX, const double& lowX, const double& highX);

  virtual MonitorElement* book1D(const std::string& name, const std::string& title, const int& nchX, float* xbinsize);

  virtual MonitorElement* book2D(const std::string& name,
                                 const std::string& title,
                                 const int& nchX,
                                 const double& lowX,
                                 const double& highX,
                                 const int& nchY,
                                 const double& lowY,
                                 const double& highY);

  virtual MonitorElement* book2D(const std::string& name,
                                 const std::string& title,
                                 const int& nchX,
                                 float* xbinsize,
                                 const int& nchY,
                                 float* ybinsize);

  virtual MonitorElement* bookProfile(const std::string& name,
                                      const std::string& title,
                                      int nchX,
                                      double lowX,
                                      double highX,
                                      int nchY,
                                      double lowY,
                                      double highY);

  void setDir(const std::string&);

private:
  std::string label_;
  DQMStore::IBooker& ibook_;
};
#endif