CMS 3D CMS Logo

List of all members | Static Public Member Functions
ExtractTObject< T > Class Template Reference

#include <ExtractTObject.h>

Static Public Member Functions

static Textract (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()) : nullptr;
23 }
TObject * getRootObject() const
long double T