CMS 3D CMS Logo

HistoProviderDQM Class Reference

#include <DQMOffline/RecoB/interface/HistoProviderDQM.h>

List of all members.

Public Member Functions

virtual MonitorElementaccess (const TString &name)
virtual MonitorElementbook1D (const TString &name, const TString &title, int nchX, float *xbinsize)
virtual MonitorElementbook1D (const TString &name, const TString &title, int nchX, double lowX, double highX)
 HistoProviderDQM (std::string prefix, std::string label)
void setDir (std::string)
void show ()
virtual ~HistoProviderDQM ()

Private Attributes

DQMStoredqmStore_
std::string label_


Detailed Description

Definition at line 11 of file HistoProviderDQM.h.


Constructor & Destructor Documentation

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

Definition at line 8 of file HistoProviderDQM.cc.

References dqmStore_, label_, and setDir().

00008                                                                    {
00009   //  get the store
00010   dqmStore_ = edm::Service<DQMStore>().operator->();
00011   label_ =prefix+"/"+label;
00012   setDir(label_);
00013 }

virtual HistoProviderDQM::~HistoProviderDQM (  )  [inline, virtual]

Definition at line 14 of file HistoProviderDQM.h.

00014 {}


Member Function Documentation

MonitorElement * HistoProviderDQM::access ( const TString &  name  )  [virtual]

Definition at line 38 of file HistoProviderDQM.cc.

References dqmStore_, DQMStore::get(), and label_.

Referenced by FlavourHistograms< T >::FlavourHistograms().

00038                                                             {
00039 return   dqmStore_->get((const char *)(label_+"/"+name));   
00040 }

MonitorElement * HistoProviderDQM::book1D ( const TString &  name,
const TString &  title,
int  nchX,
float *  xbinsize 
) [virtual]

Definition at line 32 of file HistoProviderDQM.cc.

References DQMStore::book1D(), and dqmStore_.

00034                                                            {
00035   return (dqmStore_->book1D ((const char *)name, (const char *)title,nchX, xbinsize));
00036 }        

MonitorElement * HistoProviderDQM::book1D ( const TString &  name,
const TString &  title,
int  nchX,
double  lowX,
double  highX 
) [virtual]

Definition at line 24 of file HistoProviderDQM.cc.

References DQMStore::book1D(), and dqmStore_.

Referenced by BTagDifferentialPlot::bookHisto(), EffPurFromHistos::compute(), and FlavourHistograms< T >::FlavourHistograms().

00026                                                                      {
00027   return (dqmStore_->book1D ((const char *)name,(const char *) title, nchX,lowX,highX));
00028 
00029 }

void HistoProviderDQM::setDir ( std::string  name  ) 

Definition at line 20 of file HistoProviderDQM.cc.

References dqmStore_, and DQMStore::setCurrentFolder().

Referenced by HistoProviderDQM().

00020                                            {
00021   dqmStore_->setCurrentFolder(name);
00022 }

void HistoProviderDQM::show (  ) 

Definition at line 15 of file HistoProviderDQM.cc.

References dqmStore_, and DQMStore::showDirStructure().

00015                            {
00016   dqmStore_->showDirStructure();
00017 }


Member Data Documentation

DQMStore* HistoProviderDQM::dqmStore_ [private]

Definition at line 29 of file HistoProviderDQM.h.

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

std::string HistoProviderDQM::label_ [private]

Definition at line 30 of file HistoProviderDQM.h.

Referenced by access(), and HistoProviderDQM().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:24:16 2009 for CMSSW by  doxygen 1.5.4