CMS 3D CMS Logo

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