CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EventSelectorAdapter.h
Go to the documentation of this file.
1 #ifndef CommonTools_UtilAlgos_EventSelectorAdapter_h
2 #define CommonTools_UtilAlgos_EventSelectorAdapter_h
3 
20 
21 template<typename T>
23 {
24  public:
25  // constructor
26  explicit EventSelectorAdapter(const edm::ParameterSet& cfg) :
28  }
29 
30  // destructor
31  virtual ~EventSelectorAdapter() {}
32 
33  private:
34  bool filter(edm::Event& evt, const edm::EventSetup& es) override { return eventSelector_(evt, es); }
35 
37 };
38 
39 #endif
40 
bool filter(edm::Event &evt, const edm::EventSetup &es) override
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
EventSelectorAdapter(const edm::ParameterSet &cfg)
long double T