CMS 3D CMS Logo

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 
36 
38 
41 
45 
46 #include <map>
47 #include <string>
48 
49 //
50 // class declaration
51 //
52 
54  public:
55  explicit TTbar_GenLepAnalyzer(const edm::ParameterSet&);
57 
58  virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override;
59  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
60 
61  private:
62  // ----------member data ---------------------------
63 
65  std::map<std::string, MonitorElement*> hists_;
66 
68  double pt_cut_, eta_cut_;
69  int pdgid;
70 
72 
73 };
74 
75 #endif
int i
Definition: DBlmapReader.cc:9
edm::EDGetTokenT< edm::View< reco::Candidate > > lepsToken_
TTbar_GenLepAnalyzer(const edm::ParameterSet &)
virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
std::map< std::string, MonitorElement * > hists_
Definition: Run.h:42