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
popcon::PopConAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: PopConAnalyzer.h:33
edm
HLT enums.
Definition: AlignableModifier.h:19
popcon::PopConAnalyzer::source
SourceHandler & source()
Definition: PopConAnalyzer.h:27
EDAnalyzer.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
popcon::PopConAnalyzer::endJob
void endJob() override
Definition: PopConAnalyzer.h:31
PopCon.h
edm::ParameterSet
Definition: ParameterSet.h:47
popcon::PopConAnalyzer::~PopConAnalyzer
~PopConAnalyzer() override
Definition: PopConAnalyzer.h:24
popcon::PopCon::write
void write(Source const &source)
Definition: PopCon.h:107
ParameterSet
Definition: Functions.h:16
popcon::PopConAnalyzer::m_populator
PopCon m_populator
Definition: PopConAnalyzer.h:38
popcon::PopConAnalyzer::write
void write()
Definition: PopConAnalyzer.h:35
edm::EventSetup
Definition: EventSetup.h:57
popcon::PopConAnalyzer::m_source
SourceHandler m_source
Definition: PopConAnalyzer.h:39
popcon
Definition: Exception.h:6
Frameworkfwd.h
popcon::PopConAnalyzer::SourceHandler
S SourceHandler
Definition: PopConAnalyzer.h:19
S
Definition: CSCDBL1TPParametersExtended.h:16
HcalTPParametersHandler
Definition: HcalTPParametersHandler.h:21
popcon::PopCon
Definition: PopCon.h:29
ParameterSet.h
edm::Event
Definition: Event.h:73
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
popcon::PopConAnalyzer::PopConAnalyzer
PopConAnalyzer(const edm::ParameterSet &pset)
Definition: PopConAnalyzer.h:21
popcon::PopConAnalyzer::beginJob
void beginJob() override
Definition: PopConAnalyzer.h:30
popcon::PopConAnalyzer
Definition: PopConAnalyzer.h:17