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

◆ MonElemMgrHEP()

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

◆ ~MonElemMgrHEP()

template<class T , typename varType >
egHLT::MonElemMgrHEP< T, varType >::~MonElemMgrHEP ( )
inlineoverride

Definition at line 24 of file EgHLTMonElemMgrHEP.h.

24 {}

Member Function Documentation

◆ fill()

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  }

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

Member Data Documentation

◆ hem17_

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

Definition at line 11 of file EgHLTMonElemMgrHEP.h.

◆ hep17_

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

Definition at line 10 of file EgHLTMonElemMgrHEP.h.

runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
min
T min(T a, T b)
Definition: MathUtil.h:58
egHLT::MonElemMgrHEP::hep17_
MonElemManager< T, varType > hep17_
Definition: EgHLTMonElemMgrHEP.h:10
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
egHLT::MonElemMgrHEP::hem17_
MonElemManager< T, varType > hem17_
Definition: EgHLTMonElemMgrHEP.h:11
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
weight
Definition: weight.py:1