CMS 3D CMS Logo

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 27 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 29 of file EG9X105XObjectUpdateModifier.cc.

29  :
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
const std::string & name() const
long double T

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 31 of file EG9X105XObjectUpdateModifier.cc.

Referenced by EG9X105XObjectUpdateModifier::setEvent().

31  {
32  iEvent.getByToken(token_,handle_);
33  }
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:517

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