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