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
Handle.h
TTbar_GenLepAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition: TTbar_GenLepAnalyzer.cc:59
mps_fire.i
i
Definition: mps_fire.py:355
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
TTbar_GenLepAnalyzer::do_tau_
bool do_tau_
Definition: TTbar_GenLepAnalyzer.h:65
TTbar_GenLepAnalyzer::pt_cut_
double pt_cut_
Definition: TTbar_GenLepAnalyzer.h:66
TTbar_GenLepAnalyzer::lepsToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > lepsToken_
Definition: TTbar_GenLepAnalyzer.h:69
DQMStore.h
TTbar_GenLepAnalyzer::do_mu_
bool do_mu_
Definition: TTbar_GenLepAnalyzer.h:65
TTbar_GenLepAnalyzer
Definition: TTbar_GenLepAnalyzer.h:51
TTbar_GenLepAnalyzer::~TTbar_GenLepAnalyzer
~TTbar_GenLepAnalyzer() override
Definition: TTbar_GenLepAnalyzer.cc:12
MakerMacros.h
TTbar_GenLepAnalyzer::eta_cut_
double eta_cut_
Definition: TTbar_GenLepAnalyzer.h:66
TTbar_GenLepAnalyzer::hists_
std::map< std::string, MonitorElement * > hists_
Definition: TTbar_GenLepAnalyzer.h:63
TTbar_GenLepAnalyzer::do_e_
bool do_e_
Definition: TTbar_GenLepAnalyzer.h:65
Service.h
DQMEDAnalyzer.h
TTbar_GenLepAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: TTbar_GenLepAnalyzer.cc:22
TFileService.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
TTbar_GenLepAnalyzer::do_nu_mu_
bool do_nu_mu_
Definition: TTbar_GenLepAnalyzer.h:65
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
edm::EventSetup
Definition: EventSetup.h:57
TTbar_GenLepAnalyzer::pdgid
int pdgid
Definition: TTbar_GenLepAnalyzer.h:67
Frameworkfwd.h
TTbar_GenLepAnalyzer::do_nu_tau_
bool do_nu_tau_
Definition: TTbar_GenLepAnalyzer.h:65
TTbar_GenLepAnalyzer::leps_
edm::InputTag leps_
Definition: TTbar_GenLepAnalyzer.h:62
dqm::implementation::IBooker
Definition: DQMStore.h:43
Candidate.h
TTbar_GenLepAnalyzer::TTbar_GenLepAnalyzer
TTbar_GenLepAnalyzer(const edm::ParameterSet &)
Definition: TTbar_GenLepAnalyzer.cc:7
ParameterSet.h
HepMCProduct.h
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
TTbar_GenLepAnalyzer::do_nu_e_
bool do_nu_e_
Definition: TTbar_GenLepAnalyzer.h:65