#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::EventSetup * | eventSetupPtr_ |
Selector | selector_ |
Definition at line 17 of file ObjectSelector.h.
ipf2pat::ObjectSelector< Selector, CollectionType >::ObjectSelector | ( | const edm::ParameterSet & | ps | ) | [inline] |
Definition at line 19 of file ObjectSelector.h.
: eventSetupPtr_(0), selector_(ps) {}
const CollectionType& ipf2pat::ObjectSelector< Selector, CollectionType >::select | ( | const edm::Handle< CollectionType > & | handleToCollection, |
const edm::EventBase & | event | ||
) | [inline] |
Definition at line 24 of file ObjectSelector.h.
References ipf2pat::ObjectSelector< Selector, CollectionType >::eventSetupPtr_, and ipf2pat::ObjectSelector< Selector, CollectionType >::selector_.
{ /* static edm::Event e; */ selector_.select( handleToCollection, event, *eventSetupPtr_ ); return selector_.selected(); }
const edm::EventSetup* ipf2pat::ObjectSelector< Selector, CollectionType >::eventSetupPtr_ [private] |
Definition at line 33 of file ObjectSelector.h.
Referenced by ipf2pat::ObjectSelector< Selector, CollectionType >::select().
Selector ipf2pat::ObjectSelector< Selector, CollectionType >::selector_ [private] |
Definition at line 35 of file ObjectSelector.h.
Referenced by ipf2pat::ObjectSelector< Selector, CollectionType >::select().