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