CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TTbar_GenLepAnalyzer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: TTbar_GenLepAnalyzer
4 // Class: TTbar_GenLepAnalyzer
5 //
13 //
14 // Original Author: Martijn Gosselink,,,
15 // Created: Thu May 10 17:15:16 CEST 2012
16 // $Id: TTbar_GenLepAnalyzer.cc,v 1.3 2012/05/24 18:20:45 mgosseli Exp $
17 //
18 //
19 // Added to: Validation/EventGenerator by Ian M. Nugent June 28, 2012
20 
21 #ifndef TTbar_GenLepAnalyzer_H
22 #define TTbar_GenLepAnalyzer_H
23 
24 
25 // system include files
26 #include <memory>
27 
28 // user include files
34 
35 
38 
40 
43 
47 
48 #include <map>
49 #include <string>
50 
51 //
52 // class declaration
53 //
54 
56  public:
57  explicit TTbar_GenLepAnalyzer(const edm::ParameterSet&);
59 
60  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
61 
62 
63  private:
64  virtual void beginJob() ;
65  virtual void analyze(const edm::Event&, const edm::EventSetup&);
66  virtual void endJob() ;
67 
68  virtual void beginRun(edm::Run const&, edm::EventSetup const&);
69  virtual void endRun(edm::Run const&, edm::EventSetup const&);
70  virtual void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
71  virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
72 
73  // ----------member data ---------------------------
76 
78  std::map<std::string, MonitorElement*> hists_;
79 
81  double pt_cut_, eta_cut_;
82  int pdgid;
83 };
84 
85 #endif
TTbar_GenLepAnalyzer(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
DQMStore * dbe
ME&#39;s &quot;container&quot;.
std::map< std::string, MonitorElement * > hists_
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
virtual void endRun(edm::Run const &, edm::EventSetup const &)
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: Run.h:33