CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EventSelectorBase.h
Go to the documentation of this file.
1 #ifndef CommonTools_UtilAlgos_EventSelectorBase_h
2 #define CommonTools_UtilAlgos_EventSelectorBase_h
3 
19 
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 
36 
38 
39 #endif
40 
edmplugin::PluginFactory< EventSelectorBase *(const edm::ParameterSet &)> EventSelectorPluginFactory
virtual bool operator()(edm::Event &, const edm::EventSetup &) const =0
virtual ~EventSelectorBase()