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 38 of file EgHLTMonElemMgrHEP.h.

Constructor & Destructor Documentation

◆ MonElemMgr2DHEP()

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 44 of file EgHLTMonElemMgrHEP.h.

55  : hep17_(
56  iBooker, name + "_hep17", "Hep17 " + title, nrBinsX, xMin, xMax, nrBinsY, yMin, yMax, varFuncX, varFuncY),
57  hem17_(
58  iBooker, name + "_hem17", "Hem17 " + title, nrBinsX, xMin, xMax, nrBinsY, yMin, yMax, varFuncX, varFuncY) {
59  }
MonElemManager2D< T, varTypeX, varTypeY > hep17_
MonElemManager2D< T, varTypeX, varTypeY > hem17_

◆ ~MonElemMgr2DHEP()

template<class T , typename varTypeX , typename varTypeY >
egHLT::MonElemMgr2DHEP< T, varTypeX, varTypeY >::~MonElemMgr2DHEP ( )
inline

Definition at line 61 of file EgHLTMonElemMgrHEP.h.

61 {}

Member Function Documentation

◆ fill()

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 67 of file EgHLTMonElemMgrHEP.h.

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

67  {
68  if (obj.detEta() < 3.0 && obj.detEta() > 1.3 && obj.phi() < -0.52 && obj.phi() > -0.87)
69  hep17_.fill(obj, weight);
70  if (obj.detEta() > -3.0 && obj.detEta() < -1.3 && obj.phi() < -0.52 && obj.phi() > -0.87)
71  hem17_.fill(obj, weight);
72  }
MonElemManager2D< T, varTypeX, varTypeY > hep17_
Definition: weight.py:1
MonElemManager2D< T, varTypeX, varTypeY > hem17_

Member Data Documentation

◆ hem17_

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

Definition at line 41 of file EgHLTMonElemMgrHEP.h.

◆ hep17_

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

Definition at line 40 of file EgHLTMonElemMgrHEP.h.