CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OnDemandMonitoring_cfi.py
Go to the documentation of this file.
2 
3 OnDemandMonitoring = cms.EDAnalyzer("SiStripMonitorCondDataOnDemandExample",
4 
5  OutputMEsInRootFile = cms.bool(False),
6  OutputFileName = cms.string('SiStripMonitorCondDataOnDemandExample.root'),
7 
8  MonitorSiStripPedestal = cms.bool(False),
9  MonitorSiStripNoise = cms.bool(True),
10  MonitorSiStripQuality = cms.bool(True),
11  MonitorSiStripApvGain = cms.bool(False),
12  MonitorSiStripLorentzAngle = cms.bool(False),
13  MonitorSiStripCabling = cms.bool(False),
14  MonitorSiStripLowThreshold = cms.bool(False),
15  MonitorSiStripHighThreshold= cms.bool(False) ,
16 
17 
18  FillConditions_PSet = cms.PSet(
19  FolderName_For_QualityAndCabling_SummaryHistos= cms.string("SiStrip/Tracks"),
20  OutputSummaryAtLayerLevelAsImage = cms.bool(False),
21  OutputSummaryProfileAtLayerLevelAsImage = cms.bool(False),
22  OutputCumulativeSummaryAtLayerLevelAsImage = cms.bool(False),
23  Mod_On = cms.bool(False),
24  HistoMaps_On = cms.bool(False),
25  SummaryOnStringLevel_On = cms.bool(False),
26  SummaryOnLayerLevel_On = cms.bool(False),
27  GrandSummary_On = cms.bool(False),
28  StripQualityLabel = cms.string(''),
29 
30  ActiveDetIds_On = cms.bool(False),
31  TkMap_On = cms.bool(False),
32 
33  # exclude OR include a set of modules
34  restrictModules = cms.bool(False),
35 
36  ModulesToBeIncluded = cms.vuint32(), #e.g. {369120277, 369120278, 369120282}
37  ModulesToBeExcluded = cms.vuint32(),
38 
39  # exclude a subdetector
40  SubDetectorsToBeExcluded = cms.vstring('none'), #possibilities : "none" or
41  #combinations of {"TIB","TOB","TID","TEC" }
42  ModulesToBeFilled = cms.string('all')
43 
44  ),
45  # -----
46 
47  SiStripCablingDQM_PSet = cms.PSet(
48 
49  ActiveDetIds_On = cms.bool(True),
50 
51  TkMap_On = cms.bool(False),
52  TkMapName = cms.string('CablingTkMap.png'),
53  minValue = cms.double(0.),
54  maxValue = cms.double(6.),
55 
56  CondObj_fillId = cms.string('onlyProfile'),
57  CondObj_name = cms.string('fedcabling')
58  ),
59 
60  # -----
61  SiStripLowThresholdDQM_PSet = cms.PSet(
62 
63  ActiveDetIds_On = cms.bool(True),
64 
65  TkMap_On = cms.bool(False),
66  TkMapName = cms.string('LowThresholdTkMap.png'),
67  minValue = cms.double(0.),
68  maxValue = cms.double(10.),
69 
70  WhichThreshold= cms.string('Low'),
71 
72  CondObj_fillId = cms.string('onlyProfile'),
73  CondObj_name = cms.string('lowthreshold'),
74 
75  FillSummaryAtLayerLevel= cms.bool(True),
76  FillSummaryProfileAtLayerLevel=cms.bool(False),
77  FillCumulativeSummaryAtLayerLevel = cms.bool(False),
78 
79  Profile_description = cms.string('Profile_LowThresholdFromCondDB'),
80  Profile_xTitle = cms.string('Strip Number'),
81  Profile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
82 
83  SummaryOfProfile_description = cms.string('ProfileSummary_LowThresholdFromCondDB'),
84  SummaryOfProfile_xTitle = cms.string('Strip Number'),
85  SummaryOfProfile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
86  SummaryOfProfile_NchY = cms.int32(100),
87  SummaryOfProfile_LowY = cms.double(0),
88  SummaryOfProfile_HighY = cms.double(10),
89 
90 
91 
92  Summary_description = cms.string('Summary_LowThresholdFromCondDB'),
93  Summary_xTitle = cms.string('detId'),
94  Summary_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
95  Summary_NchY = cms.int32(100),
96  Summary_LowY = cms.double(0),
97  Summary_HighY = cms.double(10)
98  ),
99 
100  # -----
101  SiStripHighThresholdDQM_PSet = cms.PSet(
102 
103  ActiveDetIds_On = cms.bool(True),
104 
105  TkMap_On = cms.bool(False),
106  TkMapName = cms.string('HighThresholdTkMap.png'),
107  minValue = cms.double(0.),
108  maxValue = cms.double(10.),
109 
110  WhichThreshold= cms.string('High'),
111 
112  CondObj_fillId = cms.string('onlyProfile'),
113  CondObj_name = cms.string('highthreshold'),
114 
115  FillSummaryAtLayerLevel= cms.bool(True),
116  FillSummaryProfileAtLayerLevel=cms.bool(False),
117  FillCumulativeSummaryAtLayerLevel = cms.bool(False),
118 
119  Profile_description = cms.string('Profile_HighThresholdFromCondDB'),
120  Profile_xTitle = cms.string('Strip Number'),
121  Profile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
122 
123  SummaryOfProfile_description = cms.string('ProfileSummary_HighThresholdFromCondDB'),
124  SummaryOfProfile_xTitle = cms.string('Strip Number'),
125  SummaryOfProfile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
126  SummaryOfProfile_NchY = cms.int32(100),
127  SummaryOfProfile_LowY = cms.double(0),
128  SummaryOfProfile_HighY = cms.double(10),
129 
130 
131  Summary_description = cms.string('Summary_HighThresholdFromCondDB'),
132  Summary_xTitle = cms.string('detId'),
133  Summary_yTitle = cms.string('High Threshold from CondDB(ADC)'),
134  Summary_NchY = cms.int32(100),
135  Summary_LowY = cms.double(0),
136  Summary_HighY = cms.double(10)
137  ),
138 
139  # -----
140  SiStripApvGainsDQM_PSet = cms.PSet(
141 
142  ActiveDetIds_On = cms.bool(True),
143 
144  TkMap_On = cms.bool(False),
145  TkMapName = cms.string('GainTkMap.svg'),
146  minValue = cms.double(0.),
147  maxValue = cms.double(1.5),
148 
149  CondObj_name = cms.string('apvgain'),
150  CondObj_fillId = cms.string('ProfileAndCumul'),
151 
152  FillSummaryAtLayerLevel = cms.bool(True),
153  FillSummaryProfileAtLayerLevel = cms.bool(False),
154 
155  Profile_description = cms.string('Profile_ApvGainFromCondDB'),
156  Profile_xTitle = cms.string('Apv Number'),
157  Profile_yTitle = cms.string('ApvGain from CondDB'),
158 
159  Cumul_description = cms.string('ApvGainFromCondDB'),
160  Cumul_xTitle = cms.string('ApvGain from CondDB'),
161  Cumul_yTitle = cms.string(' '),
162  Cumul_NchX = cms.int32(50),
163  Cumul_LowX = cms.double(0.5),
164  Cumul_HighX = cms.double(1.5),
165 
166  SummaryOfProfile_description = cms.string('ProfileSummary_ApvGainFromCondDB'),
167  SummaryOfProfile_xTitle = cms.string('Apv Number'),
168  SummaryOfProfile_yTitle = cms.string('ApvGain from CondDB'),
169  SummaryOfProfile_NchY = cms.int32(50),
170  SummaryOfProfile_LowY = cms.double(0.5),
171  SummaryOfProfile_HighY = cms.double(1.5),
172 
173  Summary_description = cms.string('Summary_ApvGainFromCondDB'),
174  Summary_xTitle = cms.string('detId'),
175  Summary_yTitle = cms.string('ApvGain from CondDB'),
176  Summary_NchY = cms.int32(50),
177  Summary_LowY = cms.double(0.5),
178  Summary_HighY = cms.double(1.5)
179 
180  ),
181 
182  # -----
183  SiStripQualityDQM_PSet = cms.PSet(
184 
185  ActiveDetIds_On = cms.bool(True),
186 
187  TkMap_On = cms.bool(False),
188  TkMapName = cms.string('QualityTkMap.svg'),
189  minValue = cms.double(0.),
190  maxValue = cms.double(100.),
191 
192  CondObj_name = cms.string('quality'),
193  CondObj_fillId = cms.string('onlyProfile'),
194 
195  FillSummaryAtLayerLevel = cms.bool(True),
196 
197  Profile_description = cms.string('Profile_QualityFlagFromCondDB'),
198  Profile_xTitle = cms.string('Strip Number'),
199  Profile_yTitle = cms.string('Quality Flag from CondDB'),
200 
201  Summary_description = cms.string('Summary_FractionOfBadStripsFromCondDB'),
202  Summary_xTitle = cms.string('detId'),
203  Summary_yTitle = cms.string('Fraction of bad strips from CondDB(%)'),
204  Summary_NchY = cms.int32(100),
205  Summary_LowY = cms.double(0.5),
206  Summary_HighY = cms.double(100.5),
207 
208  Summary_BadObjects_histo_xTitle =cms.string('Sub Det And Layer'),
209 
210  Summary_BadModules_histo_name =cms.string('Summary_BadModules_FromCondDB'),
211  Summary_BadModules_histo_yTitle =cms.string('Number of bad Modules from CondDB'),
212 
213  Summary_BadFibers_histo_name =cms.string('Summary_BadFibers_FromCondDB'),
214  Summary_BadFibers_histo_yTitle =cms.string('Number of bad Fibers from CondDB'),
215 
216  Summary_BadApvs_histo_name =cms.string('Summary_BadApvs_FromCondDB'),
217  Summary_BadApvs_histo_yTitle =cms.string('Number of bad Apvs from CondDB'),
218 
219  Summary_BadStrips_histo_name =cms.string('Summary_BadStrips_FromCondDB'),
220  Summary_BadStrips_histo_yTitle =cms.string('Number of bad Strips from CondDB'),
221 
222  SummaryOfCumul_description =cms.string('CumulativeSummary_SiStripQualityFromCondDB'),
223  SummaryOfCumul_xTitle =cms.string('SiStripQualityfrom CondDB'),
224  SummaryOfCumul_yTitle =cms.string(' '),
225 
226  SummaryOfCumul_NchX = cms.int32(100),
227  SummaryOfCumul_LowX = cms.double(0.0),
228  SummaryOfCumul_HighX = cms.double(100.0)
229 
230  ),
231 
232  # -----
233  SiStripLorentzAngleDQM_PSet = cms.PSet(
234 
235  ActiveDetIds_On = cms.bool(False),
236 
237  TkMap_On = cms.bool(False),
238  TkMapName = cms.string('LorentzAngleTkMap.png'),
239  minValue = cms.double(0.01),
240  maxValue = cms.double(0.03),
241 
242  CondObj_name = cms.string('lorentzangle'),
243  CondObj_fillId = cms.string('ProfileAndCumul'),
244 
245  FillSummaryProfileAtLayerLevel = cms.bool(True),
246  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
247 
248  SummaryOfCumul_description = cms.string('ProfileSummary_LorentzAngleFromCondDB'),
249  SummaryOfCumul_xTitle = cms.string('LorentzAngle from CondDB'),
250  SummaryOfCumul_yTitle = cms.string(' '),
251  SummaryOfCumul_NchX = cms.int32(50),
252  SummaryOfCumul_LowX = cms.double(0.01),
253  SummaryOfCumul_HighX = cms.double(0.06),
254 
255  SummaryOfProfile_description = cms.string('Summary_LorentzAngleFromCondDB'),
256  SummaryOfProfile_xTitle = cms.string('detId'),
257  SummaryOfProfile_yTitle = cms.string('LorentzAngle from CondDB'),
258  SummaryOfProfile_NchY = cms.int32(50),
259  SummaryOfProfile_LowY = cms.double(0.01),
260  SummaryOfProfile_HighY = cms.double(0.06)
261 
262  ),
263 
264  # -----
265  SiStripNoisesDQM_PSet = cms.PSet(
266 
267  ActiveDetIds_On = cms.bool(True),
268 
269  TkMap_On = cms.bool(False),
270  TkMapName = cms.string('NoiseTkMap.png'),
271  minValue = cms.double(0.),
272  maxValue = cms.double(6.),
273 
274  CondObj_fillId = cms.string('onlyProfile'),
275  CondObj_name = cms.string('noise'),
276 
277  GainRenormalisation = cms.bool(False),
278 
279  FillSummaryAtLayerLevel = cms.bool(True),
280  FillSummaryProfileAtLayerLevel = cms.bool(True),
281  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
282 
283  Profile_description = cms.string('Profile_NoiseFromCondDB'),
284  Profile_xTitle = cms.string('Strip Number'),
285  Profile_yTitle = cms.string('Noise from CondDB(ADC)'),
286 
287  Cumul_description = cms.string('NoiseFromCondDB'),
288  Cumul_xTitle = cms.string('Noise from CondDB(ADC)'),
289  Cumul_yTitle = cms.string(' '),
290  Cumul_NchX = cms.int32(50),
291  Cumul_LowX = cms.double(0.0),
292  Cumul_HighX = cms.double(6.0),
293 
294  SummaryOfProfile_description = cms.string('ProfileSummary_NoiseFromCondDB'),
295  SummaryOfProfile_xTitle = cms.string('Strip Number'),
296  SummaryOfProfile_yTitle = cms.string('Noise from CondDB(ADC)'),
297  SummaryOfProfile_NchY = cms.int32(50),
298  SummaryOfProfile_LowY = cms.double(0.0),
299  SummaryOfProfile_HighY = cms.double(6.0),
300 
301  Summary_description = cms.string('Summary_NoiseFromCondDB'),
302  Summary_xTitle = cms.string('detId'),
303  Summary_yTitle = cms.string('Noise from CondDB(ADC)'),
304  Summary_NchY = cms.int32(50),
305  Summary_LowY = cms.double(0.0),
306  Summary_HighY = cms.double(6.0),
307 
308  SummaryOfCumul_description = cms.string('CumulativeSummary_NoiseFromCondDB'),
309  SummaryOfCumul_xTitle = cms.string('Noise from CondDB'),
310  SummaryOfCumul_yTitle = cms.string(' '),
311  SummaryOfCumul_NchX = cms.int32(50),
312  SummaryOfCumul_LowX = cms.double(0.0),
313  SummaryOfCumul_HighX = cms.double(10.0)
314 
315  ),
316 
317  # -----
318  SiStripPedestalsDQM_PSet = cms.PSet(
319 
320  ActiveDetIds_On = cms.bool(True),
321 
322  TkMap_On = cms.bool(False),
323  TkMapName = cms.string('PedestalTkMap.png'),
324  minValue = cms.double(0.),
325  maxValue = cms.double(400.),
326 
327  CondObj_fillId = cms.string('onlyProfile'),
328  CondObj_name = cms.string('pedestal'),
329 
330  FillSummaryAtLayerLevel = cms.bool(True),
331  FillSummaryProfileAtLayerLevel = cms.bool(False),
332 
333  Profile_description = cms.string('Profile_PedestalFromCondDB'),
334  Profile_xTitle = cms.string('Strip Number'),
335  Profile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
336 
337  SummaryOfProfile_description = cms.string('ProfileSummary_PedestalFromCondDB'),
338  SummaryOfProfile_xTitle = cms.string('Strip Number'),
339  SummaryOfProfile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
340  SummaryOfProfile_NchY = cms.int32(100),
341  SummaryOfProfile_LowY = cms.double(0.0),
342  SummaryOfProfile_HighY = cms.double(1000.0),
343 
344  Summary_description = cms.string('Summary_PedestalFromCondDB'),
345  Summary_xTitle = cms.string('detId'),
346  Summary_yTitle = cms.string('Pedestal from CondDB(ADC)'),
347  Summary_NchY = cms.int32(100),
348  Summary_LowY = cms.double(0.0),
349  Summary_HighY = cms.double(1000.0)
350 
351  )
352 
353 )
354 
355