Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
TopQuarkAnalysis
Examples
plugins
TopTauAnalyzer.h
Go to the documentation of this file.
1
#ifndef TopTauAnalyzer_h
2
#define TopTauAnalyzer_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/Tau.h
"
14
15
class
TopTauAnalyzer
:
public
edm::EDAnalyzer
{
16
17
public
:
18
19
explicit
TopTauAnalyzer
(
const
edm::ParameterSet
&);
20
~TopTauAnalyzer
();
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::Tau>
>
inputToken_
;
29
30
TH1F *
mult_
;
31
TH1F *
en_
;
32
TH1F *
pt_
;
33
TH1F *
eta_
;
34
TH1F *
phi_
;
35
};
36
37
#endif
TopTauAnalyzer
Definition:
TopTauAnalyzer.h:15
Event.h
TopTauAnalyzer::pt_
TH1F * pt_
Definition:
TopTauAnalyzer.h:32
edm::EDGetTokenT
Definition:
EDGetToken.h:32
TFileService.h
ParameterSet.h
TopTauAnalyzer::en_
TH1F * en_
Definition:
TopTauAnalyzer.h:31
TopTauAnalyzer::endJob
virtual void endJob()
Definition:
TopTauAnalyzer.cc:41
TopTauAnalyzer::phi_
TH1F * phi_
Definition:
TopTauAnalyzer.h:34
Service.h
Tau.h
edm::EventSetup
Definition:
EventSetup.h:44
TopTauAnalyzer::inputToken_
edm::EDGetTokenT< std::vector< pat::Tau > > inputToken_
Definition:
TopTauAnalyzer.h:28
TopTauAnalyzer::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
TopTauAnalyzer.cc:21
TopTauAnalyzer::eta_
TH1F * eta_
Definition:
TopTauAnalyzer.h:33
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
TopTauAnalyzer::TopTauAnalyzer
TopTauAnalyzer(const edm::ParameterSet &)
Definition:
TopTauAnalyzer.cc:4
InputTag.h
TopTauAnalyzer::mult_
TH1F * mult_
Definition:
TopTauAnalyzer.h:30
edm::ParameterSet
Definition:
ParameterSet.h:35
TopTauAnalyzer::beginJob
virtual void beginJob()
Definition:
TopTauAnalyzer.cc:37
edm::Event
Definition:
Event.h:59
TopTauAnalyzer::~TopTauAnalyzer
~TopTauAnalyzer()
Definition:
TopTauAnalyzer.cc:16
Generated for CMSSW Reference Manual by
1.8.5