test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
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::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
TopMuonAnalyzer::beginJob
virtual void beginJob()
Definition:
TopMuonAnalyzer.cc:71
Event.h
TopMuonAnalyzer::~TopMuonAnalyzer
~TopMuonAnalyzer()
Definition:
TopMuonAnalyzer.cc:19
edm::EDGetTokenT
Definition:
EDGetToken.h:32
TopMuonAnalyzer::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
TopMuonAnalyzer.cc:24
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::pt_
TH1F * pt_
Definition:
TopMuonAnalyzer.h:33
Service.h
edm::EventSetup
Definition:
EventSetup.h:45
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
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:65
TopMuonAnalyzer::TopMuonAnalyzer
TopMuonAnalyzer(const edm::ParameterSet &)
Definition:
TopMuonAnalyzer.cc:5
TopMuonAnalyzer::verbose_
bool verbose_
Definition:
TopMuonAnalyzer.h:29
TopMuonAnalyzer::endJob
virtual void endJob()
Definition:
TopMuonAnalyzer.cc:75
Generated for CMSSW Reference Manual by
1.8.5