Validation
EventGenerator
interface
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
24
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
25
#include "
DQMServices/Core/interface/DQMStore.h
"
26
#include "
FWCore/ServiceRegistry/interface/Service.h
"
27
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
28
29
#include "
FWCore/Framework/interface/Event.h
"
30
#include "
FWCore/Framework/interface/MakerMacros.h
"
31
32
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
33
34
#include "
FWCore/ServiceRegistry/interface/Service.h
"
35
#include "
FWCore/Utilities/interface/InputTag.h
"
36
37
#include "
CommonTools/UtilAlgos/interface/TFileService.h
"
38
39
#include "
SimDataFormats/GeneratorProducts/interface/GenEventInfoProduct.h
"
40
41
#include "
DataFormats/Common/interface/Handle.h
"
42
#include "
DataFormats/JetReco/interface/Jet.h
"
43
#include "
DataFormats/PatCandidates/interface/Jet.h
"
44
45
#include <map>
46
#include <string>
47
48
//
49
// class declaration
50
//
51
52
class
TTbar_GenJetAnalyzer
:
public
DQMEDAnalyzer
{
53
public
:
54
explicit
TTbar_GenJetAnalyzer
(
const
edm::ParameterSet
&);
55
~TTbar_GenJetAnalyzer
()
override
;
56
57
void
bookHistograms
(
DQMStore::IBooker
&
i
,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
58
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
59
60
private
:
61
// ----------member data ---------------------------
62
63
edm::InputTag
jets_
;
64
edm::InputTag
genEventInfoProductTag_
;
65
std::map<std::string, MonitorElement *>
hists_
;
66
67
double
weight
;
68
69
edm::EDGetTokenT<GenEventInfoProduct>
genEventInfoProductTagToken_
;
70
edm::EDGetTokenT<std::vector<reco::GenJet>
>
jetsToken_
;
71
};
TTbar_GenJetAnalyzer::jets_
edm::InputTag jets_
Definition:
TTbar_GenJetAnalyzer.h:63
Handle.h
mps_fire.i
i
Definition:
mps_fire.py:355
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< GenEventInfoProduct >
DQMStore.h
Jet.h
TTbar_GenJetAnalyzer::hists_
std::map< std::string, MonitorElement * > hists_
Definition:
TTbar_GenJetAnalyzer.h:65
TTbar_GenJetAnalyzer::TTbar_GenJetAnalyzer
TTbar_GenJetAnalyzer(const edm::ParameterSet &)
Definition:
TTbar_GenJetAnalyzer.cc:4
MakerMacros.h
TTbar_GenJetAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition:
TTbar_GenJetAnalyzer.cc:56
Service.h
TTbar_GenJetAnalyzer::~TTbar_GenJetAnalyzer
~TTbar_GenJetAnalyzer() override
Definition:
TTbar_GenJetAnalyzer.cc:11
TTbar_GenJetAnalyzer::genEventInfoProductTagToken_
edm::EDGetTokenT< GenEventInfoProduct > genEventInfoProductTagToken_
Definition:
TTbar_GenJetAnalyzer.h:69
DQMEDAnalyzer.h
TFileService.h
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
edm::ParameterSet
Definition:
ParameterSet.h:36
TTbar_GenJetAnalyzer::jetsToken_
edm::EDGetTokenT< std::vector< reco::GenJet > > jetsToken_
Definition:
TTbar_GenJetAnalyzer.h:70
GenEventInfoProduct.h
Event.h
TTbar_GenJetAnalyzer::genEventInfoProductTag_
edm::InputTag genEventInfoProductTag_
Definition:
TTbar_GenJetAnalyzer.h:64
edm::EventSetup
Definition:
EventSetup.h:57
Jet.h
InputTag.h
TTbar_GenJetAnalyzer::weight
double weight
Definition:
TTbar_GenJetAnalyzer.h:67
Frameworkfwd.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ParameterSet.h
TTbar_GenJetAnalyzer
Definition:
TTbar_GenJetAnalyzer.h:52
edm::Event
Definition:
Event.h:73
TTbar_GenJetAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TTbar_GenJetAnalyzer.cc:13
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16