CMS 3D CMS Logo

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

#include <EgHLTMonElemMgrEBEE.h>

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

Public Member Functions

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

Private Attributes

MonElemManager< T, varType > barrel_
 
MonElemManager< T, varType > endcap_
 

Detailed Description

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

Definition at line 25 of file EgHLTMonElemMgrEBEE.h.

Constructor & Destructor Documentation

◆ MonElemMgrEBEE()

template<class T , typename varType >
egHLT::MonElemMgrEBEE< T, varType >::MonElemMgrEBEE ( 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 31 of file EgHLTMonElemMgrEBEE.h.

38  : barrel_(iBooker, name + "_eb", "Barrel " + title, nrBins, min, max, varFunc),
39  endcap_(iBooker, name + "_ee", "Endcap " + title, nrBins, min, max, varFunc) {}

◆ ~MonElemMgrEBEE()

template<class T , typename varType >
egHLT::MonElemMgrEBEE< T, varType >::~MonElemMgrEBEE ( )
overridedefault

Member Function Documentation

◆ fill()

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

Implements egHLT::MonElemManagerBase< T >.

Definition at line 47 of file EgHLTMonElemMgrEBEE.h.

47  {
48  if (std::fabs(obj.detEta()) < 1.5)
49  barrel_.fill(obj, weight);
50  else
51  endcap_.fill(obj, weight);
52  }

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

Member Data Documentation

◆ barrel_

template<class T , typename varType >
MonElemManager<T, varType> egHLT::MonElemMgrEBEE< T, varType >::barrel_
private

Definition at line 27 of file EgHLTMonElemMgrEBEE.h.

◆ endcap_

template<class T , typename varType >
MonElemManager<T, varType> egHLT::MonElemMgrEBEE< T, varType >::endcap_
private

Definition at line 28 of file EgHLTMonElemMgrEBEE.h.

min
T min(T a, T b)
Definition: MathUtil.h:58
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
egHLT::MonElemMgrEBEE::endcap_
MonElemManager< T, varType > endcap_
Definition: EgHLTMonElemMgrEBEE.h:28
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
egHLT::MonElemMgrEBEE::barrel_
MonElemManager< T, varType > barrel_
Definition: EgHLTMonElemMgrEBEE.h:27
weight
Definition: weight.py:1