Main Page
Namespaces
Classes
Package Documentation
TopQuarkAnalysis
Examples
plugins
TopMuonAnalyzer.h
Go to the documentation of this file.
1
#ifndef TopMuonAnalyzer_h
2
#define TopMuonAnalyzer_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/Muon.h
"
14
15
class
TopMuonAnalyzer
:
public
edm::EDAnalyzer
{
16
17
public
:
18
19
explicit
TopMuonAnalyzer
(
const
edm::ParameterSet
&);
20
~TopMuonAnalyzer
()
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::Muon>
>
inputToken_
;
29
bool
verbose_
;
30
31
TH1F *
mult_
;
32
TH1F *
en_
;
33
TH1F *
pt_
;
34
TH1F *
eta_
;
35
TH1F *
phi_
;
36
};
37
38
#endif
TopMuonAnalyzer::en_
TH1F * en_
Definition:
TopMuonAnalyzer.h:32
Event.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
TopMuonAnalyzer::~TopMuonAnalyzer
~TopMuonAnalyzer() override
Definition:
TopMuonAnalyzer.cc:19
TFileService.h
TopMuonAnalyzer::phi_
TH1F * phi_
Definition:
TopMuonAnalyzer.h:35
TopMuonAnalyzer
Definition:
TopMuonAnalyzer.h:15
ParameterSet.h
TopMuonAnalyzer::inputToken_
edm::EDGetTokenT< std::vector< pat::Muon > > inputToken_
Definition:
TopMuonAnalyzer.h:28
TopMuonAnalyzer::mult_
TH1F * mult_
Definition:
TopMuonAnalyzer.h:31
TopMuonAnalyzer::beginJob
void beginJob() override
Definition:
TopMuonAnalyzer.cc:71
TopMuonAnalyzer::pt_
TH1F * pt_
Definition:
TopMuonAnalyzer.h:33
Service.h
edm::EventSetup
Definition:
EventSetup.h:54
TopMuonAnalyzer::endJob
void endJob() override
Definition:
TopMuonAnalyzer.cc:75
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
EDAnalyzer.h
TopMuonAnalyzer::eta_
TH1F * eta_
Definition:
TopMuonAnalyzer.h:34
Muon.h
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:70
TopMuonAnalyzer::TopMuonAnalyzer
TopMuonAnalyzer(const edm::ParameterSet &)
Definition:
TopMuonAnalyzer.cc:5
TopMuonAnalyzer::verbose_
bool verbose_
Definition:
TopMuonAnalyzer.h:29
TopMuonAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TopMuonAnalyzer.cc:24
Generated for CMSSW Reference Manual by
1.8.11