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

Constructor & Destructor Documentation

◆ MonElemMgr2DEBEE()

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) {}

◆ ~MonElemMgr2DEBEE()

template<class T , typename varTypeX , typename varTypeY >
egHLT::MonElemMgr2DEBEE< T, varTypeX, varTypeY >::~MonElemMgr2DEBEE ( )
default

Member Function Documentation

◆ fill()

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  }

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

Member Data Documentation

◆ barrel_

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.

◆ endcap_

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.

egHLT::MonElemMgr2DEBEE::barrel_
MonElemManager2D< T, varTypeX, varTypeY > barrel_
Definition: EgHLTMonElemMgrEBEE.h:57
photonAnalyzer_cfi.yMin
yMin
Definition: photonAnalyzer_cfi.py:86
photonAnalyzer_cfi.xMin
xMin
Definition: photonAnalyzer_cfi.py:82
egHLT::MonElemMgr2DEBEE::endcap_
MonElemManager2D< T, varTypeX, varTypeY > endcap_
Definition: EgHLTMonElemMgrEBEE.h:58
multiplicitycorr_cfi.yMax
yMax
Definition: multiplicitycorr_cfi.py:6
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
multiplicitycorr_cfi.xMax
xMax
Definition: multiplicitycorr_cfi.py:5
weight
Definition: weight.py:1