CMS 3D CMS Logo

PopConAnalyzer.h
Go to the documentation of this file.
1 #ifndef POPCON_ANALYZER_H
2 #define POPCON_ANALYZER_H
3 
4 //
5 // Original Author: Marcin BOGUSZ
6 // Created: Tue Jul 3 10:48:22 CEST 2007
7 
9 #include <vector>
10 
14 
15 namespace popcon {
16  template <typename S>
18  public:
19  typedef S SourceHandler;
20 
22  : m_populator(pset), m_source(pset.getParameter<edm::ParameterSet>("Source")) {}
23 
24  ~PopConAnalyzer() override {}
25 
26  protected:
27  SourceHandler& source() { return m_source; }
28 
29  private:
30  void beginJob() override {}
31  void endJob() override { write(); }
32 
33  void analyze(const edm::Event&, const edm::EventSetup&) override {}
34 
36 
37  private:
40  };
41 
42 } // namespace popcon
43 #endif
SourceHandler & source()
void beginJob() override
void write(Source const &source)
Definition: PopCon.h:75
SourceHandler m_source
void endJob() override
HLT enums.
PopConAnalyzer(const edm::ParameterSet &pset)
void analyze(const edm::Event &, const edm::EventSetup &) override