CMS 3D CMS Logo

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