Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
24
// system include files
25
#include <memory>
26
27
// user include files
28
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
29
#include "
DQMServices/Core/interface/DQMStore.h
"
30
#include "
FWCore/ServiceRegistry/interface/Service.h
"
31
#include "
DQMServices/Core/interface/MonitorElement.h
"
32
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
33
34
#include "
FWCore/Framework/interface/Event.h
"
35
#include "
FWCore/Framework/interface/MakerMacros.h
"
36
37
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
38
39
#include "
FWCore/ServiceRegistry/interface/Service.h
"
40
#include "
CommonTools/UtilAlgos/interface/TFileService.h
"
41
42
#include "
DataFormats/Common/interface/Handle.h
"
43
#include "
DataFormats/Candidate/interface/Candidate.h
"
44
#include "
SimDataFormats/GeneratorProducts/interface/HepMCProduct.h
"
45
46
#include <map>
47
#include <string>
48
49
//
50
// class declaration
51
//
52
53
class
TTbar_GenLepAnalyzer
:
public
DQMEDAnalyzer
{
54
public
:
55
explicit
TTbar_GenLepAnalyzer
(
const
edm::ParameterSet
&);
56
~TTbar_GenLepAnalyzer
();
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
64
edm::InputTag
leps_
;
65
std::map<std::string, MonitorElement*>
hists_
;
66
67
bool
do_e_
,
do_mu_
,
do_tau_
,
do_nu_e_
,
do_nu_mu_
,
do_nu_tau_
;
68
double
pt_cut_
,
eta_cut_
;
69
int
pdgid
;
70
71
edm::EDGetTokenT<edm::View<reco::Candidate>
>
lepsToken_
;
72
73
};
74
75
#endif
i
int i
Definition:
DBlmapReader.cc:9
TTbar_GenLepAnalyzer::do_nu_e_
bool do_nu_e_
Definition:
TTbar_GenLepAnalyzer.h:67
TTbar_GenLepAnalyzer::lepsToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > lepsToken_
Definition:
TTbar_GenLepAnalyzer.h:71
TTbar_GenLepAnalyzer::do_nu_tau_
bool do_nu_tau_
Definition:
TTbar_GenLepAnalyzer.h:67
TTbar_GenLepAnalyzer::do_tau_
bool do_tau_
Definition:
TTbar_GenLepAnalyzer.h:67
Event.h
MakerMacros.h
TTbar_GenLepAnalyzer::TTbar_GenLepAnalyzer
TTbar_GenLepAnalyzer(const edm::ParameterSet &)
Definition:
TTbar_GenLepAnalyzer.cc:6
TTbar_GenLepAnalyzer::bookHistograms
virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition:
TTbar_GenLepAnalyzer.cc:67
Handle.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
TTbar_GenLepAnalyzer::do_e_
bool do_e_
Definition:
TTbar_GenLepAnalyzer.h:67
TTbar_GenLepAnalyzer::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TTbar_GenLepAnalyzer.cc:30
TTbar_GenLepAnalyzer::pt_cut_
double pt_cut_
Definition:
TTbar_GenLepAnalyzer.h:68
TFileService.h
TTbar_GenLepAnalyzer::do_nu_mu_
bool do_nu_mu_
Definition:
TTbar_GenLepAnalyzer.h:67
ParameterSet.h
Candidate.h
TTbar_GenLepAnalyzer
Definition:
TTbar_GenLepAnalyzer.h:53
DQMEDAnalyzer.h
DQMStore.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:44
TTbar_GenLepAnalyzer::eta_cut_
double eta_cut_
Definition:
TTbar_GenLepAnalyzer.h:68
HepMCProduct.h
TTbar_GenLepAnalyzer::~TTbar_GenLepAnalyzer
~TTbar_GenLepAnalyzer()
Definition:
TTbar_GenLepAnalyzer.cc:15
MonitorElement.h
edm::InputTag
Definition:
InputTag.h:17
TTbar_GenLepAnalyzer::pdgid
int pdgid
Definition:
TTbar_GenLepAnalyzer.h:69
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.h:20
TTbar_GenLepAnalyzer::leps_
edm::InputTag leps_
Definition:
TTbar_GenLepAnalyzer.h:64
edm::ParameterSet
Definition:
ParameterSet.h:35
TTbar_GenLepAnalyzer::hists_
std::map< std::string, MonitorElement * > hists_
Definition:
TTbar_GenLepAnalyzer.h:65
edm::Event
Definition:
Event.h:62
DQMStore::IBooker
Definition:
DQMStore.h:88
TTbar_GenLepAnalyzer::do_mu_
bool do_mu_
Definition:
TTbar_GenLepAnalyzer.h:67
edm::Run
Definition:
Run.h:41
Generated for CMSSW Reference Manual by
1.8.5