CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
egHLT::MonElemManager< T, varType > Class Template Reference

#include <EgHLTMonElemManager.h>

Inheritance diagram for egHLT::MonElemManager< T, varType >:
egHLT::MonElemManagerHist< T > egHLT::MonElemManagerBase< T >

Public Member Functions

void fill (const T &obj, float weight)
 
 MonElemManager (std::string name, std::string title, int nrBins, double xMin, double xMax, varType(T::*varFunc)() const)
 
 ~MonElemManager ()
 
- Public Member Functions inherited from egHLT::MonElemManagerHist< T >
MonitorElementmonElem ()
 
const MonitorElementmonElem () const
 
 MonElemManagerHist (std::string name, std::string title, int nrBins, double xMin, double xMax)
 
 MonElemManagerHist (std::string name, std::string title, int nrBinsX, double xMin, double xMax, int nrBinsY, double yMin, double yMax)
 
virtual ~MonElemManagerHist ()
 
- Public Member Functions inherited from egHLT::MonElemManagerBase< T >
 MonElemManagerBase ()
 
virtual ~MonElemManagerBase ()
 

Private Member Functions

 MonElemManager (const MonElemManager &rhs)
 
MonElemManageroperator= (const MonElemManager &rhs)
 

Private Attributes

varType(T::* varFunc_ )() const
 

Detailed Description

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

Definition at line 89 of file EgHLTMonElemManager.h.

Constructor & Destructor Documentation

template<class T , typename varType >
egHLT::MonElemManager< T, varType >::MonElemManager ( const MonElemManager< T, varType > &  rhs)
inlineprivate

Definition at line 97 of file EgHLTMonElemManager.h.

97 {}
template<class T , typename varType >
egHLT::MonElemManager< T, varType >::MonElemManager ( std::string  name,
std::string  title,
int  nrBins,
double  xMin,
double  xMax,
varType(T::*)() const  varFunc 
)
inline

Definition at line 101 of file EgHLTMonElemManager.h.

102  :
103  MonElemManagerHist<T>(name,title,nrBins,xMin,xMax),
104  varFunc_(varFunc){}
varType(T::* varFunc_)() const
template<class T , typename varType >
egHLT::MonElemManager< T, varType >::~MonElemManager ( )

Definition at line 118 of file EgHLTMonElemManager.h.

119  {
120 
121  }

Member Function Documentation

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

Implements egHLT::MonElemManagerHist< T >.

Definition at line 113 of file EgHLTMonElemManager.h.

References MonitorElement::Fill(), and egHLT::MonElemManagerHist< T >::monElem().

114  {
116  }
void Fill(long long x)
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
varType(T::* varFunc_)() const
template<class T , typename varType >
MonElemManager& egHLT::MonElemManager< T, varType >::operator= ( const MonElemManager< T, varType > &  rhs)
inlineprivate

Definition at line 98 of file EgHLTMonElemManager.h.

98 {return *this;}

Member Data Documentation

template<class T , typename varType >
varType(T::* egHLT::MonElemManager< T, varType >::varFunc_)() const
private

Definition at line 92 of file EgHLTMonElemManager.h.