CMS 3D CMS Logo

Public Member Functions | Private Attributes

egHLT::MonElemMgr2DEBEE< T, varTypeX, varTypeY > Class Template Reference

#include <EgHLTMonElemMgrEBEE.h>

Inheritance diagram for egHLT::MonElemMgr2DEBEE< T, varTypeX, varTypeY >:
egHLT::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 egHLT::MonElemMgr2DEBEE< T, varTypeX, varTypeY >

Definition at line 48 of file EgHLTMonElemMgrEBEE.h.


Constructor & Destructor Documentation

template<class T , typename varTypeX , typename varTypeY >
egHLT::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 55 of file EgHLTMonElemMgrEBEE.h.

                                                                               :
      barrel_(name+"_eb","Barrel "+title,nrBinsX,xMin,xMax,nrBinsY,yMin,yMax,varFuncX,varFuncY),
      endcap_(name+"_ee","Endcap "+title,nrBinsX,xMin,xMax,nrBinsY,yMin,yMax,varFuncX,varFuncY){}
template<class T , typename varTypeX , typename varTypeY >
egHLT::MonElemMgr2DEBEE< T, varTypeX, varTypeY >::~MonElemMgr2DEBEE ( ) [inline]

Definition at line 60 of file EgHLTMonElemMgrEBEE.h.

{}

Member Function Documentation

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

Implements egHLT::MonElemManagerBase< T >.

Definition at line 66 of file EgHLTMonElemMgrEBEE.h.

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

Member Data Documentation

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

Definition at line 51 of file EgHLTMonElemMgrEBEE.h.

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

Definition at line 52 of file EgHLTMonElemMgrEBEE.h.