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 //
17 //
18 // Added to: Validation/EventGenerator by Ian M. Nugent June 28, 2012
19 
20 #ifndef TTbar_GenLepAnalyzer_H
21 #define TTbar_GenLepAnalyzer_H
22 
23 
24 // system include files
25 #include <memory>
26 
27 // user include files
33 
34 
37 
39 
42 
46 
47 #include <map>
48 #include <string>
49 
50 //
51 // class declaration
52 //
53 
55  public:
56  explicit TTbar_GenLepAnalyzer(const edm::ParameterSet&);
58 
59  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
60 
61 
62  private:
63  virtual void beginJob() ;
64  virtual void analyze(const edm::Event&, const edm::EventSetup&);
65  virtual void endJob() ;
66 
67  virtual void beginRun(edm::Run const&, edm::EventSetup const&);
68  virtual void endRun(edm::Run const&, edm::EventSetup const&);
69  virtual void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
70  virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
71 
72  // ----------member data ---------------------------
75 
77  std::map<std::string, MonitorElement*> hists_;
78 
80  double pt_cut_, eta_cut_;
81  int pdgid;
82 
84 
85 };
86 
87 #endif
edm::EDGetTokenT< edm::View< reco::Candidate > > lepsToken_
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:41