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  # 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 
48  SiStripCablingDQM_PSet = cms.PSet(
49 
50  ActiveDetIds_On = cms.bool(True),
51 
52  TkMap_On = cms.bool(True),
53  TkMapName = cms.string('CablingTkMap.png'),
54  minValue = cms.double(0.),
55  maxValue = cms.double(6.),
56  saturatedFraction = cms.double(.01),
57 
58  CondObj_fillId = cms.string('ProfileAndCumul'),
59  CondObj_name = cms.string('fedcabling')
60  ),
61 
62  # -----
63 
64  SiStripPedestalsDQM_PSet = cms.PSet(
65 
66  ActiveDetIds_On = cms.bool(True),
67 
68  TkMap_On = cms.bool(True),
69  TkMapName = cms.string('PedestalTkMap.png'),
70  minValue = cms.double(0.),
71  maxValue = cms.double(400.),
72  saturatedFraction = cms.double(.01),
73 
74  CondObj_fillId = cms.string('onlyProfile'),
75  CondObj_name = cms.string('pedestal'),
76 
77  FillSummaryAtLayerLevel = cms.bool(True),
78  FillSummaryProfileAtLayerLevel = cms.bool(True),
79 
80  Profile_description = cms.string('Profile_PedestalFromCondDB'),
81  Profile_xTitle = cms.string('Strip Number'),
82  Profile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
83 
84  SummaryOfProfile_description = cms.string('ProfileSummary_PedestalFromCondDB'),
85  SummaryOfProfile_xTitle = cms.string('Strip Number'),
86  SummaryOfProfile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
87  SummaryOfProfile_NchY = cms.int32(100),
88  SummaryOfProfile_LowY = cms.double(0.0),
89  SummaryOfProfile_HighY = cms.double(1000.0),
90 
91  Summary_description = cms.string('Summary_PedestalFromCondDB'),
92  Summary_xTitle = cms.string('detId'),
93  Summary_yTitle = cms.string('Pedestal from CondDB(ADC)'),
94  Summary_NchY = cms.int32(100),
95  Summary_LowY = cms.double(0.0),
96  Summary_HighY = cms.double(1000.0)
97  ),
98 
99  # -----
100 
101  SiStripNoisesDQM_PSet = cms.PSet(
102 
103  ActiveDetIds_On = cms.bool(True),
104 
105  TkMap_On = cms.bool(True),
106  TkMapName = cms.string('NoiseTkMap.png'),
107  minValue = cms.double(3.),
108  maxValue = cms.double(9.),
109  saturatedFraction = cms.double(.01),
110 
111  CondObj_fillId = cms.string('onlyCumul'),
112  CondObj_name = cms.string('noise'),
113 
114  GainRenormalisation = cms.bool(False),
115 
116  FillSummaryAtLayerLevel = cms.bool(True),
117  FillSummaryProfileAtLayerLevel = cms.bool(True),
118  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
119 
120  Profile_description = cms.string('Profile_NoiseFromCondDB'),
121  Profile_xTitle = cms.string('Strip Number'),
122  Profile_yTitle = cms.string('Noise from CondDB(ADC)'),
123 
124  Cumul_description = cms.string('NoiseFromCondDB'),
125  Cumul_xTitle = cms.string('Noise from CondDB(ADC)'),
126  Cumul_yTitle = cms.string(' '),
127  Cumul_NchX = cms.int32(50),
128  Cumul_LowX = cms.double(0.0),
129  Cumul_HighX = cms.double(5.0),
130 
131  SummaryOfProfile_description = cms.string('ProfileSummary_NoiseFromCondDB'),
132  SummaryOfProfile_xTitle = cms.string('Strip Number'),
133  SummaryOfProfile_yTitle = cms.string('Noise from CondDB(ADC)'),
134  SummaryOfProfile_NchY = cms.int32(50),
135  SummaryOfProfile_LowY = cms.double(0.0),
136  SummaryOfProfile_HighY = cms.double(10.0),
137 
138  Summary_description = cms.string('Summary_NoiseFromCondDB'),
139  Summary_xTitle = cms.string('detId'),
140  Summary_yTitle = cms.string('Noise from CondDB(ADC)'),
141  Summary_NchY = cms.int32(50),
142  Summary_LowY = cms.double(0.0),
143  Summary_HighY = cms.double(10.0),
144 
145  SummaryOfCumul_description = cms.string('CumulativeSummary_NoiseFromCondDB'),
146  SummaryOfCumul_xTitle = cms.string('Noise from CondDB'),
147  SummaryOfCumul_yTitle = cms.string(' '),
148  SummaryOfCumul_NchX = cms.int32(50),
149  SummaryOfCumul_LowX = cms.double(0.0),
150  SummaryOfCumul_HighX = cms.double(10.0)
151  ),
152 
153  # -----
154  SiStripQualityDQM_PSet = cms.PSet(
155 
156  ActiveDetIds_On = cms.bool(True),
157 
158  TkMap_On = cms.bool(True),
159  TkMapName = cms.string('QualityTkMap.svg'),
160  minValue = cms.double(0.),
161  maxValue = cms.double(0.),
162  saturatedFraction = cms.double(.01),
163 
164 
165  CondObj_name = cms.string('quality'),
166  CondObj_fillId = cms.string('onlyProfile'),
167 
168  FillSummaryAtLayerLevel = cms.bool(True),
169 
170  Profile_description = cms.string('Profile_QualityFlagFromCondDB'),
171  Profile_xTitle = cms.string('Strip Number'),
172  Profile_yTitle = cms.string('Quality Flag from CondDB'),
173 
174  Summary_description = cms.string('Summary_FractionOfBadStripsFromCondDB'),
175  Summary_xTitle = cms.string('detId'),
176  Summary_yTitle = cms.string('Fraction of bad strips from CondDB(%)'),
177  Summary_NchY = cms.int32(100),
178  Summary_LowY = cms.double(0.5),
179  Summary_HighY = cms.double(100.5),
180 
181  Summary_BadObjects_histo_xTitle =cms.string('Sub Det And Layer'),
182 
183  Summary_BadModules_histo_name =cms.string('Summary_BadModules_FromCondDB'),
184  Summary_BadModules_histo_yTitle =cms.string('Number of bad Modules from CondDB'),
185 
186  Summary_BadFibers_histo_name =cms.string('Summary_BadFibers_FromCondDB'),
187  Summary_BadFibers_histo_yTitle =cms.string('Number of bad Fibers from CondDB'),
188 
189  Summary_BadApvs_histo_name =cms.string('Summary_BadApvs_FromCondDB'),
190  Summary_BadApvs_histo_yTitle =cms.string('Number of bad Apvs from CondDB'),
191 
192  Summary_BadStrips_histo_name =cms.string('Summary_BadStrips_FromCondDB'),
193  Summary_BadStrips_histo_yTitle =cms.string('Number of bad Strips from CondDB'),
194 
195  SummaryOfCumul_description =cms.string('CumulativeSummary_SiStripQualityFromCondDB'),
196  SummaryOfCumul_xTitle =cms.string('SiStripQualityfrom CondDB'),
197  SummaryOfCumul_yTitle =cms.string(' '),
198 
199  SummaryOfCumul_NchX = cms.int32(100),
200  SummaryOfCumul_LowX = cms.double(0.0),
201  SummaryOfCumul_HighX = cms.double(100.0)
202 
203  ),
204 
205  # -----
206  SiStripApvGainsDQM_PSet = cms.PSet(
207 
208  ActiveDetIds_On = cms.bool(True),
209 
210  TkMap_On = cms.bool(True),
211  TkMapName = cms.string('GainTkMap.svg'),
212  minValue = cms.double(0.),
213  maxValue = cms.double(1.5),
214  saturatedFraction = cms.double(.01),
215 
216  CondObj_name = cms.string('apvgain'),
217  CondObj_fillId = cms.string('ProfileAndCumul'),
218 
219  FillSummaryAtLayerLevel = cms.bool(True),
220  FillSummaryProfileAtLayerLevel = cms.bool(True),
221 
222  Profile_description = cms.string('Profile_ApvGainFromCondDB'),
223  Profile_xTitle = cms.string('Apv Number'),
224  Profile_yTitle = cms.string('ApvGain from CondDB'),
225 
226  Cumul_description = cms.string('ApvGainFromCondDB'),
227  Cumul_xTitle = cms.string('ApvGain from CondDB'),
228  Cumul_yTitle = cms.string(' '),
229  Cumul_NchX = cms.int32(50),
230  Cumul_LowX = cms.double(0.5),
231  Cumul_HighX = cms.double(1.5),
232 
233  SummaryOfProfile_description = cms.string('ProfileSummary_ApvGainFromCondDB'),
234  SummaryOfProfile_xTitle = cms.string('Apv Number'),
235  SummaryOfProfile_yTitle = cms.string('ApvGain from CondDB'),
236  SummaryOfProfile_NchY = cms.int32(50),
237  SummaryOfProfile_LowY = cms.double(0.5),
238  SummaryOfProfile_HighY = cms.double(1.5),
239 
240  Summary_description = cms.string('Summary_ApvGainFromCondDB'),
241  Summary_xTitle = cms.string('detId'),
242  Summary_yTitle = cms.string('ApvGain from CondDB'),
243  Summary_NchY = cms.int32(50),
244  Summary_LowY = cms.double(0.5),
245  Summary_HighY = cms.double(1.5)
246  ),
247 
248  # -----
249 
250  SiStripLorentzAngleDQM_PSet = cms.PSet(
251 
252  ActiveDetIds_On = cms.bool(False),
253 
254  TkMap_On = cms.bool(True),
255  TkMapName = cms.string('LorentzAngleTkMap.png'),
256  minValue = cms.double(0.01),
257  maxValue = cms.double(0.03),
258  saturatedFraction = cms.double(.01),
259 
260  CondObj_name = cms.string('lorentzangle'),
261  CondObj_fillId = cms.string('ProfileAndCumul'),
262 
263  FillSummaryProfileAtLayerLevel = cms.bool(True),
264  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
265 
266  SummaryOfCumul_description = cms.string('ProfileSummary_LorentzAngleFromCondDB'),
267  SummaryOfCumul_xTitle = cms.string('LorentzAngle from CondDB'),
268  SummaryOfCumul_yTitle = cms.string(' '),
269  SummaryOfCumul_NchX = cms.int32(50),
270  SummaryOfCumul_LowX = cms.double(0.01),
271  SummaryOfCumul_HighX = cms.double(0.06),
272 
273  SummaryOfProfile_description = cms.string('Summary_LorentzAngleFromCondDB'),
274  SummaryOfProfile_xTitle = cms.string('detId'),
275  SummaryOfProfile_yTitle = cms.string('LorentzAngle from CondDB'),
276  SummaryOfProfile_NchY = cms.int32(50),
277  SummaryOfProfile_LowY = cms.double(0.01),
278  SummaryOfProfile_HighY = cms.double(0.06)
279  ),
280 
281  # -----
282 
283  SiStripLowThresholdDQM_PSet = cms.PSet(
284 
285  ActiveDetIds_On = cms.bool(True),
286 
287  TkMap_On = cms.bool(True),
288  TkMapName = cms.string('LowThresholdTkMap.png'),
289  minValue = cms.double(0.),
290  maxValue = cms.double(10.),
291  saturatedFraction = cms.double(.01),
292 
293  WhichThreshold= cms.string('Low'),
294 
295  CondObj_fillId = cms.string('onlyProfile'),
296  CondObj_name = cms.string('lowthreshold'),
297 
298  FillSummaryAtLayerLevel= cms.bool(True),
299  FillSummaryProfileAtLayerLevel=cms.bool(True),
300  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
301 
302  Profile_description = cms.string('Profile_LowThresholdFromCondDB'),
303  Profile_xTitle = cms.string('Strip Number'),
304  Profile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
305 
306  SummaryOfProfile_description = cms.string('ProfileSummary_LowThresholdFromCondDB'),
307  SummaryOfProfile_xTitle = cms.string('Strip Number'),
308  SummaryOfProfile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
309  SummaryOfProfile_NchY = cms.int32(100),
310  SummaryOfProfile_LowY = cms.double(0),
311  SummaryOfProfile_HighY = cms.double(10),
312 
313  Summary_description = cms.string('Summary_LowThresholdFromCondDB'),
314  Summary_xTitle = cms.string('detId'),
315  Summary_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
316  Summary_NchY = cms.int32(100),
317  Summary_LowY = cms.double(0),
318  Summary_HighY = cms.double(10)
319  ),
320 
321 
322  # -----
323 
324  SiStripHighThresholdDQM_PSet = cms.PSet(
325 
326  ActiveDetIds_On = cms.bool(True),
327 
328  TkMap_On = cms.bool(True),
329  TkMapName = cms.string('HighThresholdTkMap.png'),
330  minValue = cms.double(0.),
331  maxValue = cms.double(10.),
332  saturatedFraction = cms.double(.01),
333 
334  WhichThreshold= cms.string('High'),
335 
336  CondObj_fillId = cms.string('onlyProfile'),
337  CondObj_name = cms.string('highthreshold'),
338 
339  FillSummaryAtLayerLevel= cms.bool(True),
340  FillSummaryProfileAtLayerLevel=cms.bool(True),
341  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
342 
343  Profile_description = cms.string('Profile_HighThresholdFromCondDB'),
344  Profile_xTitle = cms.string('Strip Number'),
345  Profile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
346 
347  SummaryOfProfile_description = cms.string('ProfileSummary_HighThresholdFromCondDB'),
348  SummaryOfProfile_xTitle = cms.string('Strip Number'),
349  SummaryOfProfile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
350  SummaryOfProfile_NchY = cms.int32(100),
351  SummaryOfProfile_LowY = cms.double(0),
352  SummaryOfProfile_HighY = cms.double(10),
353 
354  Summary_description = cms.string('Summary_HighThresholdFromCondDB'),
355  Summary_xTitle = cms.string('detId'),
356  Summary_yTitle = cms.string('High Threshold from CondDB(ADC)'),
357  Summary_NchY = cms.int32(100),
358  Summary_LowY = cms.double(0),
359  Summary_HighY = cms.double(10)
360  )
361 
362 )