CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
egHLT::MonElemMgrHEP< T, varType > Class Template Reference

#include <EgHLTMonElemMgrHEP.h>

Inheritance diagram for egHLT::MonElemMgrHEP< T, varType >:
egHLT::MonElemManagerBase< T >

Public Member Functions

void fill (const T &obj, float weight) override
 
 MonElemMgrHEP (DQMStore::IBooker &iBooker, const std::string &name, const std::string &title, int nrBins, float min, float max, varType(T::*varFunc)() const)
 
 ~MonElemMgrHEP () override
 
- Public Member Functions inherited from egHLT::MonElemManagerBase< T >
 MonElemManagerBase ()=default
 
virtual ~MonElemManagerBase ()=default
 

Private Attributes

MonElemManager< T, varType > hem17_
 
MonElemManager< T, varType > hep17_
 

Detailed Description

template<class T, typename varType>
class egHLT::MonElemMgrHEP< T, varType >

Definition at line 8 of file EgHLTMonElemMgrHEP.h.

Constructor & Destructor Documentation

template<class T , typename varType >
egHLT::MonElemMgrHEP< T, varType >::MonElemMgrHEP ( DQMStore::IBooker iBooker,
const std::string &  name,
const std::string &  title,
int  nrBins,
float  min,
float  max,
varType(T::*)() const  varFunc 
)
inline

Definition at line 14 of file EgHLTMonElemMgrHEP.h.

14  :
15  hep17_(iBooker, name+"_hep17","hep "+title,nrBins,min,max,varFunc),
16  hem17_(iBooker, name+"_hem17","hem "+title,nrBins,min,max,varFunc){}
MonElemManager< T, varType > hem17_
MonElemManager< T, varType > hep17_
T min(T a, T b)
Definition: MathUtil.h:58
template<class T , typename varType >
egHLT::MonElemMgrHEP< T, varType >::~MonElemMgrHEP ( )
inlineoverride

Definition at line 18 of file EgHLTMonElemMgrHEP.h.

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

18 {}

Member Function Documentation

template<class T , typename varType >
void egHLT::MonElemMgrHEP< T, varType >::fill ( const T obj,
float  weight 
)
overridevirtual

Implements egHLT::MonElemManagerBase< T >.

Definition at line 24 of file EgHLTMonElemMgrHEP.h.

References egHLT::MonElemManager< T, varType >::fill().

Referenced by egHLT::MonElemMgr2DHEP< T, varTypeX, varTypeY >::~MonElemMgr2DHEP(), and egHLT::MonElemMgrHEP< T, varType >::~MonElemMgrHEP().

25  {
26  if(obj.detEta()<3.0 && obj.detEta()>1.3 && obj.phi()< -0.52 && obj.phi()>-0.87) hep17_.fill(obj,weight);
27  if(obj.detEta()>-3.0 && obj.detEta()<-1.3 && obj.phi()< -0.52 && obj.phi() >-0.87) hem17_.fill(obj,weight);
28  }
MonElemManager< T, varType > hem17_
MonElemManager< T, varType > hep17_
Definition: weight.py:1

Member Data Documentation

template<class T , typename varType >
MonElemManager<T,varType> egHLT::MonElemMgrHEP< T, varType >::hem17_
private

Definition at line 11 of file EgHLTMonElemMgrHEP.h.

template<class T , typename varType >
MonElemManager<T,varType> egHLT::MonElemMgrHEP< T, varType >::hep17_
private

Definition at line 10 of file EgHLTMonElemMgrHEP.h.