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 
8 
10 #include <vector>
11 
12 
16 
17 namespace popcon{
18  template <typename S>
20  public:
21  typedef S SourceHandler;
22 
24  m_populator(pset),
25  m_source(pset.getParameter<edm::ParameterSet>("Source")) {}
26 
27 
28  virtual ~PopConAnalyzer(){}
29 
30  private:
31 
32  virtual void beginJob(){}
33  virtual void endJob() {
34  write();
35  }
36 
37  virtual void analyze(const edm::Event&, const edm::EventSetup&){}
38 
39 
40  void write() {
42 
43  }
44 
45  private:
47  SourceHandler m_source;
48  };
49 
50 }
51 #endif
virtual void analyze(const edm::Event &, const edm::EventSetup &)
virtual void endJob()
void write(Source const &source)
Definition: PopCon.h:123
SourceHandler m_source
double S(const TLorentzVector &, const TLorentzVector &)
Definition: Particle.cc:99
HLT enums.
PopConAnalyzer(const edm::ParameterSet &pset)
virtual void beginJob()