CMS 3D CMS Logo

TSelectorAnalyzer.h
Go to the documentation of this file.
1 #ifndef ParallelAnalysis_TSelectorAnalyzer_h
2 #define ParallelAnalysis_TSelectorAnalyzer_h
4 #include "TList.h"
5 
6 template <typename Algo>
8 public:
10  void analyze(const edm::Event& evt, const edm::EventSetup&) override { algo_.process(evt); }
11  void endJob() override {
12  algo_.postProcess(list_);
13  algo_.terminate(list_);
14  }
15 
16 private:
17  TList list_;
19 };
20 
21 #endif
#define nullptr
void analyze(const edm::Event &evt, const edm::EventSetup &) override
TSelectorAnalyzer(const edm::ParameterSet &cfg)
void endJob() override
Definition: fakeMenu.h:6