Main Page
Namespaces
Classes
Package Documentation
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
()
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::Tau>
>
inputToken_
;
29
30
TH1F *
mult_
;
31
TH1F *
en_
;
32
TH1F *
pt_
;
33
TH1F *
eta_
;
34
TH1F *
phi_
;
35
};
36
37
#endif
TopTauAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TopTauAnalyzer.cc:21
TopTauAnalyzer
Definition:
TopTauAnalyzer.h:15
Event.h
TopTauAnalyzer::pt_
TH1F * pt_
Definition:
TopTauAnalyzer.h:32
edm::EDGetTokenT
Definition:
EDGetToken.h:33
TFileService.h
ParameterSet.h
TopTauAnalyzer::en_
TH1F * en_
Definition:
TopTauAnalyzer.h:31
TopTauAnalyzer::phi_
TH1F * phi_
Definition:
TopTauAnalyzer.h:34
Service.h
Tau.h
edm::EventSetup
Definition:
EventSetup.h:57
TopTauAnalyzer::inputToken_
edm::EDGetTokenT< std::vector< pat::Tau > > inputToken_
Definition:
TopTauAnalyzer.h:28
TopTauAnalyzer::eta_
TH1F * eta_
Definition:
TopTauAnalyzer.h:33
TopTauAnalyzer::beginJob
void beginJob() override
Definition:
TopTauAnalyzer.cc:37
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
TopTauAnalyzer::endJob
void endJob() override
Definition:
TopTauAnalyzer.cc:41
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:36
edm::Event
Definition:
Event.h:71
TopTauAnalyzer::~TopTauAnalyzer
~TopTauAnalyzer() override
Definition:
TopTauAnalyzer.cc:16
Generated for CMSSW Reference Manual by
1.8.11