Main Page
Namespaces
Classes
Package Documentation
CommonTools
UtilAlgos
interface
EventSelectorBase.h
Go to the documentation of this file.
1
#ifndef CommonTools_UtilAlgos_EventSelectorBase_h
2
#define CommonTools_UtilAlgos_EventSelectorBase_h
3
16
#include "
FWCore/Framework/interface/Event.h
"
17
#include "
FWCore/Framework/interface/EventSetup.h
"
18
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
19
20
class
EventSelectorBase
21
{
22
public
:
23
// constructor
24
explicit
EventSelectorBase
() {}
25
26
// destructor
27
virtual
~EventSelectorBase
() {}
28
29
// function implementing actual cut
30
// ( return value = true : event passes cut
31
// false : event fails cut )
32
virtual
bool
operator()
(
edm::Event
&,
const
edm::EventSetup
&)
const
= 0;
33
};
34
35
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
36
37
typedef
edmplugin::PluginFactory<EventSelectorBase* (const edm::ParameterSet&)>
EventSelectorPluginFactory
;
38
39
#endif
40
EventSelectorPluginFactory
edmplugin::PluginFactory< EventSelectorBase *(const edm::ParameterSet &)> EventSelectorPluginFactory
Definition:
EventSelectorBase.h:37
Event.h
EventSetup.h
EventSelectorBase
Definition:
EventSelectorBase.h:20
ParameterSet.h
edmplugin::PluginFactory
Definition:
PluginFactory.h:31
edm::EventSetup
Definition:
EventSetup.h:44
EventSelectorBase::EventSelectorBase
EventSelectorBase()
Definition:
EventSelectorBase.h:24
PluginFactory.h
EventSelectorBase::operator()
virtual bool operator()(edm::Event &, const edm::EventSetup &) const =0
EventSelectorBase::~EventSelectorBase
virtual ~EventSelectorBase()
Definition:
EventSelectorBase.h:27
edm::Event
Definition:
Event.h:66
Generated for CMSSW Reference Manual by
1.8.11