CMS 3D CMS Logo

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

#include <ExtractTObject.h>

Static Public Member Functions

static T * extract (MonitorElement *me)
 

Detailed Description

template<class T>
class ExtractTObject< T >

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 MonitorElement::getRootObject().

21  {
22  return me ? dynamic_cast<T*>(me->getRootObject()) : 0;
23 }
TObject * getRootObject(void) const