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
public
:
17
explicit
TopJetAnalyzer
(
const
edm::ParameterSet
&);
18
~TopJetAnalyzer
()
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<std::vector<pat::Jet>
>
inputToken_
;
26
bool
verbose_
;
27
28
TH1F *
mult_
;
29
TH1F *
en_
;
30
TH1F *
pt_
;
31
TH1F *
eta_
;
32
TH1F *
phi_
;
33
};
34
35
#endif
TopJetAnalyzer::pt_
TH1F * pt_
Definition:
TopJetAnalyzer.h:30
edm::EDGetTokenT
Definition:
EDGetToken.h:33
EDAnalyzer.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
TopJetAnalyzer::TopJetAnalyzer
TopJetAnalyzer(const edm::ParameterSet &)
Definition:
TopJetAnalyzer.cc:3
TopJetAnalyzer::phi_
TH1F * phi_
Definition:
TopJetAnalyzer.h:32
TopJetAnalyzer::verbose_
bool verbose_
Definition:
TopJetAnalyzer.h:26
Service.h
TopJetAnalyzer::eta_
TH1F * eta_
Definition:
TopJetAnalyzer.h:31
TFileService.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
TopJetAnalyzer
Definition:
TopJetAnalyzer.h:15
edm::EventSetup
Definition:
EventSetup.h:57
Jet.h
TopJetAnalyzer::beginJob
void beginJob() override
Definition:
TopJetAnalyzer.cc:78
InputTag.h
TopJetAnalyzer::~TopJetAnalyzer
~TopJetAnalyzer() override
Definition:
TopJetAnalyzer.cc:15
TopJetAnalyzer::endJob
void endJob() override
Definition:
TopJetAnalyzer.cc:80
ParameterSet.h
edm::Event
Definition:
Event.h:73
TopJetAnalyzer::en_
TH1F * en_
Definition:
TopJetAnalyzer.h:29
TopJetAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TopJetAnalyzer.cc:17
TopJetAnalyzer::inputToken_
edm::EDGetTokenT< std::vector< pat::Jet > > inputToken_
Definition:
TopJetAnalyzer.h:25
TopJetAnalyzer::mult_
TH1F * mult_
Definition:
TopJetAnalyzer.h:28
Generated for CMSSW Reference Manual by
1.8.16