1 import FWCore.ParameterSet.Config
as cms
5 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
6 TightMuonEfficiencyAnalyzer =
DQMEDAnalyzer(
'EfficiencyAnalyzer',
8 MuonCollection = cms.InputTag(
"muons"),
9 TrackCollection = cms.InputTag(
"generalTracks"),
10 VertexLabel = cms.InputTag(
"offlinePrimaryVertices"),
11 BeamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
13 doPrimaryVertexCheck = cms.bool(
True ),
15 ptBin = cms.int32(10),
16 ptMax = cms.double(100),
17 ptMin = cms.double(10),
19 etaBin = cms.int32(8),
20 etaMax = cms.double(2.5),
21 etaMin = cms.double(-2.5),
23 phiBin = cms.int32(8),
24 phiMax = cms.double(3.2),
25 phiMin = cms.double(-3.2),
27 vtxBin = cms.int32(10),
28 vtxMax = cms.double(40.5),
29 vtxMin = cms.double(0.5),
31 ID = cms.string(
"Tight"),
32 folder = cms.string(
"Muons/EfficiencyAnalyzer/")
34 TightMuonEfficiencyAnalyzer_miniAOD =
DQMEDAnalyzer(
'EfficiencyAnalyzer',
36 MuonCollection = cms.InputTag(
"slimmedMuons"),
37 TrackCollection = cms.InputTag(
"generalTracks"),
38 VertexLabel = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
39 BeamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
41 doPrimaryVertexCheck = cms.bool(
True ),
43 ptBin = cms.int32(10),
44 ptMax = cms.double(100),
45 ptMin = cms.double(10),
47 etaBin = cms.int32(8),
48 etaMax = cms.double(2.5),
49 etaMin = cms.double(-2.5),
51 phiBin = cms.int32(8),
52 phiMax = cms.double(3.2),
53 phiMin = cms.double(-3.2),
55 vtxBin = cms.int32(10),
56 vtxMax = cms.double(40.5),
57 vtxMin = cms.double(0.5),
59 ID = cms.string(
"Tight"),
60 folder = cms.string(
"Muons_miniAOD/EfficiencyAnalyzer/")
64 LooseMuonEfficiencyAnalyzer =
DQMEDAnalyzer(
'EfficiencyAnalyzer',
66 MuonCollection = cms.InputTag(
"muons"),
67 TrackCollection = cms.InputTag(
"generalTracks"),
68 VertexLabel = cms.InputTag(
"offlinePrimaryVertices"),
69 BeamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
71 doPrimaryVertexCheck = cms.bool(
True ),
73 ptBin = cms.int32(10),
74 ptMax = cms.double(100),
75 ptMin = cms.double(10),
77 etaBin = cms.int32(8),
78 etaMax = cms.double(2.5),
79 etaMin = cms.double(-2.5),
81 phiBin = cms.int32(8),
82 phiMax = cms.double(3.2),
83 phiMin = cms.double(-3.2),
85 vtxBin = cms.int32(10),
86 vtxMax = cms.double(40.5),
87 vtxMin = cms.double(0.5),
89 ID = cms.string(
"Loose"),
90 folder = cms.string(
"Muons/EfficiencyAnalyzer/")
93 LooseMuonEfficiencyAnalyzer_miniAOD =
DQMEDAnalyzer(
'EfficiencyAnalyzer',
95 MuonCollection = cms.InputTag(
"slimmedMuons"),
96 TrackCollection = cms.InputTag(
"generalTracks"),
97 VertexLabel = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
98 BeamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
100 doPrimaryVertexCheck = cms.bool(
True ),
102 ptBin = cms.int32(10),
103 ptMax = cms.double(100),
104 ptMin = cms.double(10),
106 etaBin = cms.int32(8),
107 etaMax = cms.double(2.5),
108 etaMin = cms.double(-2.5),
110 phiBin = cms.int32(8),
111 phiMax = cms.double(3.2),
112 phiMin = cms.double(-3.2),
114 vtxBin = cms.int32(10),
115 vtxMax = cms.double(40.5),
116 vtxMin = cms.double(0.5),
118 ID = cms.string(
"Loose"),
119 folder = cms.string(
"Muons_miniAOD/EfficiencyAnalyzer/")
124 MediumMuonEfficiencyAnalyzer =
DQMEDAnalyzer(
'EfficiencyAnalyzer',
126 MuonCollection = cms.InputTag(
"muons"),
127 TrackCollection = cms.InputTag(
"generalTracks"),
128 VertexLabel = cms.InputTag(
"offlinePrimaryVertices"),
129 BeamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
131 doPrimaryVertexCheck = cms.bool(
True ),
133 ptBin = cms.int32(10),
134 ptMax = cms.double(100),
135 ptMin = cms.double(10),
137 etaBin = cms.int32(8),
138 etaMax = cms.double(2.5),
139 etaMin = cms.double(-2.5),
141 phiBin = cms.int32(8),
142 phiMax = cms.double(3.2),
143 phiMin = cms.double(-3.2),
145 vtxBin = cms.int32(10),
146 vtxMax = cms.double(40.5),
147 vtxMin = cms.double(0.5),
149 ID = cms.string(
"Medium"),
150 folder = cms.string(
"Muons/EfficiencyAnalyzer/")
152 MediumMuonEfficiencyAnalyzer_miniAOD =
DQMEDAnalyzer(
'EfficiencyAnalyzer',
154 MuonCollection = cms.InputTag(
"slimmedMuons"),
155 TrackCollection = cms.InputTag(
"generalTracks"),
156 VertexLabel = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
157 BeamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
159 doPrimaryVertexCheck = cms.bool(
True ),
161 ptBin = cms.int32(10),
162 ptMax = cms.double(100),
163 ptMin = cms.double(10),
165 etaBin = cms.int32(8),
166 etaMax = cms.double(2.5),
167 etaMin = cms.double(-2.5),
169 phiBin = cms.int32(8),
170 phiMax = cms.double(3.2),
171 phiMin = cms.double(-3.2),
173 vtxBin = cms.int32(10),
174 vtxMax = cms.double(40.5),
175 vtxMin = cms.double(0.5),
177 ID = cms.string(
"Medium"),
178 folder = cms.string(
"Muons_miniAOD/EfficiencyAnalyzer/")