CMS 3D CMS Logo

MonElemManagerHist< T > Class Template Reference

#include <DQMOffline/Trigger/interface/MonElemManager.h>

Inheritance diagram for MonElemManagerHist< T >:

MonElemManagerBase< T > MonElemManager< T, varType > MonElemManager2D< T, varTypeX, varTypeY >

List of all members.

Public Member Functions

virtual void fill (const T &obj, float weight)=0
const MonitorElementmonElem () const
MonitorElementmonElem ()
 MonElemManagerHist (std::string name, std::string title, int nrBinsX, double xMin, double xMax, int nrBinsY, double yMin, double yMax)
 MonElemManagerHist (std::string name, std::string title, int nrBins, double xMin, double xMax)
virtual ~MonElemManagerHist ()

Private Member Functions

 MonElemManagerHist (const MonElemManagerHist &rhs)
MonElemManagerHistoperator= (const MonElemManagerHist &rhs)

Private Attributes

MonitorElementmonElem_


Detailed Description

template<class T>
class MonElemManagerHist< T >

Definition at line 42 of file MonElemManager.h.


Constructor & Destructor Documentation

template<class T>
MonElemManagerHist< T >::MonElemManagerHist ( const MonElemManagerHist< T > &  rhs  )  [inline, private]

Definition at line 50 of file MonElemManager.h.

00050 {}

template<class T>
MonElemManagerHist< T >::MonElemManagerHist ( std::string  name,
std::string  title,
int  nrBins,
double  xMin,
double  xMax 
) [inline]

Definition at line 65 of file MonElemManager.h.

References DQMStore::book1D(), and MonElemManagerHist< T >::monElem_.

00065                                                                                                                              :
00066   monElem_(NULL)
00067 {
00068   DQMStore* dbe = edm::Service<DQMStore>().operator->();
00069   monElem_ =dbe->book1D(name,title,nrBins,xMin,xMax);
00070 }
  

template<class T>
MonElemManagerHist< T >::MonElemManagerHist ( std::string  name,
std::string  title,
int  nrBinsX,
double  xMin,
double  xMax,
int  nrBinsY,
double  yMin,
double  yMax 
) [inline]

Definition at line 72 of file MonElemManager.h.

References DQMStore::book2D(), and MonElemManagerHist< T >::monElem_.

00074                                                                                                  :
00075   monElem_(NULL)
00076 {
00077   DQMStore* dbe = edm::Service<DQMStore>().operator->();
00078   monElem_ =dbe->book2D(name,title,nrBinsX,xMin,xMax,nrBinsY,yMin,yMax);
00079 }

template<class T>
MonElemManagerHist< T >::~MonElemManagerHist (  )  [inline, virtual]

Definition at line 82 of file MonElemManager.h.

00083 {
00084   // delete monElem_;
00085 }


Member Function Documentation

template<class T>
virtual void MonElemManagerHist< T >::fill ( const T &  obj,
float  weight 
) [pure virtual]

Implements MonElemManagerBase< T >.

Implemented in MonElemManager< T, varType >, and MonElemManager2D< T, varTypeX, varTypeY >.

template<class T>
const MonitorElement* MonElemManagerHist< T >::monElem (  )  const [inline]

Definition at line 58 of file MonElemManager.h.

References MonElemManagerHist< T >::monElem_.

00058 {return monElem_;}

template<class T>
MonitorElement* MonElemManagerHist< T >::monElem (  )  [inline]

Definition at line 57 of file MonElemManager.h.

References MonElemManagerHist< T >::monElem_.

Referenced by MonElemManager< T, varType >::fill(), and MonElemManager2D< T, varTypeX, varTypeY >::fill().

00057 {return monElem_;}

template<class T>
MonElemManagerHist& MonElemManagerHist< T >::operator= ( const MonElemManagerHist< T > &  rhs  )  [inline, private]

Definition at line 51 of file MonElemManager.h.

00051 {return *this;}


Member Data Documentation

template<class T>
MonitorElement* MonElemManagerHist< T >::monElem_ [private]

Definition at line 45 of file MonElemManager.h.

Referenced by MonElemManagerHist< T >::monElem(), and MonElemManagerHist< T >::MonElemManagerHist().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:28:20 2009 for CMSSW by  doxygen 1.5.4