CMS 3D CMS Logo

MonElemMgr2DEBEE< T, varTypeX, varTypeY > Class Template Reference

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

Inheritance diagram for MonElemMgr2DEBEE< T, varTypeX, varTypeY >:

MonElemManagerBase< T >

List of all members.

Public Member Functions

void fill (const T &obj, float weight)
 MonElemMgr2DEBEE (const std::string &name, const std::string &title, int nrBinsX, double xMin, double xMax, int nrBinsY, double yMin, double yMax, varTypeX(T::*varFuncX)() const, varTypeY(T::*varFuncY)() const)
 ~MonElemMgr2DEBEE ()

Private Attributes

MonElemManager2D< T, varTypeX,
varTypeY > 
barrel_
MonElemManager2D< T, varTypeX,
varTypeY > 
endcap_


Detailed Description

template<class T, typename varTypeX, typename varTypeY>
class MonElemMgr2DEBEE< T, varTypeX, varTypeY >

Definition at line 47 of file MonElemMgrEBEE.h.


Constructor & Destructor Documentation

template<class T, typename varTypeX, typename varTypeY>
MonElemMgr2DEBEE< T, varTypeX, varTypeY >::MonElemMgr2DEBEE ( const std::string &  name,
const std::string &  title,
int  nrBinsX,
double  xMin,
double  xMax,
int  nrBinsY,
double  yMin,
double  yMax,
varTypeX(T::*)() const   varFuncX,
varTypeY(T::*)() const   varFuncY 
) [inline]

Definition at line 54 of file MonElemMgrEBEE.h.

00055                                                                            :
00056     barrel_(name+"_eb","Barrel "+title,nrBinsX,xMin,xMax,nrBinsY,yMin,yMax,varFuncX,varFuncY),
00057     endcap_(name+"_ee","Endcap "+title,nrBinsX,xMin,xMax,nrBinsY,yMin,yMax,varFuncX,varFuncY){}
  

template<class T, typename varTypeX, typename varTypeY>
MonElemMgr2DEBEE< T, varTypeX, varTypeY >::~MonElemMgr2DEBEE (  )  [inline]

Definition at line 59 of file MonElemMgrEBEE.h.

00059 {}


Member Function Documentation

template<class T, typename varTypeX, typename varTypeY>
void MonElemMgr2DEBEE< T, varTypeX, varTypeY >::fill ( const T &  obj,
float  weight 
) [inline, virtual]

Implements MonElemManagerBase< T >.

Definition at line 65 of file MonElemMgrEBEE.h.

References MonElemMgr2DEBEE< T, varTypeX, varTypeY >::barrel_, and MonElemMgr2DEBEE< T, varTypeX, varTypeY >::endcap_.

00066 {
00067   if(fabs(obj.detEta())<1.5) barrel_.fill(obj,weight);
00068   else endcap_.fill(obj,weight);
00069 }


Member Data Documentation

template<class T, typename varTypeX, typename varTypeY>
MonElemManager2D<T,varTypeX,varTypeY> MonElemMgr2DEBEE< T, varTypeX, varTypeY >::barrel_ [private]

Definition at line 50 of file MonElemMgrEBEE.h.

Referenced by MonElemMgr2DEBEE< T, varTypeX, varTypeY >::fill().

template<class T, typename varTypeX, typename varTypeY>
MonElemManager2D<T,varTypeX,varTypeY> MonElemMgr2DEBEE< T, varTypeX, varTypeY >::endcap_ [private]

Definition at line 51 of file MonElemMgrEBEE.h.

Referenced by MonElemMgr2DEBEE< T, varTypeX, varTypeY >::fill().


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