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
class
TopElecAnalyzer
:
public
edm::EDAnalyzer
{
14
15
public
:
16
17
explicit
TopElecAnalyzer
(
const
edm::ParameterSet
&);
18
~TopElecAnalyzer
();
19
20
private
:
21
22
virtual
void
beginJob
() ;
23
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
24
virtual
void
endJob
() ;
25
26
edm::InputTag
input_
;
27
bool
verbose_
;
28
29
TH1F *
mult_
;
30
TH1F *
en_
;
31
TH1F *
pt_
;
32
TH1F *
eta_
;
33
TH1F *
phi_
;
34
35
};
36
37
#endif
TopElecAnalyzer::~TopElecAnalyzer
~TopElecAnalyzer()
Definition:
TopElecAnalyzer.cc:17
TopElecAnalyzer::pt_
TH1F * pt_
Definition:
TopElecAnalyzer.h:31
TopElecAnalyzer::input_
edm::InputTag input_
Definition:
TopElecAnalyzer.h:26
TopElecAnalyzer::beginJob
virtual void beginJob()
Definition:
TopElecAnalyzer.cc:65
TopElecAnalyzer::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
TopElecAnalyzer.cc:22
Event.h
TopElecAnalyzer::TopElecAnalyzer
TopElecAnalyzer(const edm::ParameterSet &)
Definition:
TopElecAnalyzer.cc:4
TFileService.h
TopElecAnalyzer::verbose_
bool verbose_
Definition:
TopElecAnalyzer.h:27
ParameterSet.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:44
edm::EDAnalyzer
Definition:
EDAnalyzer.h:15
EDAnalyzer.h
TopElecAnalyzer::en_
TH1F * en_
Definition:
TopElecAnalyzer.h:30
edm::InputTag
Definition:
InputTag.h:17
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
TopElecAnalyzer::mult_
TH1F * mult_
Definition:
TopElecAnalyzer.h:29
TopElecAnalyzer::endJob
virtual void endJob()
Definition:
TopElecAnalyzer.cc:69
TopElecAnalyzer
Definition:
TopElecAnalyzer.h:13
edm::Event
Definition:
Event.h:56
TopElecAnalyzer::phi_
TH1F * phi_
Definition:
TopElecAnalyzer.h:33
TopElecAnalyzer::eta_
TH1F * eta_
Definition:
TopElecAnalyzer.h:32
Generated for CMSSW Reference Manual by
1.8.5