test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MonitorTrackSTAMuons_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # MonitorTrackGlobal
5 MonitorTrackSTAMuons = DQM.TrackingMonitor.TrackingMonitor_cfi.TrackMon.clone()
6 
7 # input tags
8 MonitorTrackSTAMuons.TrackProducer = cms.InputTag("standAloneMuons","UpdatedAtVtx")
9 MonitorTrackSTAMuons.SeedProducer = cms.InputTag("combinedP5SeedsForCTF")
10 MonitorTrackSTAMuons.TCProducer = cms.InputTag("ckfTrackCandidatesP5")
11 MonitorTrackSTAMuons.beamSpot = cms.InputTag("offlineBeamSpot")
12 MonitorTrackSTAMuons.ClusterLabels = cms.vstring('Tot')
13 
14 # output parameters
15 MonitorTrackSTAMuons.OutputMEsInRootFile = cms.bool(False)
16 MonitorTrackSTAMuons.AlgoName = cms.string('sta')
17 MonitorTrackSTAMuons.Quality = cms.string('')
18 MonitorTrackSTAMuons.OutputFileName = cms.string('monitortrackparameters_stamuons.root')
19 MonitorTrackSTAMuons.FolderName = cms.string('Muons/standAloneMuonsUpdatedAtVtx')
20 MonitorTrackSTAMuons.BSFolderName = cms.string('Muons/standAloneMuonsUpdatedAtVtx/BeamSpotParameters')
21 
22 # determines where to evaluate track parameters
23 # options: 'default' --> straight up track parametes
24 # 'ImpactPoint' --> evalutate at impact point
25 # 'InnerSurface' --> evalutate at innermost measurement state
26 # 'OuterSurface' --> evalutate at outermost measurement state
27 MonitorTrackSTAMuons.MeasurementState = cms.string('default')
28 
29 # which plots to do
30 MonitorTrackSTAMuons.doTrackerSpecific = cms.bool(False)
31 MonitorTrackSTAMuons.doAllPlots = cms.bool(False)
32 MonitorTrackSTAMuons.doBeamSpotPlots = cms.bool(False)
33 MonitorTrackSTAMuons.doSeedParameterHistos = cms.bool(False)
34 MonitorTrackSTAMuons.doTrackCandHistos = cms.bool(False)
35 MonitorTrackSTAMuons.doDCAPlots = cms.bool(False)
36 MonitorTrackSTAMuons.doGeneralPropertiesPlots = cms.bool(True)
37 MonitorTrackSTAMuons.doHitPropertiesPlots = cms.bool(True)
38 MonitorTrackSTAMuons.doEffFromHitPatternVsPU = cms.bool(False)
39 MonitorTrackSTAMuons.doEffFromHitPatternVsBX = cms.bool(False)
40 #MonitorTrackSTAMuons.doGoodTrackPlots = cms.bool(False)
41 MonitorTrackSTAMuons.doMeasurementStatePlots = cms.bool(True)
42 MonitorTrackSTAMuons.doProfilesVsLS = cms.bool(False)
43 MonitorTrackSTAMuons.doRecHitVsPhiVsEtaPerTrack = cms.bool(False)
44 #MonitorTrackSTAMuons.doGoodTrackRecHitVsPhiVsEtaPerTrack = cms.bool(False)
45 
46 #which seed plots to do
47 MonitorTrackSTAMuons.doSeedNumberHisto = cms.bool(False)
48 MonitorTrackSTAMuons.doSeedVsClusterHisto = cms.bool(False)
49 MonitorTrackSTAMuons.doSeedPTHisto = cms.bool(False)
50 MonitorTrackSTAMuons.doSeedETAHisto = cms.bool(False)
51 MonitorTrackSTAMuons.doSeedPHIHisto = cms.bool(False)
52 MonitorTrackSTAMuons.doSeedPHIVsETAHisto = cms.bool(False)
53 MonitorTrackSTAMuons.doSeedThetaHisto = cms.bool(False)
54 MonitorTrackSTAMuons.doSeedQHisto = cms.bool(False)
55 MonitorTrackSTAMuons.doSeedDxyHisto = cms.bool(False)
56 MonitorTrackSTAMuons.doSeedDzHisto = cms.bool(False)
57 MonitorTrackSTAMuons.doSeedNRecHitsHisto = cms.bool(False)
58 MonitorTrackSTAMuons.doSeedNVsPhiProf = cms.bool(False)
59 MonitorTrackSTAMuons.doSeedNVsEtaProf = cms.bool(False)
60 
61 
62 # paramters of the Track
63 # ============================================================
64 
65 # chi2
66 MonitorTrackSTAMuons.Chi2Bin = cms.int32(250)
67 MonitorTrackSTAMuons.Chi2Max = cms.double(500.0)
68 MonitorTrackSTAMuons.Chi2Min = cms.double(0.0)
69 
70 # chi2 dof
71 MonitorTrackSTAMuons.Chi2NDFBin = cms.int32(200)
72 MonitorTrackSTAMuons.Chi2NDFMax = cms.double(19.5)
73 MonitorTrackSTAMuons.Chi2NDFMin = cms.double(-0.5)
74 
75 # chi^2 probability
76 MonitorTrackSTAMuons.Chi2ProbBin = cms.int32(100)
77 MonitorTrackSTAMuons.Chi2ProbMax = cms.double(1.0)
78 MonitorTrackSTAMuons.Chi2ProbMin = cms.double(0.0)
79 
80 # Number of Tracks per Event
81 MonitorTrackSTAMuons.TkSizeBin = cms.int32(11)
82 MonitorTrackSTAMuons.TkSizeMax = cms.double(10.5)
83 MonitorTrackSTAMuons.TkSizeMin = cms.double(-0.5)
84 
85 # Number of seeds per Event
86 MonitorTrackSTAMuons.TkSeedSizeBin = cms.int32(20)
87 MonitorTrackSTAMuons.TkSeedSizeMax = cms.double(19.5)
88 MonitorTrackSTAMuons.TkSeedSizeMin = cms.double(-0.5)
89 
90 # Number of Track Cadidates per Event
91 MonitorTrackSTAMuons.TCSizeBin = cms.int32(150)
92 MonitorTrackSTAMuons.TCSizeMax = cms.double(149.5)
93 MonitorTrackSTAMuons.TCSizeMin = cms.double(-0.5)
94 
95 # num rec hits
96 MonitorTrackSTAMuons.TrackQBin = cms.int32(8)
97 MonitorTrackSTAMuons.TrackQMax = cms.double(2.5)
98 MonitorTrackSTAMuons.TrackQMin = cms.double(-2.5)
99 
100 # num rec hits in seed
101 MonitorTrackSTAMuons.SeedHitBin = cms.int32(6)
102 MonitorTrackSTAMuons.SeedHitMax = cms.double(5.5)
103 MonitorTrackSTAMuons.SeedHitMin = cms.double(-0.5)
104 
105 # num rec hits per track candidate
106 MonitorTrackSTAMuons.TCHitBin = cms.int32(40)
107 MonitorTrackSTAMuons.TCHitMax = cms.double(39.5)
108 MonitorTrackSTAMuons.TCHitMin = cms.double(-0.5)
109 
110 # num rec hits
111 MonitorTrackSTAMuons.RecHitBin = cms.int32(120)
112 MonitorTrackSTAMuons.RecHitMax = cms.double(120.0)
113 MonitorTrackSTAMuons.RecHitMin = cms.double(0.0)
114 
115 # mean rec hits
116 MonitorTrackSTAMuons.MeanHitBin = cms.int32(30)
117 MonitorTrackSTAMuons.MeanHitMax = cms.double(29.5)
118 MonitorTrackSTAMuons.MeanHitMin = cms.double(-0.5)
119 
120 # num TOB rec hits
121 MonitorTrackSTAMuons.TOBHitBin = cms.int32(15)
122 MonitorTrackSTAMuons.TOBHitMin = cms.double(-0.5)
123 MonitorTrackSTAMuons.TOBHitMax = cms.double(14.5)
124 
125 # num TIB rec hits
126 MonitorTrackSTAMuons.TIBHitBin = cms.int32(15)
127 MonitorTrackSTAMuons.TIBHitMin = cms.double(-0.5)
128 MonitorTrackSTAMuons.TIBHitMax = cms.double(14.5)
129 
130 # num TID rec hits
131 MonitorTrackSTAMuons.TIDHitBin = cms.int32(15)
132 MonitorTrackSTAMuons.TIDHitMin = cms.double(-0.5)
133 MonitorTrackSTAMuons.TIDHitMax = cms.double(14.5)
134 
135 # num TEC rec hits
136 MonitorTrackSTAMuons.TECHitBin = cms.int32(25)
137 MonitorTrackSTAMuons.TECHitMin = cms.double(-0.5)
138 MonitorTrackSTAMuons.TECHitMax = cms.double(24.5)
139 
140 # num PXB rec hits
141 MonitorTrackSTAMuons.PXBHitBin = cms.int32(10)
142 MonitorTrackSTAMuons.PXBHitMin = cms.double(-0.5)
143 MonitorTrackSTAMuons.PXBHitMax = cms.double(9.5)
144 
145 # num PXF rec hits
146 MonitorTrackSTAMuons.PXFHitBin = cms.int32(10)
147 MonitorTrackSTAMuons.PXFHitMin = cms.double(-0.5)
148 MonitorTrackSTAMuons.PXFHitMax = cms.double(9.5)
149 
150 # num rec hits lost
151 MonitorTrackSTAMuons.RecLostBin = cms.int32(120)
152 MonitorTrackSTAMuons.RecLostMax = cms.double(20)
153 MonitorTrackSTAMuons.RecLostMin = cms.double(0.0)
154 
155 # num layers
156 MonitorTrackSTAMuons.RecLayBin = cms.int32(120)
157 MonitorTrackSTAMuons.RecLayMax = cms.double(120.0)
158 MonitorTrackSTAMuons.RecLayMin = cms.double(0.0)
159 
160 # mean layers
161 MonitorTrackSTAMuons.MeanLayBin = cms.int32(20)
162 MonitorTrackSTAMuons.MeanLayMax = cms.double(19.5)
163 MonitorTrackSTAMuons.MeanLayMin = cms.double(-0.5)
164 
165 # num TOB layers
166 MonitorTrackSTAMuons.TOBLayBin = cms.int32(10)
167 MonitorTrackSTAMuons.TOBLayMax = cms.double(9.5)
168 MonitorTrackSTAMuons.TOBLayMin = cms.double(-0.5)
169 
170 # num TIB layers
171 MonitorTrackSTAMuons.TIBLayBin = cms.int32(6)
172 MonitorTrackSTAMuons.TIBLayMax = cms.double(5.5)
173 MonitorTrackSTAMuons.TIBLayMin = cms.double(-0.5)
174 
175 # num TID layers
176 MonitorTrackSTAMuons.TIDLayBin = cms.int32(6)
177 MonitorTrackSTAMuons.TIDLayMax = cms.double(5.5)
178 MonitorTrackSTAMuons.TIDLayMin = cms.double(-0.5)
179 
180 # num TEC layers
181 MonitorTrackSTAMuons.TECLayBin = cms.int32(15)
182 MonitorTrackSTAMuons.TECLayMax = cms.double(14.5)
183 MonitorTrackSTAMuons.TECLayMin = cms.double(-0.5)
184 
185 # num PXB layers
186 MonitorTrackSTAMuons.PXBLayBin = cms.int32(6)
187 MonitorTrackSTAMuons.PXBLayMax = cms.double(5.5)
188 MonitorTrackSTAMuons.PXBLayMin = cms.double(-0.5)
189 
190 # num PXF layers
191 MonitorTrackSTAMuons.PXFLayBin = cms.int32(6)
192 MonitorTrackSTAMuons.PXFLayMax = cms.double(5.5)
193 MonitorTrackSTAMuons.PXFLayMin = cms.double(-0.5)
194 
195 # Track |p|
196 MonitorTrackSTAMuons.TrackPBin = cms.int32(1000)
197 MonitorTrackSTAMuons.TrackPMax = cms.double(1000)
198 MonitorTrackSTAMuons.TrackPMin = cms.double(0)
199 
200 # Track pT
201 MonitorTrackSTAMuons.TrackPtBin = cms.int32(1000)
202 MonitorTrackSTAMuons.TrackPtMax = cms.double(1000)
203 MonitorTrackSTAMuons.TrackPtMin = cms.double(0)
204 
205 # Track px
206 MonitorTrackSTAMuons.TrackPxBin = cms.int32(1000)
207 MonitorTrackSTAMuons.TrackPxMax = cms.double(500.0)
208 MonitorTrackSTAMuons.TrackPxMin = cms.double(-500.0)
209 
210 # Track py
211 MonitorTrackSTAMuons.TrackPyBin = cms.int32(1000)
212 MonitorTrackSTAMuons.TrackPyMax = cms.double(500.0)
213 MonitorTrackSTAMuons.TrackPyMin = cms.double(-500.0)
214 
215 # Track pz
216 MonitorTrackSTAMuons.TrackPzMin = cms.double(-500.0)
217 MonitorTrackSTAMuons.TrackPzMax = cms.double(500.0)
218 MonitorTrackSTAMuons.TrackPzBin = cms.int32(1000)
219 
220 # track theta
221 MonitorTrackSTAMuons.ThetaBin = cms.int32(100)
222 MonitorTrackSTAMuons.ThetaMax = cms.double(3.2)
223 MonitorTrackSTAMuons.ThetaMin = cms.double(0.0)
224 
225 # track eta
226 MonitorTrackSTAMuons.EtaBin = cms.int32(100)
227 MonitorTrackSTAMuons.EtaMax = cms.double(3.0)
228 MonitorTrackSTAMuons.EtaMin = cms.double(-3.0)
229 
230 # track phi
231 MonitorTrackSTAMuons.PhiBin = cms.int32(36)
232 MonitorTrackSTAMuons.PhiMax = cms.double(3.2)
233 MonitorTrackSTAMuons.PhiMin = cms.double(-3.2)
234 
235 # Track |p| error
236 MonitorTrackSTAMuons.pErrBin = cms.int32(100)
237 MonitorTrackSTAMuons.pErrMax = cms.double(10.0)
238 MonitorTrackSTAMuons.pErrMin = cms.double(0.0)
239 
240 # Track pT error
241 MonitorTrackSTAMuons.ptErrBin = cms.int32(100)
242 MonitorTrackSTAMuons.ptErrMax = cms.double(10.0)
243 MonitorTrackSTAMuons.ptErrMin = cms.double(0.0)
244 
245 # Track px error
246 MonitorTrackSTAMuons.pxErrBin = cms.int32(100)
247 MonitorTrackSTAMuons.pxErrMax = cms.double(10.0)
248 MonitorTrackSTAMuons.pxErrMin = cms.double(0.0)
249 
250 # Track py error
251 MonitorTrackSTAMuons.pyErrBin = cms.int32(100)
252 MonitorTrackSTAMuons.pyErrMax = cms.double(10.0)
253 MonitorTrackSTAMuons.pyErrMin = cms.double(0.0)
254 
255 # Track pz error
256 MonitorTrackSTAMuons.pzErrBin = cms.int32(100)
257 MonitorTrackSTAMuons.pzErrMax = cms.double(10.0)
258 MonitorTrackSTAMuons.pzErrMin = cms.double(0.0)
259 
260 # track eta error
261 MonitorTrackSTAMuons.etaErrBin = cms.int32(100)
262 MonitorTrackSTAMuons.etaErrMax = cms.double(0.5)
263 MonitorTrackSTAMuons.etaErrMin = cms.double(0.0)
264 
265 # track phi Error
266 MonitorTrackSTAMuons.phiErrBin = cms.int32(100)
267 MonitorTrackSTAMuons.phiErrMax = cms.double(1.0)
268 MonitorTrackSTAMuons.phiErrMin = cms.double(0.0)
269 
270 # PCA x position
271 MonitorTrackSTAMuons.VXBin = cms.int32(20)
272 MonitorTrackSTAMuons.VXMax = cms.double(20.0)
273 MonitorTrackSTAMuons.VXMin = cms.double(-20.0)
274 
275 # PCA y position
276 MonitorTrackSTAMuons.VYBin = cms.int32(20)
277 MonitorTrackSTAMuons.VYMax = cms.double(20.0)
278 MonitorTrackSTAMuons.VYMin = cms.double(-20.0)
279 
280 # PCA z position
281 MonitorTrackSTAMuons.VZBin = cms.int32(50)
282 MonitorTrackSTAMuons.VZMax = cms.double(100.0)
283 MonitorTrackSTAMuons.VZMin = cms.double(-100.0)
284 
285 # PCA x position for 2D plot
286 MonitorTrackSTAMuons.X0Bin = cms.int32(100)
287 MonitorTrackSTAMuons.X0Max = cms.double(3.0)
288 MonitorTrackSTAMuons.X0Min = cms.double(-3.0)
289 
290 # PCA y position for 2D plot
291 MonitorTrackSTAMuons.Y0Bin = cms.int32(100)
292 MonitorTrackSTAMuons.Y0Max = cms.double(3.0)
293 MonitorTrackSTAMuons.Y0Min = cms.double(-3.0)
294 
295 # PCA z position for 2D plot
296 MonitorTrackSTAMuons.Z0Bin = cms.int32(60)
297 MonitorTrackSTAMuons.Z0Max = cms.double(30.0)
298 MonitorTrackSTAMuons.Z0Min = cms.double(-30.0)
299 
300 # Track dxy (transverse impact parameter)
301 MonitorTrackSTAMuons.DxyBin = cms.int32(100)
302 MonitorTrackSTAMuons.DxyMax = cms.double(0.5)
303 MonitorTrackSTAMuons.DxyMin = cms.double(-0.5)
304 
305 # Seed dxy (transverse impact parameter)
306 MonitorTrackSTAMuons.SeedDxyBin = cms.int32(100)
307 MonitorTrackSTAMuons.SeedDxyMax = cms.double(0.5)
308 MonitorTrackSTAMuons.SeedDxyMin = cms.double(-0.5)
309 
310 # Seed dz (longitudinal impact parameter)
311 MonitorTrackSTAMuons.SeedDzBin = cms.int32(200)
312 MonitorTrackSTAMuons.SeedDzMax = cms.double(30.0)
313 MonitorTrackSTAMuons.SeedDzMin = cms.double(-30.0)
314 
315 # Track Candidate dxy (transverse impact parameter)
316 MonitorTrackSTAMuons.TCDxyBin = cms.int32(200)
317 MonitorTrackSTAMuons.TCDxyMax = cms.double(100.0)
318 MonitorTrackSTAMuons.TCDxyMin = cms.double(-100.0)
319 
320 # Track Candidate dz (transverse impact parameter)
321 MonitorTrackSTAMuons.TCDzBin = cms.int32(200)
322 MonitorTrackSTAMuons.TCDzMax = cms.double(400.0)
323 MonitorTrackSTAMuons.TCDzMin = cms.double(-400.0)
324 
325 # NCluster Pixel
326 MonitorTrackSTAMuons.NClusPxBin = cms.int32(50)
327 MonitorTrackSTAMuons.NClusPxMax = cms.double(1999.5)
328 MonitorTrackSTAMuons.NClusPxMin = cms.double(-0.5)
329 
330 # NCluster Strip
331 MonitorTrackSTAMuons.NClusStrBin = cms.int32(150)
332 MonitorTrackSTAMuons.NClusStrMax = cms.double(14999.5)
333 MonitorTrackSTAMuons.NClusStrMin = cms.double(-0.5)
334 
335 # NCluster 2D
336 MonitorTrackSTAMuons.NClus2DPxBin = cms.int32(20)
337 MonitorTrackSTAMuons.NClus2DPxMax = cms.double(1999.5)
338 MonitorTrackSTAMuons.NClus2DPxMin = cms.double(-0.5)
339 MonitorTrackSTAMuons.NClus2DStrBin = cms.int32(50)
340 MonitorTrackSTAMuons.NClus2DStrMax = cms.double(14999.5)
341 MonitorTrackSTAMuons.NClus2DStrMin = cms.double(-0.5)
342 
343 # NCluster Vs Tracks
344 MonitorTrackSTAMuons.NClus2DTotBin = cms.int32(50)
345 MonitorTrackSTAMuons.NClus2DTotMax = cms.double(14999.5)
346 MonitorTrackSTAMuons.NClus2DTotMin = cms.double(-0.5)
347 MonitorTrackSTAMuons.NTrk2DBin = cms.int32(20)
348 MonitorTrackSTAMuons.NTrk2DMax = cms.double(199.5)
349 MonitorTrackSTAMuons.NTrk2DMin = cms.double(-0.5)
350 
351 MonitorTrackSTAMuons.TTRHBuilder = cms.string('WithTrackAngle')
352 
353 # For plots vs LS
354 MonitorTrackSTAMuons.LSBin = cms.int32(2000)
355 MonitorTrackSTAMuons.LSMin = cms.double(0)
356 MonitorTrackSTAMuons.LSMax = cms.double(2000.)
357 
358 # Luminosity based analysis
359 MonitorTrackSTAMuons.doLumiAnalysis = cms.bool(False)
360