CMS 3D CMS Logo

muonEfficiencyAnalyzer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
6 TightMuonEfficiencyAnalyzer = DQMEDAnalyzer('EfficiencyAnalyzer',
7  MuonServiceProxy,
8  MuonCollection = cms.InputTag("muons"),
9  TrackCollection = cms.InputTag("generalTracks"),
10  VertexLabel = cms.InputTag("offlinePrimaryVertices"),
11  BeamSpotLabel = cms.InputTag("offlineBeamSpot"),
12 
13  doPrimaryVertexCheck = cms.bool( True ),
14 
15  ptBin = cms.int32(10),
16  ptMax = cms.double(100),
17  ptMin = cms.double(10),
18 
19  etaBin = cms.int32(8),
20  etaMax = cms.double(2.5),
21  etaMin = cms.double(-2.5),
22 
23  phiBin = cms.int32(8),
24  phiMax = cms.double(3.2),
25  phiMin = cms.double(-3.2),
26 
27  vtxBin = cms.int32(10),
28  vtxMax = cms.double(40.5),
29  vtxMin = cms.double(0.5),
30 
31  ID = cms.string("Tight"),
32  folder = cms.string("Muons/EfficiencyAnalyzer/")
33  )
34 TightMuonEfficiencyAnalyzer_miniAOD = DQMEDAnalyzer('EfficiencyAnalyzer',
35  MuonServiceProxy,
36  MuonCollection = cms.InputTag("slimmedMuons"),
37  TrackCollection = cms.InputTag("generalTracks"),
38  VertexLabel = cms.InputTag("offlineSlimmedPrimaryVertices"),
39  BeamSpotLabel = cms.InputTag("offlineBeamSpot"),
40 
41  doPrimaryVertexCheck = cms.bool( True ),
42 
43  ptBin = cms.int32(10),
44  ptMax = cms.double(100),
45  ptMin = cms.double(10),
46 
47  etaBin = cms.int32(8),
48  etaMax = cms.double(2.5),
49  etaMin = cms.double(-2.5),
50 
51  phiBin = cms.int32(8),
52  phiMax = cms.double(3.2),
53  phiMin = cms.double(-3.2),
54 
55  vtxBin = cms.int32(10),
56  vtxMax = cms.double(40.5),
57  vtxMin = cms.double(0.5),
58 
59  ID = cms.string("Tight"),
60  folder = cms.string("Muons_miniAOD/EfficiencyAnalyzer/")
61  )
62 
63 
64 LooseMuonEfficiencyAnalyzer = DQMEDAnalyzer('EfficiencyAnalyzer',
65  MuonServiceProxy,
66  MuonCollection = cms.InputTag("muons"),
67  TrackCollection = cms.InputTag("generalTracks"),
68  VertexLabel = cms.InputTag("offlinePrimaryVertices"),
69  BeamSpotLabel = cms.InputTag("offlineBeamSpot"),
70 
71  doPrimaryVertexCheck = cms.bool( True ),
72 
73  ptBin = cms.int32(10),
74  ptMax = cms.double(100),
75  ptMin = cms.double(10),
76 
77  etaBin = cms.int32(8),
78  etaMax = cms.double(2.5),
79  etaMin = cms.double(-2.5),
80 
81  phiBin = cms.int32(8),
82  phiMax = cms.double(3.2),
83  phiMin = cms.double(-3.2),
84 
85  vtxBin = cms.int32(10),
86  vtxMax = cms.double(40.5),
87  vtxMin = cms.double(0.5),
88 
89  ID = cms.string("Loose"),
90  folder = cms.string("Muons/EfficiencyAnalyzer/")
91 
92  )
93 LooseMuonEfficiencyAnalyzer_miniAOD = DQMEDAnalyzer('EfficiencyAnalyzer',
94  MuonServiceProxy,
95  MuonCollection = cms.InputTag("slimmedMuons"),
96  TrackCollection = cms.InputTag("generalTracks"),
97  VertexLabel = cms.InputTag("offlineSlimmedPrimaryVertices"),
98  BeamSpotLabel = cms.InputTag("offlineBeamSpot"),
99 
100  doPrimaryVertexCheck = cms.bool( True ),
101 
102  ptBin = cms.int32(10),
103  ptMax = cms.double(100),
104  ptMin = cms.double(10),
105 
106  etaBin = cms.int32(8),
107  etaMax = cms.double(2.5),
108  etaMin = cms.double(-2.5),
109 
110  phiBin = cms.int32(8),
111  phiMax = cms.double(3.2),
112  phiMin = cms.double(-3.2),
113 
114  vtxBin = cms.int32(10),
115  vtxMax = cms.double(40.5),
116  vtxMin = cms.double(0.5),
117 
118  ID = cms.string("Loose"),
119  folder = cms.string("Muons_miniAOD/EfficiencyAnalyzer/")
120 
121  )
122 
123 
124 MediumMuonEfficiencyAnalyzer = DQMEDAnalyzer('EfficiencyAnalyzer',
125  MuonServiceProxy,
126  MuonCollection = cms.InputTag("muons"),
127  TrackCollection = cms.InputTag("generalTracks"),
128  VertexLabel = cms.InputTag("offlinePrimaryVertices"),
129  BeamSpotLabel = cms.InputTag("offlineBeamSpot"),
130 
131  doPrimaryVertexCheck = cms.bool( True ),
132 
133  ptBin = cms.int32(10),
134  ptMax = cms.double(100),
135  ptMin = cms.double(10),
136 
137  etaBin = cms.int32(8),
138  etaMax = cms.double(2.5),
139  etaMin = cms.double(-2.5),
140 
141  phiBin = cms.int32(8),
142  phiMax = cms.double(3.2),
143  phiMin = cms.double(-3.2),
144 
145  vtxBin = cms.int32(10),
146  vtxMax = cms.double(40.5),
147  vtxMin = cms.double(0.5),
148 
149  ID = cms.string("Medium"),
150  folder = cms.string("Muons/EfficiencyAnalyzer/")
151  )
152 MediumMuonEfficiencyAnalyzer_miniAOD = DQMEDAnalyzer('EfficiencyAnalyzer',
153  MuonServiceProxy,
154  MuonCollection = cms.InputTag("slimmedMuons"),
155  TrackCollection = cms.InputTag("generalTracks"),
156  VertexLabel = cms.InputTag("offlineSlimmedPrimaryVertices"),
157  BeamSpotLabel = cms.InputTag("offlineBeamSpot"),
158 
159  doPrimaryVertexCheck = cms.bool( True ),
160 
161  ptBin = cms.int32(10),
162  ptMax = cms.double(100),
163  ptMin = cms.double(10),
164 
165  etaBin = cms.int32(8),
166  etaMax = cms.double(2.5),
167  etaMin = cms.double(-2.5),
168 
169  phiBin = cms.int32(8),
170  phiMax = cms.double(3.2),
171  phiMin = cms.double(-3.2),
172 
173  vtxBin = cms.int32(10),
174  vtxMax = cms.double(40.5),
175  vtxMin = cms.double(0.5),
176 
177  ID = cms.string("Medium"),
178  folder = cms.string("Muons_miniAOD/EfficiencyAnalyzer/")
179 
180  )