1 import FWCore.ParameterSet.Config
as cms
5 TightMuonEfficiencyAnalyzer = cms.EDAnalyzer(
"EfficiencyAnalyzer",
7 MuonCollection = cms.InputTag(
"muons"),
8 TrackCollection = cms.InputTag(
"generalTracks"),
9 VertexLabel = cms.InputTag(
"offlinePrimaryVertices"),
10 BeamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
12 doPrimaryVertexCheck = cms.bool(
True ),
14 ptBin = cms.int32(10),
15 ptMax = cms.double(100),
16 ptMin = cms.double(10),
18 etaBin = cms.int32(8),
19 etaMax = cms.double(2.5),
20 etaMin = cms.double(-2.5),
22 phiBin = cms.int32(8),
23 phiMax = cms.double(3.2),
24 phiMin = cms.double(-3.2),
26 vtxBin = cms.int32(10),
27 vtxMax = cms.double(40.5),
28 vtxMin = cms.double(0.5),
30 ID = cms.string(
"Tight"),
31 folder = cms.string(
"Muons/EfficiencyAnalyzer/")
33 TightMuonEfficiencyAnalyzer_miniAOD = cms.EDAnalyzer(
"EfficiencyAnalyzer",
35 MuonCollection = cms.InputTag(
"slimmedMuons"),
36 TrackCollection = cms.InputTag(
"generalTracks"),
37 VertexLabel = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
38 BeamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
40 doPrimaryVertexCheck = cms.bool(
True ),
42 ptBin = cms.int32(10),
43 ptMax = cms.double(100),
44 ptMin = cms.double(10),
46 etaBin = cms.int32(8),
47 etaMax = cms.double(2.5),
48 etaMin = cms.double(-2.5),
50 phiBin = cms.int32(8),
51 phiMax = cms.double(3.2),
52 phiMin = cms.double(-3.2),
54 vtxBin = cms.int32(10),
55 vtxMax = cms.double(40.5),
56 vtxMin = cms.double(0.5),
58 ID = cms.string(
"Tight"),
59 folder = cms.string(
"Muons_miniAOD/EfficiencyAnalyzer/")
63 LooseMuonEfficiencyAnalyzer = cms.EDAnalyzer(
"EfficiencyAnalyzer",
65 MuonCollection = cms.InputTag(
"muons"),
66 TrackCollection = cms.InputTag(
"generalTracks"),
67 VertexLabel = cms.InputTag(
"offlinePrimaryVertices"),
68 BeamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
70 doPrimaryVertexCheck = cms.bool(
True ),
72 ptBin = cms.int32(10),
73 ptMax = cms.double(100),
74 ptMin = cms.double(10),
76 etaBin = cms.int32(8),
77 etaMax = cms.double(2.5),
78 etaMin = cms.double(-2.5),
80 phiBin = cms.int32(8),
81 phiMax = cms.double(3.2),
82 phiMin = cms.double(-3.2),
84 vtxBin = cms.int32(10),
85 vtxMax = cms.double(40.5),
86 vtxMin = cms.double(0.5),
88 ID = cms.string(
"Loose"),
89 folder = cms.string(
"Muons/EfficiencyAnalyzer/")
92 LooseMuonEfficiencyAnalyzer_miniAOD = cms.EDAnalyzer(
"EfficiencyAnalyzer",
94 MuonCollection = cms.InputTag(
"slimmedMuons"),
95 TrackCollection = cms.InputTag(
"generalTracks"),
96 VertexLabel = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
97 BeamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
99 doPrimaryVertexCheck = cms.bool(
True ),
101 ptBin = cms.int32(10),
102 ptMax = cms.double(100),
103 ptMin = cms.double(10),
105 etaBin = cms.int32(8),
106 etaMax = cms.double(2.5),
107 etaMin = cms.double(-2.5),
109 phiBin = cms.int32(8),
110 phiMax = cms.double(3.2),
111 phiMin = cms.double(-3.2),
113 vtxBin = cms.int32(10),
114 vtxMax = cms.double(40.5),
115 vtxMin = cms.double(0.5),
117 ID = cms.string(
"Loose"),
118 folder = cms.string(
"Muons_miniAOD/EfficiencyAnalyzer/")
123 MediumMuonEfficiencyAnalyzer = cms.EDAnalyzer(
"EfficiencyAnalyzer",
125 MuonCollection = cms.InputTag(
"muons"),
126 TrackCollection = cms.InputTag(
"generalTracks"),
127 VertexLabel = cms.InputTag(
"offlinePrimaryVertices"),
128 BeamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
130 doPrimaryVertexCheck = cms.bool(
True ),
132 ptBin = cms.int32(10),
133 ptMax = cms.double(100),
134 ptMin = cms.double(10),
136 etaBin = cms.int32(8),
137 etaMax = cms.double(2.5),
138 etaMin = cms.double(-2.5),
140 phiBin = cms.int32(8),
141 phiMax = cms.double(3.2),
142 phiMin = cms.double(-3.2),
144 vtxBin = cms.int32(10),
145 vtxMax = cms.double(40.5),
146 vtxMin = cms.double(0.5),
148 ID = cms.string(
"Medium"),
149 folder = cms.string(
"Muons/EfficiencyAnalyzer/")
151 MediumMuonEfficiencyAnalyzer_miniAOD = cms.EDAnalyzer(
"EfficiencyAnalyzer",
153 MuonCollection = cms.InputTag(
"slimmedMuons"),
154 TrackCollection = cms.InputTag(
"generalTracks"),
155 VertexLabel = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
156 BeamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
158 doPrimaryVertexCheck = cms.bool(
True ),
160 ptBin = cms.int32(10),
161 ptMax = cms.double(100),
162 ptMin = cms.double(10),
164 etaBin = cms.int32(8),
165 etaMax = cms.double(2.5),
166 etaMin = cms.double(-2.5),
168 phiBin = cms.int32(8),
169 phiMax = cms.double(3.2),
170 phiMin = cms.double(-3.2),
172 vtxBin = cms.int32(10),
173 vtxMax = cms.double(40.5),
174 vtxMin = cms.double(0.5),
176 ID = cms.string(
"Medium"),
177 folder = cms.string(
"Muons_miniAOD/EfficiencyAnalyzer/")