Main Page
Namespaces
Classes
Package Documentation
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
class
TopGenEventAnalyzer
:
public
edm::EDAnalyzer
{
16
public
:
17
explicit
TopGenEventAnalyzer
(
const
edm::ParameterSet
&);
18
~TopGenEventAnalyzer
()
override
;
19
20
private
:
21
void
beginJob
()
override
;
22
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
23
void
endJob
()
override
;
24
25
edm::EDGetTokenT<TtGenEvent>
inputGenEventToken_
;
26
27
TH1F *
nLep_
;
28
TH1F *
topPt_
;
29
TH1F *
topEta_
;
30
TH1F *
topPhi_
;
31
TH1F *
topBarPt_
;
32
TH1F *
topBarEta_
;
33
TH1F *
topBarPhi_
;
34
TH1F *
ttbarPt_
;
35
TH1F *
ttbarEta_
;
36
TH1F *
ttbarPhi_
;
37
TH1F *
prodChan_
;
38
};
39
40
#endif
TopGenEventAnalyzer::TopGenEventAnalyzer
TopGenEventAnalyzer(const edm::ParameterSet &)
Definition:
TopGenEventAnalyzer.cc:3
TopGenEventAnalyzer::prodChan_
TH1F * prodChan_
Definition:
TopGenEventAnalyzer.h:37
TopGenEventAnalyzer::topPhi_
TH1F * topPhi_
Definition:
TopGenEventAnalyzer.h:30
TopGenEventAnalyzer::ttbarPt_
TH1F * ttbarPt_
Definition:
TopGenEventAnalyzer.h:34
Event.h
TtGenEvent.h
TopGenEventAnalyzer::ttbarPhi_
TH1F * ttbarPhi_
Definition:
TopGenEventAnalyzer.h:36
edm::EDGetTokenT< TtGenEvent >
TopGenEventAnalyzer
Definition:
TopGenEventAnalyzer.h:15
TFileService.h
ParameterSet.h
TopGenEventAnalyzer::topBarPt_
TH1F * topBarPt_
Definition:
TopGenEventAnalyzer.h:31
TopGenEventAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TopGenEventAnalyzer.cc:24
Service.h
edm::EventSetup
Definition:
EventSetup.h:57
TopGenEventAnalyzer::topPt_
TH1F * topPt_
Definition:
TopGenEventAnalyzer.h:28
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
TopGenEventAnalyzer::beginJob
void beginJob() override
Definition:
TopGenEventAnalyzer.cc:55
TopGenEventAnalyzer::topEta_
TH1F * topEta_
Definition:
TopGenEventAnalyzer.h:29
TopGenEventAnalyzer::nLep_
TH1F * nLep_
Definition:
TopGenEventAnalyzer.h:27
TopGenEventAnalyzer::inputGenEventToken_
edm::EDGetTokenT< TtGenEvent > inputGenEventToken_
Definition:
TopGenEventAnalyzer.h:25
TopGenEventAnalyzer::topBarPhi_
TH1F * topBarPhi_
Definition:
TopGenEventAnalyzer.h:33
TopGenEventAnalyzer::ttbarEta_
TH1F * ttbarEta_
Definition:
TopGenEventAnalyzer.h:35
TopGenEventAnalyzer::~TopGenEventAnalyzer
~TopGenEventAnalyzer() override
Definition:
TopGenEventAnalyzer.cc:22
InputTag.h
TopGenEventAnalyzer::endJob
void endJob() override
Definition:
TopGenEventAnalyzer.cc:57
edm::ParameterSet
Definition:
ParameterSet.h:36
TopGenEventAnalyzer::topBarEta_
TH1F * topBarEta_
Definition:
TopGenEventAnalyzer.h:32
edm::Event
Definition:
Event.h:72
Generated for CMSSW Reference Manual by
1.8.11