CMS 3D CMS Logo

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