CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
EG9X105XObjectUpdateModifier::TokenHandlePair< T > Class Template Reference

Public Member Functions

const edm::Handle< T > & handle () const
 
void setHandle (const edm::Event &iEvent)
 
 TokenHandlePair (const edm::ParameterSet &conf, const std::string &name, edm::ConsumesCollector &cc)
 

Private Attributes

edm::Handle< Thandle_
 
edm::EDGetTokenT< Ttoken_
 

Detailed Description

template<typename T>
class EG9X105XObjectUpdateModifier::TokenHandlePair< T >

Definition at line 26 of file EG9X105XObjectUpdateModifier.cc.

Constructor & Destructor Documentation

template<typename T>
EG9X105XObjectUpdateModifier::TokenHandlePair< T >::TokenHandlePair ( const edm::ParameterSet conf,
const std::string &  name,
edm::ConsumesCollector cc 
)
inline

Definition at line 28 of file EG9X105XObjectUpdateModifier.cc.

EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const std::string & name() const
T getParameter(std::string const &) const
Definition: ParameterSet.h:303

Member Function Documentation

template<typename T>
const edm::Handle<T>& EG9X105XObjectUpdateModifier::TokenHandlePair< T >::handle ( ) const
inline
template<typename T>
void EG9X105XObjectUpdateModifier::TokenHandlePair< T >::setHandle ( const edm::Event iEvent)
inline

Definition at line 30 of file EG9X105XObjectUpdateModifier.cc.

Referenced by EG9X105XObjectUpdateModifier::setEvent().

30 { handle_ = iEvent.getHandle(token_); }
Handle< PROD > getHandle(EDGetTokenT< PROD > token) const
Definition: Event.h:563

Member Data Documentation

template<typename T>
edm::Handle<T> EG9X105XObjectUpdateModifier::TokenHandlePair< T >::handle_
private
template<typename T>
edm::EDGetTokenT<T> EG9X105XObjectUpdateModifier::TokenHandlePair< T >::token_
private