Validation
EventGenerator
interface
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
27
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
28
#include "
DQMServices/Core/interface/DQMStore.h
"
29
#include "
FWCore/ServiceRegistry/interface/Service.h
"
30
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
31
32
#include "
FWCore/Framework/interface/Event.h
"
33
#include "
FWCore/Framework/interface/MakerMacros.h
"
34
35
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
36
37
#include "
FWCore/ServiceRegistry/interface/Service.h
"
38
#include "
CommonTools/UtilAlgos/interface/TFileService.h
"
39
40
#include "
DataFormats/Common/interface/Handle.h
"
41
#include "
DataFormats/Candidate/interface/Candidate.h
"
42
#include "
SimDataFormats/GeneratorProducts/interface/HepMCProduct.h
"
43
44
#include <map>
45
#include <string>
46
47
//
48
// class declaration
49
//
50
51
class
TTbar_GenLepAnalyzer
:
public
DQMEDAnalyzer
{
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
62
edm::InputTag
leps_
;
63
std::map<std::string, MonitorElement *>
hists_
;
64
65
bool
do_e_
,
do_mu_
,
do_tau_
,
do_nu_e_
,
do_nu_mu_
,
do_nu_tau_
;
66
double
pt_cut_
,
eta_cut_
;
67
int
pdgid
;
68
69
edm::EDGetTokenT<edm::View<reco::Candidate>
>
lepsToken_
;
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
Generated for CMSSW Reference Manual by
1.8.16