test
CMS 3D CMS Logo

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