Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
PatExamples
plugins
MuonAnalyzer.h
Go to the documentation of this file.
1
#ifndef TutorialAtDESY_MuonAnalyzer_H
2
#define TutorialAtDESY_MuonAnalyzer_H
3
10
// Base Class Headers
11
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
12
13
#include "
DataFormats/PatCandidates/interface/Muon.h
"
14
15
namespace
edm
{
16
class
ParameterSet
;
17
class
Event
;
18
class
EventSetup
;
19
}
20
21
class
TH1I;
22
class
TH1F;
23
class
TH2F;
24
25
class
ExampleMuonAnalyzer
:
public
edm::EDAnalyzer
{
26
public
:
28
ExampleMuonAnalyzer
(
const
edm::ParameterSet
&
pset
);
29
31
~
ExampleMuonAnalyzer
()
override
;
32
33
// Operations
34
35
void
analyze
(
const
edm::Event
&
event
,
const
edm::EventSetup
& eventSetup)
override
;
36
37
void
beginJob
()
override
;
38
void
endJob()
override
;
39
protected
:
40
41
private
:
42
edm::EDGetTokenT<pat::MuonCollection>
theMuonToken
;
43
44
// Histograms
45
TH1I *
hNMuons
;
46
TH1F *
hPtRec
;
47
TH2F *
hPtReso
;
48
TH1F *
hEHcal
;
49
50
TH1I *
hMuonType
;
51
TH1F *
hPtSTATKDiff
;
52
53
// ID
54
TH1F *
hMuCaloCompatibility
;
55
TH1F *
hMuSegCompatibility
;
56
TH1I *
hChamberMatched
;
57
TH1I *
hMuIdAlgo
;
58
59
// Isolation
60
TH1F *
hMuIso03SumPt
;
61
TH1F *
hMuIso03CaloComb
;
62
63
TH1F *
h4MuInvMass
;
64
65
};
66
#endif
67
ExampleMuonAnalyzer::hNMuons
TH1I * hNMuons
Definition:
MuonAnalyzer.h:45
ExampleMuonAnalyzer
Definition:
MuonAnalyzer.h:25
analyze
virtual example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
ParameterSet
Definition:
Functions.h:16
ExampleMuonAnalyzer::hMuonType
TH1I * hMuonType
Definition:
MuonAnalyzer.h:50
ExampleMuonAnalyzer::hChamberMatched
TH1I * hChamberMatched
Definition:
MuonAnalyzer.h:56
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
ExampleMuonAnalyzer::hMuSegCompatibility
TH1F * hMuSegCompatibility
Definition:
MuonAnalyzer.h:55
edm::EDGetTokenT< pat::MuonCollection >
bk::beginJob
void beginJob()
Definition:
Breakpoints.cc:15
ExampleMuonAnalyzer::hMuCaloCompatibility
TH1F * hMuCaloCompatibility
Definition:
MuonAnalyzer.h:54
EventSetup
ExampleMuonAnalyzer::hMuIso03SumPt
TH1F * hMuIso03SumPt
Definition:
MuonAnalyzer.h:60
ExampleMuonAnalyzer::hPtRec
TH1F * hPtRec
Definition:
MuonAnalyzer.h:46
ExampleMuonAnalyzer::hMuIso03CaloComb
TH1F * hMuIso03CaloComb
Definition:
MuonAnalyzer.h:61
edm::EventSetup
Definition:
EventSetup.h:48
ExampleMuonAnalyzer::h4MuInvMass
TH1F * h4MuInvMass
Definition:
MuonAnalyzer.h:63
ExampleMuonAnalyzer::hMuIdAlgo
TH1I * hMuIdAlgo
Definition:
MuonAnalyzer.h:57
ExampleMuonAnalyzer::hPtReso
TH2F * hPtReso
Definition:
MuonAnalyzer.h:47
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
EDAnalyzer.h
ExampleMuonAnalyzer::hEHcal
TH1F * hEHcal
Definition:
MuonAnalyzer.h:48
Event
Muon.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
ExampleMuonAnalyzer::theMuonToken
edm::EDGetTokenT< pat::MuonCollection > theMuonToken
Definition:
MuonAnalyzer.h:42
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:69
ExampleMuonAnalyzer::hPtSTATKDiff
TH1F * hPtSTATKDiff
Definition:
MuonAnalyzer.h:51
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.11