Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
();
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::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::~TopElecAnalyzer
~TopElecAnalyzer()
Definition:
TopElecAnalyzer.cc:16
TopElecAnalyzer::pt_
TH1F * pt_
Definition:
TopElecAnalyzer.h:33
TopElecAnalyzer::beginJob
virtual void beginJob()
Definition:
TopElecAnalyzer.cc:64
TopElecAnalyzer::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
TopElecAnalyzer.cc:21
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::inputToken_
edm::EDGetTokenT< std::vector< pat::Electron > > inputToken_
Definition:
TopElecAnalyzer.h:28
edm::EventSetup
Definition:
EventSetup.h:44
Electron.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:22
EDAnalyzer.h
TopElecAnalyzer::en_
TH1F * en_
Definition:
TopElecAnalyzer.h:32
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
TopElecAnalyzer::mult_
TH1F * mult_
Definition:
TopElecAnalyzer.h:31
TopElecAnalyzer::endJob
virtual void endJob()
Definition:
TopElecAnalyzer.cc:68
TopElecAnalyzer
Definition:
TopElecAnalyzer.h:15
edm::Event
Definition:
Event.h:62
TopElecAnalyzer::phi_
TH1F * phi_
Definition:
TopElecAnalyzer.h:35
TopElecAnalyzer::eta_
TH1F * eta_
Definition:
TopElecAnalyzer.h:34
Generated for CMSSW Reference Manual by
1.8.5