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 Member Functions | Private Attributes
egHLT::MonElemManagerHist< T > Class Template Referenceabstract

#include <EgHLTMonElemManager.h>

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

Public Member Functions

void fill (const T &obj, float weight) override=0
 
MonitorElementmonElem ()
 
const MonitorElementmonElem () const
 
 MonElemManagerHist (DQMStore::IBooker &iBooker, std::string name, std::string title, int nrBins, double xMin, double xMax)
 
 MonElemManagerHist (DQMStore::IBooker &iBooker, std::string name, std::string title, int nrBinsX, double xMin, double xMax, int nrBinsY, double yMin, double yMax)
 
 ~MonElemManagerHist () override
 
- Public Member Functions inherited from egHLT::MonElemManagerBase< T >
 MonElemManagerBase ()=default
 
virtual ~MonElemManagerBase ()=default
 

Private Member Functions

 MonElemManagerHist (const MonElemManagerHist &rhs)
 
MonElemManagerHistoperator= (const MonElemManagerHist &rhs)
 

Private Attributes

MonitorElementmonElem_
 

Detailed Description

template<class T>
class egHLT::MonElemManagerHist< T >

Definition at line 43 of file EgHLTMonElemManager.h.

Constructor & Destructor Documentation

template<class T >
egHLT::MonElemManagerHist< T >::MonElemManagerHist ( const MonElemManagerHist< T > &  rhs)
inlineprivate

Definition at line 50 of file EgHLTMonElemManager.h.

50 {}
template<class T >
egHLT::MonElemManagerHist< T >::MonElemManagerHist ( DQMStore::IBooker iBooker,
std::string  name,
std::string  title,
int  nrBins,
double  xMin,
double  xMax 
)

Definition at line 74 of file EgHLTMonElemManager.h.

References dqm::implementation::IBooker::book1D(), and egHLT::MonElemManagerHist< T >::monElem_.

76  : monElem_(nullptr) {
77  monElem_ = iBooker.book1D(name, title, nrBins, xMin, xMax);
78  }
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
template<class T >
egHLT::MonElemManagerHist< T >::MonElemManagerHist ( DQMStore::IBooker iBooker,
std::string  name,
std::string  title,
int  nrBinsX,
double  xMin,
double  xMax,
int  nrBinsY,
double  yMin,
double  yMax 
)

Definition at line 81 of file EgHLTMonElemManager.h.

References dqm::implementation::IBooker::book2D(), and egHLT::MonElemManagerHist< T >::monElem_.

90  : monElem_(nullptr) {
91  monElem_ = iBooker.book2D(name, title, nrBinsX, xMin, xMax, nrBinsY, yMin, yMax);
92  }
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
template<class T >
egHLT::MonElemManagerHist< T >::~MonElemManagerHist ( )
override

Definition at line 95 of file EgHLTMonElemManager.h.

95  {
96  // delete monElem_;
97  }

Member Function Documentation

template<class T >
void egHLT::MonElemManagerHist< T >::fill ( const T obj,
float  weight 
)
overridepure virtual
template<class T >
MonitorElement* egHLT::MonElemManagerHist< T >::monElem ( )
inline
template<class T >
const MonitorElement* egHLT::MonElemManagerHist< T >::monElem ( ) const
inline

Definition at line 68 of file EgHLTMonElemManager.h.

References egHLT::MonElemManagerHist< T >::monElem_.

68 { return monElem_; }
template<class T >
MonElemManagerHist& egHLT::MonElemManagerHist< T >::operator= ( const MonElemManagerHist< T > &  rhs)
inlineprivate

Definition at line 51 of file EgHLTMonElemManager.h.

51 { return *this; }

Member Data Documentation

template<class T >
MonitorElement* egHLT::MonElemManagerHist< T >::monElem_
private