Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
14
class
TopGenEventAnalyzer
:
public
edm::EDAnalyzer
{
15
16
public
:
17
18
explicit
TopGenEventAnalyzer
(
const
edm::ParameterSet
&);
19
~TopGenEventAnalyzer
();
20
21
private
:
22
23
virtual
void
beginJob
() ;
24
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
25
virtual
void
endJob
() ;
26
27
edm::InputTag
inputGenEvent_
;
28
29
TH1F *
nLep_
;
30
TH1F *
topPt_
;
31
TH1F *
topEta_
;
32
TH1F *
topPhi_
;
33
TH1F *
topBarPt_
;
34
TH1F *
topBarEta_
;
35
TH1F *
topBarPhi_
;
36
TH1F *
ttbarPt_
;
37
TH1F *
ttbarEta_
;
38
TH1F *
ttbarPhi_
;
39
TH1F *
prodChan_
;
40
};
41
42
#endif
TopGenEventAnalyzer::TopGenEventAnalyzer
TopGenEventAnalyzer(const edm::ParameterSet &)
Definition:
TopGenEventAnalyzer.cc:4
TopGenEventAnalyzer::prodChan_
TH1F * prodChan_
Definition:
TopGenEventAnalyzer.h:39
TopGenEventAnalyzer::topPhi_
TH1F * topPhi_
Definition:
TopGenEventAnalyzer.h:32
TopGenEventAnalyzer::ttbarPt_
TH1F * ttbarPt_
Definition:
TopGenEventAnalyzer.h:36
Event.h
TopGenEventAnalyzer::inputGenEvent_
edm::InputTag inputGenEvent_
Definition:
TopGenEventAnalyzer.h:27
TopGenEventAnalyzer::beginJob
virtual void beginJob()
Definition:
TopGenEventAnalyzer.cc:61
TopGenEventAnalyzer::ttbarPhi_
TH1F * ttbarPhi_
Definition:
TopGenEventAnalyzer.h:38
TopGenEventAnalyzer
Definition:
TopGenEventAnalyzer.h:14
TFileService.h
ParameterSet.h
TopGenEventAnalyzer::topBarPt_
TH1F * topBarPt_
Definition:
TopGenEventAnalyzer.h:33
TopGenEventAnalyzer::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
TopGenEventAnalyzer.cc:29
Service.h
edm::EventSetup
Definition:
EventSetup.h:44
TopGenEventAnalyzer::topPt_
TH1F * topPt_
Definition:
TopGenEventAnalyzer.h:30
TopGenEventAnalyzer::endJob
virtual void endJob()
Definition:
TopGenEventAnalyzer.cc:65
TopGenEventAnalyzer::~TopGenEventAnalyzer
~TopGenEventAnalyzer()
Definition:
TopGenEventAnalyzer.cc:24
edm::EDAnalyzer
Definition:
EDAnalyzer.h:15
EDAnalyzer.h
TopGenEventAnalyzer::topEta_
TH1F * topEta_
Definition:
TopGenEventAnalyzer.h:31
TopGenEventAnalyzer::nLep_
TH1F * nLep_
Definition:
TopGenEventAnalyzer.h:29
TopGenEventAnalyzer::topBarPhi_
TH1F * topBarPhi_
Definition:
TopGenEventAnalyzer.h:35
TopGenEventAnalyzer::ttbarEta_
TH1F * ttbarEta_
Definition:
TopGenEventAnalyzer.h:37
edm::InputTag
Definition:
InputTag.h:17
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
TopGenEventAnalyzer::topBarEta_
TH1F * topBarEta_
Definition:
TopGenEventAnalyzer.h:34
edm::Event
Definition:
Event.h:56
Generated for CMSSW Reference Manual by
1.8.5