CMS 3D CMS Logo

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

References egHLT::MonElemMgrEBEE< T, varType >::fill(), and hgcalPlots::obj.

58  :
59  barrel_(iBooker, name+"_eb","Barrel "+title,nrBinsX,xMin,xMax,nrBinsY,yMin,yMax,varFuncX,varFuncY),
60  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 ( )
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 68 of file EgHLTMonElemMgrEBEE.h.

References egHLT::MonElemManager2D< T, varTypeX, varTypeY >::fill().

69  {
70  if(fabs(obj.detEta())<1.5) barrel_.fill(obj,weight);
71  else endcap_.fill(obj,weight);
72  }
MonElemManager2D< T, varTypeX, varTypeY > barrel_
Definition: weight.py:1
MonElemManager2D< T, varTypeX, varTypeY > endcap_

Member Data Documentation

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

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