Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
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
public
:
22
// constructor
23
explicit
EventSelectorBase
() {}
24
25
// destructor
26
virtual
~EventSelectorBase
() {}
27
28
// function implementing actual cut
29
// ( return value = true : event passes cut
30
// false : event fails cut )
31
virtual
bool
operator()
(
edm::Event
&,
const
edm::EventSetup
&)
const
= 0;
32
};
33
34
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
35
36
typedef
edmplugin::PluginFactory<EventSelectorBase*(const edm::ParameterSet&)>
EventSelectorPluginFactory
;
37
38
#endif
Event.h
EventSetup.h
EventSelectorPluginFactory
edmplugin::PluginFactory< EventSelectorBase *(const edm::ParameterSet &)> EventSelectorPluginFactory
Definition:
EventSelectorBase.h:36
EventSelectorBase
Definition:
EventSelectorBase.h:20
ParameterSet.h
EventSelectorBase::operator()
virtual bool operator()(edm::Event &, const edm::EventSetup &) const =0
edmplugin::PluginFactory
Definition:
PluginFactory.h:35
edm::EventSetup
Definition:
EventSetup.h:56
EventSelectorBase::EventSelectorBase
EventSelectorBase()
Definition:
EventSelectorBase.h:23
PluginFactory.h
EventSelectorBase::~EventSelectorBase
virtual ~EventSelectorBase()
Definition:
EventSelectorBase.h:26
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.14