test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | 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 >

Public Member Functions

void fill (const T &obj, float weight)
 
 MonElemMgr2DEBEE (DQMStore::IBooker &iBooker, 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 ()
 
- Public Member Functions inherited from egHLT::MonElemManagerBase< T >
 MonElemManagerBase ()
 
virtual ~MonElemManagerBase ()
 

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 ( DQMStore::IBooker iBooker,
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.

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

Definition at line 60 of file EgHLTMonElemMgrEBEE.h.

60 {}

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.

67  {
68  if(fabs(obj.detEta())<1.5) barrel_.fill(obj,weight);
69  else endcap_.fill(obj,weight);
70  }
MonElemManager2D< T, varTypeX, varTypeY > barrel_
MonElemManager2D< T, varTypeX, varTypeY > endcap_
int weight
Definition: histoStyle.py:50

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.