CMS 3D CMS Logo

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 >

List of all members.

Public Member Functions

void fill (const T &obj, float weight)
 MonElemMgrEBEE (const std::string &name, const std::string &title, int nrBins, float min, float max, varType(T::*varFunc)() const)
 ~MonElemMgrEBEE ()

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 22 of file EgHLTMonElemMgrEBEE.h.


Constructor & Destructor Documentation

template<class T , typename varType >
egHLT::MonElemMgrEBEE< T, varType >::MonElemMgrEBEE ( const std::string &  name,
const std::string &  title,
int  nrBins,
float  min,
float  max,
varType(T::*)() const  varFunc 
) [inline]

Definition at line 28 of file EgHLTMonElemMgrEBEE.h.

                                                                                                                          :
      barrel_(name+"_eb","Barrel "+title,nrBins,min,max,varFunc),
      endcap_(name+"_ee","Endcap "+title,nrBins,min,max,varFunc){}
template<class T , typename varType >
egHLT::MonElemMgrEBEE< T, varType >::~MonElemMgrEBEE ( ) [inline]

Definition at line 32 of file EgHLTMonElemMgrEBEE.h.

{}

Member Function Documentation

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

Implements egHLT::MonElemManagerBase< T >.

Definition at line 38 of file EgHLTMonElemMgrEBEE.h.

  {
    if(fabs(obj.detEta())<1.5) barrel_.fill(obj,weight);
    else endcap_.fill(obj,weight);
  }

Member Data Documentation

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

Definition at line 24 of file EgHLTMonElemMgrEBEE.h.

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

Definition at line 25 of file EgHLTMonElemMgrEBEE.h.