CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 ()=default
 
- Public Member Functions inherited from egHLT::MonElemManagerBase< T >
 MonElemManagerBase ()=default
 
virtual ~MonElemManagerBase ()=default
 

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 55 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 61 of file EgHLTMonElemMgrEBEE.h.

72  : barrel_(
73  iBooker, name + "_eb", "Barrel " + title, nrBinsX, xMin, xMax, nrBinsY, yMin, yMax, varFuncX, varFuncY),
74  endcap_(
75  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 ( )
default

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 83 of file EgHLTMonElemMgrEBEE.h.

83  {
84  if (fabs(obj.detEta()) < 1.5)
85  barrel_.fill(obj, weight);
86  else
87  endcap_.fill(obj, weight);
88  }
MonElemManager2D< T, varTypeX, varTypeY > barrel_
MonElemManager2D< T, varTypeX, varTypeY > endcap_
int weight
Definition: histoStyle.py:51

Member Data Documentation

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

Definition at line 57 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 58 of file EgHLTMonElemMgrEBEE.h.