CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SiStripMonitorCluster_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # SiStripMonitorCluster
4 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
5 SiStripMonitorCluster = DQMEDAnalyzer('SiStripMonitorCluster',
6  ClusterProducerStrip = cms.InputTag('siStripClusters'),
7  ClusterProducerPix = cms.InputTag('siPixelClusters'),
8 
9  ResetMEsEachRun = cms.bool(False),
10 
11  StripQualityLabel = cms.string(''),
12 
13  SelectAllDetectors = cms.bool(False),
14  ShowMechanicalStructureView = cms.bool(True),
15 
16  ClusterLabel = cms.string(''),
17 
18  TkHistoMap_On = cms.bool(True),
19 
20  ClusterChTkHistoMap_On = cms.bool(True),
21 
22  TopFolderName = cms.string('SiStrip'),
23 
24  BPTXfilter = cms.PSet(),
25  PixelDCSfilter = cms.PSet(
26  andOr = cms.bool(False),
27  dcsInputTag = cms.InputTag("scalersRawToDigi"),
28  dcsPartitions = cms.vint32(28, 29),
29  andOrDcs = cms.bool(False),
30  errorReplyDcs = cms.bool(True)
31  ),
32  StripDCSfilter = cms.PSet(
33  andOr = cms.bool(False),
34  dcsInputTag = cms.InputTag("scalersRawToDigi"),
35  dcsPartitions = cms.vint32(24, 25, 26, 27),
36  andOrDcs = cms.bool(False),
37  errorReplyDcs = cms.bool(True)
38  ),
39 
40  CreateTrendMEs = cms.bool(False),
41  TrendVs10LS = cms.bool(False),
42 
43  Trending = cms.PSet(
44  Nbins = cms.int32(2400),
45  xmin = cms.double(0.0),
46  xmax = cms.double(150.),
47  xaxis = cms.string('Lumisection')
48  ),
49 
50  TrendingLS = cms.PSet(
51  Nbins = cms.int32(600),
52  xmin = cms.double(0.0),
53  xmax = cms.double(150),
54  xaxis = cms.string('Lumisection')
55  ),
56 
57  TH1ClusterNoise = cms.PSet(
58  Nbinx = cms.int32(20),
59  xmin = cms.double(-0.5),
60  xmax = cms.double(9.5),
61  layerswitchon = cms.bool(False),
62  moduleswitchon = cms.bool(True)
63  ),
64 
65  TH1NrOfClusterizedStrips = cms.PSet(
66  Nbinx = cms.int32(20),
67  xmin = cms.double(-0.5),
68  xmax = cms.double(99.5),
69  layerswitchon = cms.bool(True),
70  moduleswitchon = cms.bool(True)
71  ),
72  TH1ClusterPos = cms.PSet(
73  Nbinx = cms.int32(768),
74  xmin = cms.double(-0.5),
75  xmax = cms.double(767.5),
76  layerswitchon = cms.bool(False),
77  moduleswitchon = cms.bool(True)
78  ),
79  TH1ClusterDigiPos = cms.PSet(
80  Nbinx = cms.int32(768),
81  xmin = cms.double(-0.5),
82  xmax = cms.double(767.5),
83  layerswitchon = cms.bool(False),
84  moduleswitchon = cms.bool(False)
85  ),
86  TH1ModuleLocalOccupancy = cms.PSet(
87  Nbinx = cms.int32(51),
88  xmin = cms.double(-0.01),
89  xmax = cms.double(1.01),
90  layerswitchon = cms.bool(True),
91  moduleswitchon = cms.bool(True)
92  ),
93  TH1nClusters = cms.PSet(
94  Nbinx = cms.int32(11),
95  xmin = cms.double(-0.5),
96  xmax = cms.double(10.5),
97  layerswitchon = cms.bool(False),
98  moduleswitchon = cms.bool(True)
99  ),
100  TH1ClusterStoN = cms.PSet(
101  Nbinx = cms.int32(100),
102  xmin = cms.double(-0.5),
103  xmax = cms.double(299.5),
104  layerswitchon = cms.bool(False),
105  moduleswitchon = cms.bool(True)
106  ),
107  TH1ClusterStoNVsPos = cms.PSet(
108  Nbinx = cms.int32(768),
109  xmin = cms.double(-0.5),
110  xmax = cms.double(767.5),
111  Nbiny = cms.int32(100),
112  ymin = cms.double(-0.5),
113  ymax = cms.double(299.5),
114  layerswitchon = cms.bool(False),
115  moduleswitchon = cms.bool(False)
116  ),
117  TH1ClusterCharge = cms.PSet(
118  Nbinx = cms.int32(200),
119  xmin = cms.double(-0.5),
120  xmax = cms.double(799.5),
121  layerswitchon = cms.bool(False),
122  moduleswitchon = cms.bool(True),
123  subdetswitchon = cms.bool(False)
124  ),
125  TH1ClusterWidth = cms.PSet(
126  Nbinx = cms.int32(20),
127  xmin = cms.double(-0.5),
128  xmax = cms.double(19.5),
129  layerswitchon = cms.bool(False),
130  moduleswitchon = cms.bool(True),
131  subdetswitchon = cms.bool(False)
132  ),
133 
134  TProfNumberOfCluster = cms.PSet(
135  Nbinx = cms.int32(100),
136  xmin = cms.double(-0.5),
137  xmax = cms.double(499.5),
138  layerswitchon = cms.bool(False),
139  moduleswitchon = cms.bool(False)
140  ),
141 
142  TProfClusterWidth = cms.PSet(
143  Nbinx = cms.int32(100),
144  xmin = cms.double(-0.5),
145  xmax = cms.double(499.5),
146  layerswitchon = cms.bool(False),
147  moduleswitchon = cms.bool(False)
148  ),
149 
150  ClusterConditions = cms.PSet(
151  minWidth = cms.double(0.0),
152  On = cms.bool(True),
153  maxStoN = cms.double(10000.0),
154  minStoN = cms.double(0.0),
155  maxWidth = cms.double(10000.0)
156  ),
157 
158  TProfTotalNumberOfClusters = cms.PSet(
159  subdetswitchon = cms.bool(False)
160  ),
161 
162  TH1TotalNumberOfClusters = cms.PSet(
163  Nbinx = cms.int32(100),
164  xmin = cms.double(-0.5),
165  xmax = cms.double(14999.5),
166  subdetswitchon = cms.bool(False)
167  ),
168 
169  TProfClustersApvCycle = cms.PSet(
170  Nbins = cms.int32(70),
171  xmin = cms.double(-0.5),
172  xmax = cms.double(69.5),
173  Nbinsy = cms.int32(200),
174  ymin = cms.double(0.0),
175  ymax = cms.double(0.0),
176  subdetswitchon = cms.bool(False)
177  ),
178 
179  TH2ClustersApvCycle = cms.PSet(
180  Nbinsx = cms.int32(70),
181  xmin = cms.double(-0.5),
182  xmax = cms.double(69.5),
183  Nbinsy = cms.int32(200),
184  ymin = cms.double(0.0),
185  yfactor = cms.double(0.2),
186  subdetswitchon = cms.bool(False)
187  ),
188 
189  TProfClustersVsDBxCycle = cms.PSet(
190  Nbins = cms.int32(800),
191  xmin = cms.double(0.5),
192  xmax = cms.double(800.5),
193  ymin = cms.double(0.0),
194  ymax = cms.double(0.0),
195  subdetswitchon = cms.bool(True)
196  ),
197 
198  TH1ABx_CSCP = cms.PSet(
199  Nbinsx = cms.int32(3565),
200  xmin = cms.double(0.),
201  xmax = cms.double(3564),
202  subdetswitchon = cms.bool(True)
203  ),
204 
205  TProf2ApvCycleVsDBx = cms.PSet(
206  Nbinsx = cms.int32(70),
207  xmin = cms.double(-0.5),
208  xmax = cms.double(69.5),
209  Nbinsy = cms.int32(800),
210  ymin = cms.double(0.5),
211  ymax = cms.double(800.5),
212  zmin = cms.double(0.0),
213  zmax = cms.double(0.0),
214  subdetswitchon = cms.bool(False)
215  ),
216 
217  TH2ApvCycleVsDBxGlobal = cms.PSet(
218  Nbinsx = cms.int32(70),
219  xmin = cms.double(-0.5),
220  xmax = cms.double(69.5),
221  Nbinsy = cms.int32(800),
222  ymin = cms.double(0.5),
223  ymax = cms.double(800.5),
224  globalswitchon = cms.bool(True)
225  ),
226 
227  TH1DBxGlobal = cms.PSet(
228  Nbinsx = cms.int32(800),
229  xmin = cms.double(0.5),
230  xmax = cms.double(800.5),
231  globalswitchon = cms.bool(True)
232  ),
233 
234  TH1DBxCycleGlobal = cms.PSet(
235  Nbinsx = cms.int32(800),
236  xmin = cms.double(0.5),
237  xmax = cms.double(800.5),
238  globalswitchon = cms.bool(True)
239  ),
240 
241  TH2CStripVsCpixel = cms.PSet(
242  Nbinsx = cms.int32(150),
243  xmin = cms.double(-0.5),
244  xmax = cms.double(149999.5),
245  Nbinsy = cms.int32(50),
246  ymin = cms.double(-0.5),
247  ymax = cms.double(29999.5),
248  globalswitchon = cms.bool(True)
249  ),
250 
251  MultiplicityRegions = cms.PSet(
252  k0 = cms.double(0.188), # k from linear fit of the diagonal default 0.13
253  q0 = cms.double(300), # +/- variation of y axis intercept default 300
254  dk0 = cms.double(40), #+/- variation of k0 (in %) to contain the diagonal zone defoult 40
255  MaxClus = cms.double(26000), #Divide Region 2 and Region 3 default 20000
256  MinPix = cms.double(50) # minimum number of Pix clusters to flag events with zero Si clusters default 50
257  ),
258 
259  TH1MultiplicityRegions = cms.PSet(
260  Nbinx = cms.int32(5),
261  xmin = cms.double(0.5),
262  xmax = cms.double(5.5),
263  globalswitchon = cms.bool(False)
264  ),
265 
266  TH1MainDiagonalPosition= cms.PSet(
267  Nbinsx = cms.int32(100),
268  xmin = cms.double(0.),
269  xmax = cms.double(2.),
270  globalswitchon = cms.bool(False)
271  ),
272 
273  TProfMainDiagonalPosition= cms.PSet(
274  Nbinsx = cms.int32(3565),
275  xmin = cms.double(0),
276  xmax = cms.double(3564),
277  Nbinsy = cms.int32(100),
278  ymin = cms.double(0.),
279  ymax = cms.double(2.),
280  globalswitchon = cms.bool(False)
281  ),
282 
283  TH2MainDiagonalPosition= cms.PSet(
284  Nbinsx = cms.int32(3565),
285  xmin = cms.double(0),
286  xmax = cms.double(3564),
287  Nbinsy = cms.int32(100),
288  ymin = cms.double(0.),
289  ymax = cms.double(2.),
290  globalswitchon = cms.bool(False)
291  ),
292 
293  TH1NClusPx = cms.PSet(
294  Nbinsx = cms.int32(200),
295  xmax = cms.double(19999.5),
296  xmin = cms.double(-0.5)
297  ),
298 
299  TH1NClusStrip = cms.PSet(
300  Nbinsx = cms.int32(500),
301  xmax = cms.double(99999.5),
302  xmin = cms.double(-0.5)
303  ),
304 
305 #****************************************
306  TProfNClusStrip = cms.PSet(
307  Nbinsx = cms.int32(3565),
308  xmin = cms.double(0),
309  xmax = cms.double(3564),
310  Nbinsy = cms.int32(200),
311  ymin = cms.double(-0.5),
312  ymax = cms.double(99999.5),
313  globalswitchon = cms.bool(True)
314  ),
315 
316  TProfNClusPixel = cms.PSet(
317  Nbinsx = cms.int32(3565),
318  xmin = cms.double(0),
319  xmax = cms.double(3564),
320  Nbinsy = cms.int32(200),
321  ymin = cms.double(-0.5),
322  ymax = cms.double(199999.5),
323  globalswitchon = cms.bool(True)
324  ),
325 
326  TProfNClustersFED = cms.PSet(
327  Nbinsx = cms.int32(440),
328  xmax = cms.double(489.5),
329  xmin = cms.double(49.5),
330  Nbinsy = cms.int32(200),
331  ymin = cms.double(-0.5),
332  ymax = cms.double(199999.5),
333  globalswitchon = cms.bool(True)
334  ),
335 
336 #****************************************
337  TH1StripNoise2ApvCycle = cms.PSet(
338  Nbinsx = cms.int32(70),
339  xmin = cms.double(-0.5),
340  xmax = cms.double(69.5),
341  globalswitchon = cms.bool(False)
342  )
343  ,
344  TH1StripNoise3ApvCycle = cms.PSet(
345  Nbinsx = cms.int32(70),
346  xmin = cms.double(-0.5),
347  xmax = cms.double(69.5),
348  globalswitchon = cms.bool(False)
349  ),
350 
351  NclusVsCycleTimeProf2D = cms.PSet(
352  Nbins = cms.int32(70),
353  xmin = cms.double(-0.5),
354  xmax = cms.double(69.5),
355  Nbinsy = cms.int32(90),
356  ymin = cms.double(0.),
357  ymax = cms.double(90*262144),
358  globalswitchon = cms.bool(True)
359  ),
360 
361  NumberOfClusterPerRingVsTrendVar = cms.PSet(
362  Nbinsx = cms.int32(1000),
363  xmin = cms.double(0.),
364  xmax = cms.double(150.),
365  Nbinsy = cms.int32(9),
366  ymin = cms.double(0.5),
367  ymax = cms.double(9.5),
368  globalswitchon = cms.bool(True),
369  ),
370 
371  NumberOfClusterPerLayerTrendVar = cms.PSet(
372  Nbinsx = cms.int32(1000),
373  xmin = cms.double(0.),
374  xmax = cms.double(150.),
375  Nbinsy = cms.int32(11),
376  ymin = cms.double(0.5),
377  ymax = cms.double(11.5),
378  globalswitchon = cms.bool(True),
379  ),
380 
381  ClusWidthVsAmpTH2 = cms.PSet(
382  Nbinsx = cms.int32(2000),
383  xmin = cms.double(0.),
384  xmax = cms.double(2000.),
385  Nbinsy = cms.int32(100),
386  ymin = cms.double(0.),
387  ymax = cms.double(100.),
388  globalswitchon = cms.bool(True),
389  subdetswitchon = cms.bool(False),
390  layerswitchon = cms.bool(False),
391  moduleswitchon = cms.bool(False)
392  ),
393 
394  Mod_On = cms.bool(True),
395  ClusterHisto = cms.bool(False),
396 
397  HistoryProducer = cms.InputTag("consecutiveHEs"),
398  ApvPhaseProducer = cms.InputTag("APVPhases"),
399 
400  UseDCSFiltering = cms.bool(True),
401 
402  ShowControlView = cms.bool(False),
403  ShowReadoutView = cms.bool(False)
404 )
405 
406 from Configuration.Eras.Modifier_run3_common_cff import run3_common
407 run3_common.toModify(SiStripMonitorCluster, TH1NClusPx = dict(xmax = 39999.5))
408 run3_common.toModify(SiStripMonitorCluster, TH1NClusStrip = dict(xmax = 299999.5))
409 run3_common.toModify(SiStripMonitorCluster, TProfNClusStrip = dict(ymax = 299999.5))
410 run3_common.toModify(SiStripMonitorCluster, TProfNClusPixel = dict(ymax = 39999.5))
411 run3_common.toModify(SiStripMonitorCluster, TProfNClustersFED = dict(ymax = 299999.5))
412 run3_common.toModify(SiStripMonitorCluster, TH2CStripVsCpixel = dict(xmax = 299999.5, ymax = 39999.5))
413 run3_common.toModify(SiStripMonitorCluster, TH1TotalNumberOfClusters = dict(xmax = 44999.5))