CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

EventSelectorAdapter< T > Class Template Reference

#include <EventSelectorAdapter.h>

Inheritance diagram for EventSelectorAdapter< T >:
edm::EDFilter edm::ProducerBase edm::ProductRegistryHelper

List of all members.

Public Member Functions

 EventSelectorAdapter (const edm::ParameterSet &cfg)
virtual ~EventSelectorAdapter ()

Private Member Functions

bool filter (edm::Event &evt, const edm::EventSetup &es)

Private Attributes

eventSelector_

Detailed Description

template<typename T>
class EventSelectorAdapter< T >

Provide classes derrived from EventSelectorBase with an EDFilter interface

Author:
Christian Veelken, UC Davis
Version:
Revision:
1.1
Id:
EventSelectorAdapter.h,v 1.1 2009/03/03 13:07:26 llista Exp

Definition at line 22 of file EventSelectorAdapter.h.


Constructor & Destructor Documentation

template<typename T >
EventSelectorAdapter< T >::EventSelectorAdapter ( const edm::ParameterSet cfg) [inline, explicit]

Definition at line 26 of file EventSelectorAdapter.h.

                                                            : 
    eventSelector_( cfg ) {
  }
template<typename T >
virtual EventSelectorAdapter< T >::~EventSelectorAdapter ( ) [inline, virtual]

Definition at line 31 of file EventSelectorAdapter.h.

{}

Member Function Documentation

template<typename T >
bool EventSelectorAdapter< T >::filter ( edm::Event evt,
const edm::EventSetup es 
) [inline, private, virtual]

Implements edm::EDFilter.

Definition at line 34 of file EventSelectorAdapter.h.

References EventSelectorAdapter< T >::eventSelector_.

{ return eventSelector_(evt, es); } 

Member Data Documentation

template<typename T >
T EventSelectorAdapter< T >::eventSelector_ [private]

Definition at line 36 of file EventSelectorAdapter.h.

Referenced by EventSelectorAdapter< T >::filter().