CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  list_(), algo_( 0, list_ ) {
11  }
12  void analyze( const edm::Event & evt, const edm::EventSetup & ) override {
13  algo_.process( evt );
14  }
15  void endJob() override {
16  algo_.postProcess( list_ );
17  algo_.terminate( list_ );
18  }
19 private:
20  TList list_;
22 };
23 
24 #endif
tuple cfg
Definition: looper.py:293
void analyze(const edm::Event &evt, const edm::EventSetup &) override
TSelectorAnalyzer(const edm::ParameterSet &cfg)
void endJob() override
Definition: fakeMenu.h:6