CMS 3D CMS Logo

Public Member Functions | Private Attributes

HistoProviderDQM Class Reference

#include <HistoProviderDQM.h>

List of all members.

Public Member Functions

virtual MonitorElementaccess (const std::string &name)
virtual MonitorElementbook1D (const std::string &name, const std::string &title, const int &nchX, const double &lowX, const double &highX)
virtual MonitorElementbook1D (const std::string &name, const std::string &title, const int &nchX, float *xbinsize)
virtual MonitorElementbook2D (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 MonitorElementbook2D (const std::string &name, const std::string &title, const int &nchX, float *xbinsize, const int &nchY, float *ybinsize)
virtual MonitorElementbookProfile (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
 HistoProviderDQM (const std::string &prefix, const std::string &label)
void setDir (const std::string &)
void show ()
virtual ~HistoProviderDQM ()

Private Attributes

DQMStoredqmStore_
std::string label_

Detailed Description

Definition at line 10 of file HistoProviderDQM.h.


Constructor & Destructor Documentation

HistoProviderDQM::HistoProviderDQM ( const std::string &  prefix,
const std::string &  label 
)

Definition at line 8 of file HistoProviderDQM.cc.

References dqmStore_, label, label_, cppFunctionSkipper::operator, and setDir().

                                                                                 {
  //  get the store
  dqmStore_ = edm::Service<DQMStore>().operator->();
  label_ =prefix+"/"+label;
  setDir(label_);
}
virtual HistoProviderDQM::~HistoProviderDQM ( ) [inline, virtual]

Definition at line 13 of file HistoProviderDQM.h.

{}

Member Function Documentation

MonitorElement * HistoProviderDQM::access ( const std::string &  name) [virtual]
MonitorElement * HistoProviderDQM::book1D ( const std::string &  name,
const std::string &  title,
const int &  nchX,
const double &  lowX,
const double &  highX 
) [virtual]
MonitorElement * HistoProviderDQM::book1D ( const std::string &  name,
const std::string &  title,
const int &  nchX,
float *  xbinsize 
) [virtual]

Definition at line 32 of file HistoProviderDQM.cc.

References DQMStore::book1D(), and dqmStore_.

                                                                  {
  return (dqmStore_->book1D (name, title,nchX, xbinsize));
}        
MonitorElement * HistoProviderDQM::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]

Definition at line 38 of file HistoProviderDQM.cc.

References DQMStore::book2D(), and dqmStore_.

Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D().

                                                                                          {
  return (dqmStore_->book2D (name, title, nchX,lowX,highX, nchY, lowY, highY));

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

Definition at line 47 of file HistoProviderDQM.cc.

References DQMStore::book2D(), and dqmStore_.

                                                                  {
  return (dqmStore_->book2D (name, title,nchX, xbinsize, nchY, ybinsize));
}
MonitorElement * HistoProviderDQM::bookProfile ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY 
) [virtual]

Definition at line 54 of file HistoProviderDQM.cc.

References DQMStore::bookProfile(), and dqmStore_.

Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D().

                                                                     {
  return (dqmStore_->bookProfile (name,title, nchX,lowX,highX, nchY, lowY, highY));

}
void HistoProviderDQM::setDir ( const std::string &  name)

Definition at line 20 of file HistoProviderDQM.cc.

References dqmStore_, and DQMStore::setCurrentFolder().

Referenced by HistoProviderDQM().

void HistoProviderDQM::show ( )

Definition at line 15 of file HistoProviderDQM.cc.

References dqmStore_, and DQMStore::showDirStructure().


Member Data Documentation

Definition at line 44 of file HistoProviderDQM.h.

Referenced by access(), book1D(), book2D(), bookProfile(), HistoProviderDQM(), setDir(), and show().

std::string HistoProviderDQM::label_ [private]

Definition at line 45 of file HistoProviderDQM.h.

Referenced by access(), and HistoProviderDQM().