CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ipf2pat::ObjectSelector< Selector, CollectionType > Class Template Reference

#include <ObjectSelector.h>

Public Member Functions

 ObjectSelector (const edm::ParameterSet &ps)
 
const CollectionType & select (const edm::Handle< CollectionType > &handleToCollection, const edm::EventBase &event)
 

Private Attributes

const edm::EventSetupeventSetupPtr_
 
Selector selector_
 

Detailed Description

template<typename Selector, typename CollectionType>
class ipf2pat::ObjectSelector< Selector, CollectionType >

Definition at line 17 of file ObjectSelector.h.

Constructor & Destructor Documentation

template<typename Selector , typename CollectionType >
ipf2pat::ObjectSelector< Selector, CollectionType >::ObjectSelector ( const edm::ParameterSet ps)
inline

Definition at line 19 of file ObjectSelector.h.

19  :
20  eventSetupPtr_(0),
21  selector_(ps) {}
const edm::EventSetup * eventSetupPtr_

Member Function Documentation

template<typename Selector , typename CollectionType >
const CollectionType& ipf2pat::ObjectSelector< Selector, CollectionType >::select ( const edm::Handle< CollectionType > &  handleToCollection,
const edm::EventBase event 
)
inline

Member Data Documentation

template<typename Selector , typename CollectionType >
const edm::EventSetup* ipf2pat::ObjectSelector< Selector, CollectionType >::eventSetupPtr_
private
template<typename Selector , typename CollectionType >
Selector ipf2pat::ObjectSelector< Selector, CollectionType >::selector_
private