CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

edm::ESOutlet< T, TRec >::Getter Class Reference

Inheritance diagram for edm::ESOutlet< T, TRec >::Getter:
edm::extensioncord::ECGetterBase< T >

List of all members.

Public Member Functions

 Getter (const edm::EventSetup &iES, const std::string &iLabel=std::string())

Private Member Functions

virtual const TgetImpl () const

Private Attributes

const edm::EventSetupes_
const std::string label_

Detailed Description

template<class T, class TRec>
class edm::ESOutlet< T, TRec >::Getter

Definition at line 38 of file ESOutlet.h.


Constructor & Destructor Documentation

template<class T , class TRec >
edm::ESOutlet< T, TRec >::Getter::Getter ( const edm::EventSetup iES,
const std::string &  iLabel = std::string() 
) [inline]

Definition at line 40 of file ESOutlet.h.

                                                    :
      es_(&iES),
      label_(iLabel) {}

Member Function Documentation

template<class T , class TRec >
virtual const T* edm::ESOutlet< T, TRec >::Getter::getImpl ( ) const [inline, private, virtual]

Implements edm::extensioncord::ECGetterBase< T >.

Definition at line 45 of file ESOutlet.h.

References runTheMatrix::data, edm::ESOutlet< T, TRec >::Getter::es_, and edm::ESOutlet< T, TRec >::Getter::label_.

                                       {
        ESHandle<T> data;
        es_->template get<TRec>().get(label_,data);
        return &(*data);
      }

Member Data Documentation

template<class T , class TRec >
const edm::EventSetup* edm::ESOutlet< T, TRec >::Getter::es_ [private]

Definition at line 50 of file ESOutlet.h.

Referenced by edm::ESOutlet< T, TRec >::Getter::getImpl().

template<class T , class TRec >
const std::string edm::ESOutlet< T, TRec >::Getter::label_ [private]

Definition at line 51 of file ESOutlet.h.

Referenced by edm::ESOutlet< T, TRec >::Getter::getImpl().