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
TSelectorAnalyzer::list_
TList list_
Definition: TSelectorAnalyzer.h:17
EDAnalyzer.h
TSelectorAnalyzer::analyze
void analyze(const edm::Event &evt, const edm::EventSetup &) override
Definition: TSelectorAnalyzer.h:10
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
TSelectorAnalyzer::endJob
void endJob() override
Definition: TSelectorAnalyzer.h:11
Algo
Definition: fakeMenu.h:6
TSelectorAnalyzer::TSelectorAnalyzer
TSelectorAnalyzer(const edm::ParameterSet &cfg)
Definition: TSelectorAnalyzer.h:9
edm::ParameterSet
Definition: ParameterSet.h:36
TSelectorAnalyzer
Definition: TSelectorAnalyzer.h:7
edm::EventSetup
Definition: EventSetup.h:57
looper.cfg
cfg
Definition: looper.py:297
TSelectorAnalyzer::algo_
Algo algo_
Definition: TSelectorAnalyzer.h:18
edm::Event
Definition: Event.h:73