CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Static Public Member Functions
ExtractTObject< T > Class Template Reference

#include <ExtractTObject.h>

Public Types

typedef dqm::legacy::MonitorElement MonitorElement
 

Static Public Member Functions

static Textract (MonitorElement *me)
 

Detailed Description

template<class T>
class ExtractTObject< T >

Definition at line 9 of file ExtractTObject.h.

Member Typedef Documentation

Definition at line 11 of file ExtractTObject.h.

Member Function Documentation

template<class T >
T * ExtractTObject< T >::extract ( MonitorElement me)
static

Definition at line 21 of file ExtractTObject.cc.

References dqm::legacy::MonitorElement::getRootObject().

Referenced by BeautifulSoup.PageElement::_invert(), and BeautifulSoup.Tag::decompose().

21  {
22  return me ? dynamic_cast<T*>(me->getRootObject()) : nullptr;
23 }
TObject * getRootObject() const override
long double T