Main Page
Namespaces
Classes
Package Documentation
src
TopQuarkAnalysis
Examples
plugins
TopGenEventAnalyzer.h
Go to the documentation of this file.
1
#ifndef TopGenEventAnalyzer_h
2
#define TopGenEventAnalyzer_h
3
4
#include "TH1.h"
5
6
#include "
FWCore/Framework/interface/Event.h
"
7
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
8
#include "
FWCore/Utilities/interface/InputTag.h
"
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
#include "
FWCore/ServiceRegistry/interface/Service.h
"
11
#include "
CommonTools/UtilAlgos/interface/TFileService.h
"
12
13
#include "
AnalysisDataFormats/TopObjects/interface/TtGenEvent.h
"
14
15
16
class
TopGenEventAnalyzer
:
public
edm::EDAnalyzer
{
17
18
public
:
19
20
explicit
TopGenEventAnalyzer
(
const
edm::ParameterSet
&);
21
~TopGenEventAnalyzer
()
override
;
22
23
private
:
24
25
void
beginJob
()
override
;
26
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
27
void
endJob
()
override
;
28
29
edm::EDGetTokenT<TtGenEvent>
inputGenEventToken_
;
30
31
TH1F *
nLep_
;
32
TH1F *
topPt_
;
33
TH1F *
topEta_
;
34
TH1F *
topPhi_
;
35
TH1F *
topBarPt_
;
36
TH1F *
topBarEta_
;
37
TH1F *
topBarPhi_
;
38
TH1F *
ttbarPt_
;
39
TH1F *
ttbarEta_
;
40
TH1F *
ttbarPhi_
;
41
TH1F *
prodChan_
;
42
};
43
44
#endif
TopGenEventAnalyzer::TopGenEventAnalyzer
TopGenEventAnalyzer(const edm::ParameterSet &)
Definition:
TopGenEventAnalyzer.cc:3
TopGenEventAnalyzer::prodChan_
TH1F * prodChan_
Definition:
TopGenEventAnalyzer.h:41
TopGenEventAnalyzer::topPhi_
TH1F * topPhi_
Definition:
TopGenEventAnalyzer.h:34
TopGenEventAnalyzer::ttbarPt_
TH1F * ttbarPt_
Definition:
TopGenEventAnalyzer.h:38
Event.h
TtGenEvent.h
TopGenEventAnalyzer::ttbarPhi_
TH1F * ttbarPhi_
Definition:
TopGenEventAnalyzer.h:40
edm::EDGetTokenT< TtGenEvent >
TopGenEventAnalyzer
Definition:
TopGenEventAnalyzer.h:16
TFileService.h
ParameterSet.h
TopGenEventAnalyzer::topBarPt_
TH1F * topBarPt_
Definition:
TopGenEventAnalyzer.h:35
TopGenEventAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TopGenEventAnalyzer.cc:28
Service.h
edm::EventSetup
Definition:
EventSetup.h:57
TopGenEventAnalyzer::topPt_
TH1F * topPt_
Definition:
TopGenEventAnalyzer.h:32
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
TopGenEventAnalyzer::beginJob
void beginJob() override
Definition:
TopGenEventAnalyzer.cc:60
TopGenEventAnalyzer::topEta_
TH1F * topEta_
Definition:
TopGenEventAnalyzer.h:33
TopGenEventAnalyzer::nLep_
TH1F * nLep_
Definition:
TopGenEventAnalyzer.h:31
TopGenEventAnalyzer::inputGenEventToken_
edm::EDGetTokenT< TtGenEvent > inputGenEventToken_
Definition:
TopGenEventAnalyzer.h:29
TopGenEventAnalyzer::topBarPhi_
TH1F * topBarPhi_
Definition:
TopGenEventAnalyzer.h:37
TopGenEventAnalyzer::ttbarEta_
TH1F * ttbarEta_
Definition:
TopGenEventAnalyzer.h:39
TopGenEventAnalyzer::~TopGenEventAnalyzer
~TopGenEventAnalyzer() override
Definition:
TopGenEventAnalyzer.cc:23
InputTag.h
TopGenEventAnalyzer::endJob
void endJob() override
Definition:
TopGenEventAnalyzer.cc:64
edm::ParameterSet
Definition:
ParameterSet.h:36
TopGenEventAnalyzer::topBarEta_
TH1F * topBarEta_
Definition:
TopGenEventAnalyzer.h:36
edm::Event
Definition:
Event.h:71
Generated for CMSSW Reference Manual by
1.8.11