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