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
public
:
17
explicit
TopMuonAnalyzer
(
const
edm::ParameterSet
&);
18
~TopMuonAnalyzer
()
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::Muon>
>
inputToken_
;
26
bool
verbose_
;
27
28
TH1F *
mult_
;
29
TH1F *
en_
;
30
TH1F *
pt_
;
31
TH1F *
eta_
;
32
TH1F *
phi_
;
33
};
34
35
#endif
TopMuonAnalyzer::endJob
void endJob() override
Definition:
TopMuonAnalyzer.cc:55
edm::EDGetTokenT
Definition:
EDGetToken.h:33
Muon.h
TopMuonAnalyzer::eta_
TH1F * eta_
Definition:
TopMuonAnalyzer.h:31
EDAnalyzer.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
Service.h
TopMuonAnalyzer
Definition:
TopMuonAnalyzer.h:15
TopMuonAnalyzer::mult_
TH1F * mult_
Definition:
TopMuonAnalyzer.h:28
TopMuonAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TopMuonAnalyzer.cc:18
TFileService.h
TopMuonAnalyzer::en_
TH1F * en_
Definition:
TopMuonAnalyzer.h:29
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
TopMuonAnalyzer::beginJob
void beginJob() override
Definition:
TopMuonAnalyzer.cc:53
TopMuonAnalyzer::TopMuonAnalyzer
TopMuonAnalyzer(const edm::ParameterSet &)
Definition:
TopMuonAnalyzer.cc:4
edm::EventSetup
Definition:
EventSetup.h:57
InputTag.h
TopMuonAnalyzer::~TopMuonAnalyzer
~TopMuonAnalyzer() override
Definition:
TopMuonAnalyzer.cc:16
TopMuonAnalyzer::phi_
TH1F * phi_
Definition:
TopMuonAnalyzer.h:32
TopMuonAnalyzer::pt_
TH1F * pt_
Definition:
TopMuonAnalyzer.h:30
TopMuonAnalyzer::inputToken_
edm::EDGetTokenT< std::vector< pat::Muon > > inputToken_
Definition:
TopMuonAnalyzer.h:25
ParameterSet.h
edm::Event
Definition:
Event.h:73
TopMuonAnalyzer::verbose_
bool verbose_
Definition:
TopMuonAnalyzer.h:26
Generated for CMSSW Reference Manual by
1.8.16