CMS 3D CMS Logo

TTbar_GenJetAnalyzer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: ObjectAnalyzer
4 // Class: TTbar_GenJetAnalyzer
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 // system include files
21 #include <memory>
22 
23 // user include files
29 
32 
34 
37 
39 
41 
45 
46 
47 #include <map>
48 #include <string>
49 
50 
51 //
52 // class declaration
53 //
54 
56  public:
57  explicit TTbar_GenJetAnalyzer(const edm::ParameterSet&);
58  ~TTbar_GenJetAnalyzer() override;
59 
60  void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override;
61  void analyze(const edm::Event&, const edm::EventSetup&) override;
62 
63  private:
64 
65  // ----------member data ---------------------------
66 
69  std::map<std::string, MonitorElement*> hists_;
70 
71  double weight ;
72 
75 
76 };
77 
edm::EDGetTokenT< std::vector< reco::GenJet > > jetsToken_
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::InputTag genEventInfoProductTag_
edm::EDGetTokenT< GenEventInfoProduct > genEventInfoProductTagToken_
std::map< std::string, MonitorElement * > hists_
Definition: Run.h:44
TTbar_GenJetAnalyzer(const edm::ParameterSet &)