CMS 3D CMS Logo

EventSelectorBase.h
Go to the documentation of this file.
1 #ifndef CommonTools_UtilAlgos_EventSelectorBase_h
2 #define CommonTools_UtilAlgos_EventSelectorBase_h
3 
19 
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 
35 
37 
38 #endif
edmplugin::PluginFactory< EventSelectorBase *(const edm::ParameterSet &)> EventSelectorPluginFactory
virtual bool operator()(edm::Event &, const edm::EventSetup &) const =0
virtual ~EventSelectorBase()