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