CMS 3D CMS Logo

siStripFEDMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 siStripFEDMonitor = DQMEDAnalyzer('SiStripFEDMonitorPlugin',
5  #Raw data collection
6  RawDataTag = cms.untracked.InputTag('rawDataCollector'),
7  #Folder in DQM Store to write global histograms to
8  TopFolderName = cms.untracked.string('SiStrip'),
9 # HistogramFolderName = cms.untracked.string('SiStrip/ReadoutView/FedSummary'),
10  HistogramFolderName = cms.untracked.string('ReadoutView'),
11  #Fill all detailed histograms at FED level even if they will be empty (so that files can be merged)
12  FillAllDetailedHistograms = cms.untracked.bool(False),
13  #do histos vs time with time=event number. Default time = orbit number (s).
14  FillWithEventNumber = cms.untracked.bool(False),
15  #Whether to dump buffer info and raw data if any error is found:
16  #1=errors, 2=minimum info, 3=full debug with printing of the data buffer of each FED per event.
17  PrintDebugMessages = cms.untracked.uint32(1),
18  FullDebugMode = cms.untracked.bool(False),
19  #Histogram configuration
20  #lumi histogram
21  ErrorFractionByLumiBlockHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(False) ),
22  #Global/summary histograms
23  FedEventSizeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
24  DataPresentHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
25  AnyFEDErrorsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
26  AnyDAQProblemsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
27  AnyFEProblemsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
28  CorruptBuffersHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
29  BadChannelStatusBitsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
30  BadActiveChannelStatusBitsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
31  #Sub sets of FE problems
32  FEOverflowsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
33  FEMissingHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
34  BadMajorityAddressesHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
35  BadMajorityInPartitionHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
36  FeMajFracTIBHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
37  FeMajFracTOBHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
38  FeMajFracTECBHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
39  FeMajFracTECFHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
40  FETimeDiffTIBHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
41  FETimeDiffTOBHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
42  FETimeDiffTECBHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
43  FETimeDiffTECFHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
44  FETimeDiffvsDBXHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(False) ),
45  ApveAddressHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
46  FeMajAddressHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
47  #medians per APV for all channels, all events
48  MedianAPV0HistogramConfig = cms.untracked.PSet(
49  Enabled = cms.untracked.bool(True),
50  NBins = cms.untracked.uint32(256),
51  Min = cms.untracked.double(0),
52  Max = cms.untracked.double(1024)
53  ),
54  MedianAPV1HistogramConfig = cms.untracked.PSet(
55  Enabled = cms.untracked.bool(True),
56  NBins = cms.untracked.uint32(256),
57  Min = cms.untracked.double(0),
58  Max = cms.untracked.double(1024)
59  ),
60  #Sub sets of DAQ problems
61  DataMissingHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
62  BadIDsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
63  BadDAQPacketHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
64  InvalidBuffersHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
65  BadDAQCRCsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
66  BadFEDCRCsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
67  #TkHistoMap
68  TkHistoMapHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
69  #Detailed FED level expert histograms
70  FEOverflowsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
71  FEMissingDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
72  BadMajorityAddressesDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
73  BadAPVStatusBitsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
74  APVErrorBitsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
75  APVAddressErrorBitsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
76  UnlockedBitsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
77  OOSBitsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
78  #Error counting histograms
79  nFEDErrorsHistogramConfig = cms.untracked.PSet(
80  Enabled = cms.untracked.bool(True),
81  NBins = cms.untracked.uint32(441),
82  Min = cms.untracked.double(0),
83  Max = cms.untracked.double(441)
84  ),
85  nFEDDAQProblemsHistogramConfig = cms.untracked.PSet(
86  Enabled = cms.untracked.bool(True),
87  NBins = cms.untracked.uint32(441),
88  Min = cms.untracked.double(0),
89  Max = cms.untracked.double(441)
90  ),
91  nFEDsWithFEProblemsHistogramConfig = cms.untracked.PSet(
92  Enabled = cms.untracked.bool(True),
93  NBins = cms.untracked.uint32(441),
94  Min = cms.untracked.double(0),
95  Max = cms.untracked.double(441)
96  ),
97  nFEDCorruptBuffersHistogramConfig = cms.untracked.PSet(
98  Enabled = cms.untracked.bool(True),
99  NBins = cms.untracked.uint32(441),
100  Min = cms.untracked.double(0),
101  Max = cms.untracked.double(441)
102  ),
103  nBadChannelStatusBitsHistogramConfig = cms.untracked.PSet(
104  Enabled = cms.untracked.bool(True),
105  NBins = cms.untracked.uint32(353),
106  Min = cms.untracked.double(0),
107  Max = cms.untracked.double(42240)
108  ),
109  nBadActiveChannelStatusBitsHistogramConfig = cms.untracked.PSet(
110  Enabled = cms.untracked.bool(True),
111  NBins = cms.untracked.uint32(353),
112  Min = cms.untracked.double(0),
113  Max = cms.untracked.double(42240)
114  ),
115  nFEDsWithFEOverflowsHistogramConfig = cms.untracked.PSet(
116  Enabled = cms.untracked.bool(True),
117  NBins = cms.untracked.uint32(441),
118  Min = cms.untracked.double(0),
119  Max = cms.untracked.double(441)
120  ),
121  nFEDsWithMissingFEsHistogramConfig = cms.untracked.PSet(
122  Enabled = cms.untracked.bool(True),
123  NBins = cms.untracked.uint32(441),
124  Min = cms.untracked.double(0),
125  Max = cms.untracked.double(441)
126  ),
127  nFEDsWithFEBadMajorityAddressesHistogramConfig = cms.untracked.PSet(
128  Enabled = cms.untracked.bool(True),
129  NBins = cms.untracked.uint32(441),
130  Min = cms.untracked.double(0),
131  Max = cms.untracked.double(441)
132  ),
133  nUnconnectedChannelsHistogramConfig = cms.untracked.PSet(
134  Enabled = cms.untracked.bool(True),
135  NBins = cms.untracked.uint32(250),
136  Min = cms.untracked.double(6000),
137  Max = cms.untracked.double(8000)
138  ),
139  nAPVStatusBitHistogramConfig = cms.untracked.PSet(
140  Enabled = cms.untracked.bool(True),
141  NBins = cms.untracked.uint32(353),
142  Min = cms.untracked.double(0),
143  Max = cms.untracked.double(42240)
144  ),
145  nAPVErrorHistogramConfig = cms.untracked.PSet(
146  Enabled = cms.untracked.bool(True),
147  NBins = cms.untracked.uint32(353),
148  Min = cms.untracked.double(0),
149  Max = cms.untracked.double(42240)
150  ),
151  nAPVAddressErrorHistogramConfig = cms.untracked.PSet(
152  Enabled = cms.untracked.bool(True),
153  NBins = cms.untracked.uint32(353),
154  Min = cms.untracked.double(0),
155  Max = cms.untracked.double(42240)
156  ),
157  nUnlockedHistogramConfig = cms.untracked.PSet(
158  Enabled = cms.untracked.bool(True),
159  NBins = cms.untracked.uint32(353),
160  Min = cms.untracked.double(0),
161  Max = cms.untracked.double(42240)
162  ),
163  nOutOfSyncHistogramConfig = cms.untracked.PSet(
164  Enabled = cms.untracked.bool(True),
165  NBins = cms.untracked.uint32(353),
166  Min = cms.untracked.double(0),
167  Max = cms.untracked.double(42240)
168  ),
169  nTotalBadChannelsHistogramConfig = cms.untracked.PSet(
170  Enabled = cms.untracked.bool(True),
171  NBins = cms.untracked.uint32(353),
172  Min = cms.untracked.double(0),
173  Max = cms.untracked.double(42240)
174  ),
175  nTotalBadActiveChannelsHistogramConfig = cms.untracked.PSet(
176  Enabled = cms.untracked.bool(True),
177  NBins = cms.untracked.uint32(353),
178  Min = cms.untracked.double(0),
179  Max = cms.untracked.double(42240)
180  ),
181  TimeHistogramConfig = cms.untracked.PSet(
182  Enabled = cms.untracked.bool(False),
183  NBins = cms.untracked.uint32(600),
184  Min = cms.untracked.double(0),
185  Max = cms.untracked.double(3600)
186  ),
187  nTotalBadChannelsvsTimeHistogramConfig = cms.untracked.PSet(
188  Enabled = cms.untracked.bool(True),
189  NBins = cms.untracked.uint32(600),
190  Min = cms.untracked.double(0),
191  Max = cms.untracked.double(3600)
192  ),
193  nTotalBadActiveChannelsvsTimeHistogramConfig = cms.untracked.PSet(
194  Enabled = cms.untracked.bool(True),
195  NBins = cms.untracked.uint32(600),
196  Min = cms.untracked.double(0),
197  Max = cms.untracked.double(3600)
198  ),
199  nFEDErrorsvsTimeHistogramConfig = cms.untracked.PSet(
200  Enabled = cms.untracked.bool(True),
201  NBins = cms.untracked.uint32(600),
202  Min = cms.untracked.double(0),
203  Max = cms.untracked.double(3600)
204  ),
205  fedErrorsVsIdVsLumiHistogramConfig = cms.untracked.PSet(
206  Enabled = cms.untracked.bool(True),
207  NBins = cms.untracked.uint32(250),
208  Min = cms.untracked.double(0),
209  Max = cms.untracked.double(5000),
210  globalswitchon = cms.untracked.bool(False)
211  ),
212  nFEDCorruptBuffersvsTimeHistogramConfig = cms.untracked.PSet(
213  Enabled = cms.untracked.bool(True),
214  NBins = cms.untracked.uint32(600),
215  Min = cms.untracked.double(0),
216  Max = cms.untracked.double(3600)
217  ),
218  nFEDsWithFEProblemsvsTimeHistogramConfig = cms.untracked.PSet(
219  Enabled = cms.untracked.bool(True),
220  NBins = cms.untracked.uint32(600),
221  Min = cms.untracked.double(0),
222  Max = cms.untracked.double(3600)
223  ),
224  nAPVStatusBitvsTimeHistogramConfig = cms.untracked.PSet(
225  Enabled = cms.untracked.bool(True),
226  NBins = cms.untracked.uint32(600),
227  Min = cms.untracked.double(0),
228  Max = cms.untracked.double(3600)
229  ),
230  nAPVErrorvsTimeHistogramConfig = cms.untracked.PSet(
231  Enabled = cms.untracked.bool(True),
232  NBins = cms.untracked.uint32(600),
233  Min = cms.untracked.double(0),
234  Max = cms.untracked.double(3600)
235  ),
236  nAPVAddressErrorvsTimeHistogramConfig = cms.untracked.PSet(
237  Enabled = cms.untracked.bool(True),
238  NBins = cms.untracked.uint32(600),
239  Min = cms.untracked.double(0),
240  Max = cms.untracked.double(3600)
241  ),
242  nUnlockedvsTimeHistogramConfig = cms.untracked.PSet(
243  Enabled = cms.untracked.bool(True),
244  NBins = cms.untracked.uint32(600),
245  Min = cms.untracked.double(0),
246  Max = cms.untracked.double(3600)
247  ),
248  nOutOfSyncvsTimeHistogramConfig = cms.untracked.PSet(
249  Enabled = cms.untracked.bool(True),
250  NBins = cms.untracked.uint32(600),
251  Min = cms.untracked.double(0),
252  Max = cms.untracked.double(3600)
253  ),
254  FedMaxEventSizevsTimeHistogramConfig = cms.untracked.PSet(
255  Enabled = cms.untracked.bool(True),
256  NBins = cms.untracked.uint32(600),
257  Min = cms.untracked.double(0),
258  Max = cms.untracked.double(3600)
259  ),
260  FedIdVsApvIdHistogramConfig = cms.untracked.PSet(
261  Enabled = cms.untracked.bool(True)
262  ),
263  FedErrorsVsIdHistogramConfig = cms.untracked.PSet(
264  Enabled = cms.untracked.bool(True)
265  )
266  )