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.

21  : hep17_(iBooker, name + "_hep17", "hep " + title, nrBins, min, max, varFunc),
22  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 24 of file EgHLTMonElemMgrHEP.h.

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

24 {}

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

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

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

30  {
31  if (obj.detEta() < 3.0 && obj.detEta() > 1.3 && obj.phi() < -0.52 && obj.phi() > -0.87)
32  hep17_.fill(obj, weight);
33  if (obj.detEta() > -3.0 && obj.detEta() < -1.3 && obj.phi() < -0.52 && obj.phi() > -0.87)
34  hem17_.fill(obj, weight);
35  }
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.