CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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_
template<class T , typename varType >
egHLT::MonElemMgrHEP< T, varType >::~MonElemMgrHEP ( )
inlineoverride

Definition at line 24 of file EgHLTMonElemMgrHEP.h.

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.

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_
int weight
Definition: histoStyle.py:51

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.