CMS 3D CMS Logo

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