CMS 3D CMS Logo

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

◆ MonElemManagerHist() [1/3]

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

Definition at line 50 of file EgHLTMonElemManager.h.

50 {}

◆ MonElemManagerHist() [2/3]

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(), egHLT::MonElemManagerHist< T >::monElem_, Skims_PA_cff::name, runGCPTkAlMap::title, multiplicitycorr_cfi::xMax, and photonAnalyzer_cfi::xMin.

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

◆ MonElemManagerHist() [3/3]

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(), egHLT::MonElemManagerHist< T >::monElem_, Skims_PA_cff::name, runGCPTkAlMap::title, multiplicitycorr_cfi::xMax, photonAnalyzer_cfi::xMin, multiplicitycorr_cfi::yMax, and photonAnalyzer_cfi::yMin.

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:212

◆ ~MonElemManagerHist()

template<class T >
egHLT::MonElemManagerHist< T >::~MonElemManagerHist ( )
override

Definition at line 95 of file EgHLTMonElemManager.h.

95  {
96  // delete monElem_;
97  }

Member Function Documentation

◆ fill()

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

◆ monElem() [1/2]

template<class T >
MonitorElement* egHLT::MonElemManagerHist< T >::monElem ( )
inline

◆ monElem() [2/2]

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_; }

◆ operator=()

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

◆ monElem_

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