Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
22
23
private
:
24
25
virtual
void
beginJob
() ;
26
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
27
virtual
void
endJob
() ;
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
TopGenEventAnalyzer::beginJob
virtual void beginJob()
Definition:
TopGenEventAnalyzer.cc:60
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
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
TopGenEventAnalyzer.cc:28
Service.h
edm::EventSetup
Definition:
EventSetup.h:45
TopGenEventAnalyzer::topPt_
TH1F * topPt_
Definition:
TopGenEventAnalyzer.h:32
TopGenEventAnalyzer::endJob
virtual void endJob()
Definition:
TopGenEventAnalyzer.cc:64
TopGenEventAnalyzer::~TopGenEventAnalyzer
~TopGenEventAnalyzer()
Definition:
TopGenEventAnalyzer.cc:23
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
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
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
TopGenEventAnalyzer::topBarEta_
TH1F * topBarEta_
Definition:
TopGenEventAnalyzer.h:36
edm::Event
Definition:
Event.h:65
Generated for CMSSW Reference Manual by
1.8.5