CMS 3D CMS Logo

OnlinePopConAnalyzer.h
Go to the documentation of this file.
1 #ifndef CONDCORE_POPCON_ONLINEPOPCONANALYZER_H
2 #define CONDCORE_POPCON_ONLINEPOPCONANALYZER_H
3 
4 //
5 // Authors:
6 // - Francesco Brivio (Milano-Bicocca)
7 // - Jan Chyczynski (AGH University of Krakow)
8 //
9 
14 
15 #include <vector>
16 
17 namespace popcon {
18  template <typename S>
20  public:
21  typedef S SourceHandler;
22 
24  : m_populator(pset), m_source(pset.getParameter<edm::ParameterSet>("Source")) {}
25 
26  ~OnlinePopConAnalyzer() override {}
27 
28  protected:
29  SourceHandler& source() { return m_source; }
30 
31  private:
32  void beginJob() override {}
33  void endJob() override { write(); }
34 
35  void analyze(const edm::Event&, const edm::EventSetup&) override {}
36 
38 
39  private:
42  };
43 
44 } // namespace popcon
45 #endif // CONDCORE_POPCON_ONLINEPOPCONANALYZER_H
void write(Source const &source)
Definition: OnlinePopCon.h:64
void analyze(const edm::Event &, const edm::EventSetup &) override
OnlinePopConAnalyzer(const edm::ParameterSet &pset)
HLT enums.