Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
21
22
private
:
23
24
virtual
void
beginJob
() ;
25
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
26
virtual
void
endJob
() ;
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::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
TopJetAnalyzer.cc:22
TopJetAnalyzer::verbose_
bool verbose_
Definition:
TopJetAnalyzer.h:29
TopJetAnalyzer::endJob
virtual void endJob()
Definition:
TopJetAnalyzer.cc:105
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::en_
TH1F * en_
Definition:
TopJetAnalyzer.h:32
Service.h
edm::EventSetup
Definition:
EventSetup.h:44
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
TopJetAnalyzer::~TopJetAnalyzer
~TopJetAnalyzer()
Definition:
TopJetAnalyzer.cc:17
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
TopJetAnalyzer::beginJob
virtual void beginJob()
Definition:
TopJetAnalyzer.cc:101
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:59
Generated for CMSSW Reference Manual by
1.8.5