CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
egHLT::MonElemMgr2DHEP< T, varTypeX, varTypeY > Class Template Reference

#include <EgHLTMonElemMgrHEP.h>

Inheritance diagram for egHLT::MonElemMgr2DHEP< T, varTypeX, varTypeY >:
egHLT::MonElemManagerBase< T >

Public Member Functions

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

Private Attributes

MonElemManager2D< T, varTypeX, varTypeY > hem17_
 
MonElemManager2D< T, varTypeX, varTypeY > hep17_
 

Detailed Description

template<class T, typename varTypeX, typename varTypeY>
class egHLT::MonElemMgr2DHEP< T, varTypeX, varTypeY >

Definition at line 34 of file EgHLTMonElemMgrHEP.h.

Constructor & Destructor Documentation

template<class T , typename varTypeX , typename varTypeY >
egHLT::MonElemMgr2DHEP< T, varTypeX, varTypeY >::MonElemMgr2DHEP ( 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 41 of file EgHLTMonElemMgrHEP.h.

42  :
43  hep17_(iBooker, name+"_hep17","Hep17 "+title,nrBinsX,xMin,xMax,nrBinsY,yMin,yMax,varFuncX,varFuncY),
44  hem17_(iBooker, name+"_hem17","Hem17 "+title,nrBinsX,xMin,xMax,nrBinsY,yMin,yMax,varFuncX,varFuncY){}
MonElemManager2D< T, varTypeX, varTypeY > hep17_
MonElemManager2D< T, varTypeX, varTypeY > hem17_
template<class T , typename varTypeX , typename varTypeY >
egHLT::MonElemMgr2DHEP< T, varTypeX, varTypeY >::~MonElemMgr2DHEP ( )
inline

Member Function Documentation

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

Implements egHLT::MonElemManagerBase< T >.

Definition at line 52 of file EgHLTMonElemMgrHEP.h.

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

53  {
54  if(obj.detEta()<3.0 && obj.detEta()>1.3 && obj.phi()< -0.52 && obj.phi()>-0.87) hep17_.fill(obj,weight);
55  if(obj.detEta()>-3.0 && obj.detEta()<-1.3 && obj.phi()< -0.52 && obj.phi() >-0.87) hem17_.fill(obj,weight);
56  }
MonElemManager2D< T, varTypeX, varTypeY > hep17_
Definition: weight.py:1
MonElemManager2D< T, varTypeX, varTypeY > hem17_

Member Data Documentation

template<class T , typename varTypeX , typename varTypeY >
MonElemManager2D<T,varTypeX,varTypeY> egHLT::MonElemMgr2DHEP< T, varTypeX, varTypeY >::hem17_
private

Definition at line 38 of file EgHLTMonElemMgrHEP.h.

template<class T , typename varTypeX , typename varTypeY >
MonElemManager2D<T,varTypeX,varTypeY> egHLT::MonElemMgr2DHEP< T, varTypeX, varTypeY >::hep17_
private

Definition at line 37 of file EgHLTMonElemMgrHEP.h.