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 // system include files
24 #include <memory>
25 
26 // user include files
31 
34 
36 
39 
43 
44 #include <map>
45 #include <string>
46 
47 //
48 // class declaration
49 //
50 
52 public:
53  explicit TTbar_GenLepAnalyzer(const edm::ParameterSet &);
54  ~TTbar_GenLepAnalyzer() override;
55 
56  void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override;
57  void analyze(const edm::Event &, const edm::EventSetup &) override;
58 
59 private:
60  // ----------member data ---------------------------
61 
63  std::map<std::string, MonitorElement *> hists_;
64 
66  double pt_cut_, eta_cut_;
67  int pdgid;
68 
70 };
71 
72 #endif
edm::EDGetTokenT< edm::View< reco::Candidate > > lepsToken_
TTbar_GenLepAnalyzer(const edm::ParameterSet &)
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
void analyze(const edm::Event &, const edm::EventSetup &) override
std::map< std::string, MonitorElement * > hists_
Definition: Run.h:45