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
public
:
17
explicit
TopTauAnalyzer
(
const
edm::ParameterSet
&);
18
~TopTauAnalyzer
()
override
;
19
20
private
:
21
void
beginJob
()
override
;
22
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
23
void
endJob
()
override
;
24
25
edm::EDGetTokenT<std::vector<pat::Tau>
>
inputToken_
;
26
27
TH1F *
mult_
;
28
TH1F *
en_
;
29
TH1F *
pt_
;
30
TH1F *
eta_
;
31
TH1F *
phi_
;
32
};
33
34
#endif
TopTauAnalyzer::en_
TH1F * en_
Definition:
TopTauAnalyzer.h:28
edm::EDGetTokenT
Definition:
EDGetToken.h:33
TopTauAnalyzer::TopTauAnalyzer
TopTauAnalyzer(const edm::ParameterSet &)
Definition:
TopTauAnalyzer.cc:3
TopTauAnalyzer::phi_
TH1F * phi_
Definition:
TopTauAnalyzer.h:31
EDAnalyzer.h
Tau.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
Service.h
TopTauAnalyzer::beginJob
void beginJob() override
Definition:
TopTauAnalyzer.cc:31
TopTauAnalyzer::mult_
TH1F * mult_
Definition:
TopTauAnalyzer.h:27
TFileService.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
TopTauAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TopTauAnalyzer.cc:16
TopTauAnalyzer::pt_
TH1F * pt_
Definition:
TopTauAnalyzer.h:29
TopTauAnalyzer::eta_
TH1F * eta_
Definition:
TopTauAnalyzer.h:30
TopTauAnalyzer
Definition:
TopTauAnalyzer.h:15
edm::EventSetup
Definition:
EventSetup.h:57
InputTag.h
TopTauAnalyzer::inputToken_
edm::EDGetTokenT< std::vector< pat::Tau > > inputToken_
Definition:
TopTauAnalyzer.h:25
TopTauAnalyzer::~TopTauAnalyzer
~TopTauAnalyzer() override
Definition:
TopTauAnalyzer.cc:14
ParameterSet.h
edm::Event
Definition:
Event.h:73
TopTauAnalyzer::endJob
void endJob() override
Definition:
TopTauAnalyzer.cc:33
Generated for CMSSW Reference Manual by
1.8.16