CMS 3D CMS Logo

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
28  }
29 
30  // destructor
31  virtual ~EventSelectorAdapter() {}
32 
33  private:
34  bool filter(edm::StreamID, edm::Event& evt, const edm::EventSetup& es) const override { return eventSelector_(evt, es); }
35 
37 };
38 
39 #endif
40 
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
EventSelectorAdapter(const edm::ParameterSet &cfg)
long double T
bool filter(edm::StreamID, edm::Event &evt, const edm::EventSetup &es) const override