Main Page
Namespaces
Classes
Package Documentation
TopQuarkAnalysis
Examples
plugins
TopJetAnalyzer.h
Go to the documentation of this file.
1
#ifndef TopJetAnalyzer_h
2
#define TopJetAnalyzer_h
3
4
#include "TH1F.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 "
DataFormats/PatCandidates/interface/Jet.h
"
14
15
class
TopJetAnalyzer
:
public
edm::EDAnalyzer
{
16
17
public
:
18
19
explicit
TopJetAnalyzer
(
const
edm::ParameterSet
&);
20
~TopJetAnalyzer
()
override
;
21
22
private
:
23
24
void
beginJob
()
override
;
25
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
26
void
endJob
()
override
;
27
28
edm::EDGetTokenT<std::vector<pat::Jet>
>
inputToken_
;
29
bool
verbose_
;
30
31
TH1F *
mult_
;
32
TH1F *
en_
;
33
TH1F *
pt_
;
34
TH1F *
eta_
;
35
TH1F *
phi_
;
36
};
37
38
#endif
TopJetAnalyzer::~TopJetAnalyzer
~TopJetAnalyzer() override
Definition:
TopJetAnalyzer.cc:17
TopJetAnalyzer::verbose_
bool verbose_
Definition:
TopJetAnalyzer.h:29
TopJetAnalyzer::beginJob
void beginJob() override
Definition:
TopJetAnalyzer.cc:101
TopJetAnalyzer::mult_
TH1F * mult_
Definition:
TopJetAnalyzer.h:31
TopJetAnalyzer
Definition:
TopJetAnalyzer.h:15
Event.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
TFileService.h
ParameterSet.h
TopJetAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TopJetAnalyzer.cc:22
TopJetAnalyzer::endJob
void endJob() override
Definition:
TopJetAnalyzer.cc:105
TopJetAnalyzer::en_
TH1F * en_
Definition:
TopJetAnalyzer.h:32
Service.h
edm::EventSetup
Definition:
EventSetup.h:52
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
EDAnalyzer.h
TopJetAnalyzer::pt_
TH1F * pt_
Definition:
TopJetAnalyzer.h:33
TopJetAnalyzer::eta_
TH1F * eta_
Definition:
TopJetAnalyzer.h:34
TopJetAnalyzer::TopJetAnalyzer
TopJetAnalyzer(const edm::ParameterSet &)
Definition:
TopJetAnalyzer.cc:4
TopJetAnalyzer::inputToken_
edm::EDGetTokenT< std::vector< pat::Jet > > inputToken_
Definition:
TopJetAnalyzer.h:28
TopJetAnalyzer::phi_
TH1F * phi_
Definition:
TopJetAnalyzer.h:35
InputTag.h
Jet.h
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:70
Generated for CMSSW Reference Manual by
1.8.11