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 
19  MonitorSiStripCabling = cms.bool(False),
20  MonitorSiStripLowThreshold = cms.bool(False),
21  MonitorSiStripHighThreshold= cms.bool(False) ,
22 
23 
24  FillConditions_PSet = cms.PSet(
25  FolderName_For_QualityAndCabling_SummaryHistos= cms.string("SiStrip/Tracks"),
26  Mod_On = cms.bool(False),
27  HistoMaps_On = cms.bool(False),
28  SummaryOnStringLevel_On = cms.bool(False),
29  SummaryOnLayerLevel_On = cms.bool(True),
30  GrandSummary_On = cms.bool(False),
31  StripQualityLabel = cms.string(''),
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  SiStripCablingDQM_PSet = cms.PSet(
48 
49  CondObj_fillId = cms.string('onlyProfile'),
50  CondObj_name = cms.string('fedcabling')
51  ),
52 
53  # -----
54  SiStripLowThresholdDQM_PSet = cms.PSet(
55 
56  WhichThreshold= cms.string('Low'),
57 
58  CondObj_fillId = cms.string('onlyProfile'),
59  CondObj_name = cms.string('lowthreshold'),
60 
61  FillSummaryAtLayerLevel= cms.bool(True),
62  FillSummaryProfileAtLayerLevel=cms.bool(False),
63 
64 
65  Profile_description = cms.string('Profile_LowThresholdFromCondDB'),
66  Profile_xTitle = cms.string('Strip Number'),
67  Profile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
68 
69  SummaryOfProfile_description = cms.string('ProfileSummary_LowThresholdFromCondDB'),
70  SummaryOfProfile_xTitle = cms.string('Strip Number'),
71  SummaryOfProfile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
72  SummaryOfProfile_NchY = cms.int32(100),
73  SummaryOfProfile_LowY = cms.double(0),
74  SummaryOfProfile_HighY = cms.double(10),
75 
76 
77 
78  Summary_description = cms.string('Summary_LowThresholdFromCondDB'),
79  Summary_xTitle = cms.string('detId'),
80  Summary_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
81  Summary_NchY = cms.int32(100),
82  Summary_LowY = cms.double(0),
83  Summary_HighY = cms.double(10)
84  ),
85 
86  # -----
87  SiStripHighThresholdDQM_PSet = cms.PSet(
88 
89  WhichThreshold= cms.string('High'),
90 
91  CondObj_fillId = cms.string('onlyProfile'),
92  CondObj_name = cms.string('highthreshold'),
93 
94  FillSummaryAtLayerLevel= cms.bool(True),
95  FillSummaryProfileAtLayerLevel=cms.bool(False),
96 
97 
98  Profile_description = cms.string('Profile_HighThresholdFromCondDB'),
99  Profile_xTitle = cms.string('Strip Number'),
100  Profile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
101 
102  SummaryOfProfile_description = cms.string('ProfileSummary_HighThresholdFromCondDB'),
103  SummaryOfProfile_xTitle = cms.string('Strip Number'),
104  SummaryOfProfile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
105  SummaryOfProfile_NchY = cms.int32(100),
106  SummaryOfProfile_LowY = cms.double(0),
107  SummaryOfProfile_HighY = cms.double(10),
108 
109 
110 
111  Summary_description = cms.string('Summary_HighThresholdFromCondDB'),
112  Summary_xTitle = cms.string('detId'),
113  Summary_yTitle = cms.string('High Threshold from CondDB(ADC)'),
114  Summary_NchY = cms.int32(100),
115  Summary_LowY = cms.double(0),
116  Summary_HighY = cms.double(10)
117  ),
118 
119  # -----
120  SiStripApvGainsDQM_PSet = cms.PSet(
121 
122  CondObj_name = cms.string('apvgain'),
123  CondObj_fillId = cms.string('onlyProfile'),
124 
125  FillSummaryAtLayerLevel = cms.bool(True),
126  FillSummaryProfileAtLayerLevel = cms.bool(False),
127 
128  Profile_description = cms.string('Profile_ApvGainFromCondDB'),
129  Profile_xTitle = cms.string('Apv Number'),
130  Profile_yTitle = cms.string('ApvGain from CondDB'),
131 
132  Cumul_description = cms.string('ApvGainFromCondDB'),
133  Cumul_xTitle = cms.string('ApvGain from CondDB'),
134  Cumul_yTitle = cms.string(' '),
135  Cumul_NchX = cms.int32(50),
136  Cumul_LowX = cms.double(0.5),
137  Cumul_HighX = cms.double(1.5),
138 
139  SummaryOfProfile_description = cms.string('ProfileSummary_ApvGainFromCondDB'),
140  SummaryOfProfile_xTitle = cms.string('Apv Number'),
141  SummaryOfProfile_yTitle = cms.string('ApvGain from CondDB'),
142  SummaryOfProfile_NchY = cms.int32(50),
143  SummaryOfProfile_LowY = cms.double(0.5),
144  SummaryOfProfile_HighY = cms.double(1.5),
145 
146  Summary_description = cms.string('Summary_ApvGainFromCondDB'),
147  Summary_xTitle = cms.string('detId'),
148  Summary_yTitle = cms.string('ApvGain from CondDB'),
149  Summary_NchY = cms.int32(50),
150  Summary_LowY = cms.double(0.5),
151  Summary_HighY = cms.double(1.5)
152 
153  ),
154 
155  # -----
156  SiStripQualityDQM_PSet = cms.PSet(
157 
158  CondObj_name = cms.string('quality'),
159  CondObj_fillId = cms.string('ProfileAndCumul'),
160 
161  FillSummaryAtLayerLevel = cms.bool(True),
162 
163  Profile_description = cms.string('Profile_QualityFlagFromCondDB'),
164  Profile_xTitle = cms.string('Strip Number'),
165  Profile_yTitle = cms.string('Quality Flag from CondDB'),
166 
167  Summary_description = cms.string('Summary_FractionOfBadStripsFromCondDB'),
168  Summary_xTitle = cms.string('detId'),
169  Summary_yTitle = cms.string('Fraction of bad strips from CondDB(%)'),
170  Summary_NchY = cms.int32(100),
171  Summary_LowY = cms.double(0.5),
172  Summary_HighY = cms.double(100.5),
173 
174  Summary_BadObjects_histo_xTitle =cms.string('Sub Det And Layer'),
175 
176  Summary_BadModules_histo_name =cms.string('Summary_BadModules_FromCondDB'),
177  Summary_BadModules_histo_yTitle =cms.string('Number of bad Modules from CondDB'),
178 
179  Summary_BadFibers_histo_name =cms.string('Summary_BadFibers_FromCondDB'),
180  Summary_BadFibers_histo_yTitle =cms.string('Number of bad Fibers from CondDB'),
181 
182  Summary_BadApvs_histo_name =cms.string('Summary_BadApvs_FromCondDB'),
183  Summary_BadApvs_histo_yTitle =cms.string('Number of bad Apvs from CondDB'),
184 
185  Summary_BadStrips_histo_name =cms.string('Summary_BadStrips_FromCondDB'),
186  Summary_BadStrips_histo_yTitle =cms.string('Number of bad Strips from CondDB'),
187 
188  SummaryOfCumul_description =cms.string('CumulativeSummary_SiStripQualityFromCondDB'),
189  SummaryOfCumul_xTitle =cms.string('SiStripQualityfrom CondDB'),
190  SummaryOfCumul_yTitle =cms.string(' '),
191 
192  SummaryOfCumul_NchX = cms.int32(100),
193  SummaryOfCumul_LowX = cms.double(0.0),
194  SummaryOfCumul_HighX = cms.double(100.0)
195 
196  ),
197 
198  # -----
199  SiStripLorentzAngleDQM_PSet = cms.PSet(
200 
201  CondObj_name = cms.string('lorentzangle'),
202  CondObj_fillId = cms.string('none'),
203 
204  FillSummaryProfileAtLayerLevel = cms.bool(False),
205  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
206 
207  SummaryOfCumul_description = cms.string('ProfileSummary_LorentzAngleFromCondDB'),
208  SummaryOfCumul_xTitle = cms.string('LorentzAngle from CondDB'),
209  SummaryOfCumul_yTitle = cms.string(' '),
210  SummaryOfCumul_NchX = cms.int32(50),
211  SummaryOfCumul_LowX = cms.double(0.01),
212  SummaryOfCumul_HighX = cms.double(0.06),
213 
214  SummaryOfProfile_description = cms.string('Summary_LorentzAngleFromCondDB'),
215  SummaryOfProfile_xTitle = cms.string('detId'),
216  SummaryOfProfile_yTitle = cms.string('LorentzAngle from CondDB'),
217  SummaryOfProfile_NchY = cms.int32(50),
218  SummaryOfProfile_LowY = cms.double(0.01),
219  SummaryOfProfile_HighY = cms.double(0.06)
220 
221  ),
222 
223  # -----
224  SiStripNoisesDQM_PSet = cms.PSet(
225 
226  CondObj_fillId = cms.string('onlyProfile'),
227  CondObj_name = cms.string('noise'),
228 
229  GainRenormalisation = cms.bool(False),
230 
231  FillSummaryAtLayerLevel = cms.bool(True),
232  FillSummaryProfileAtLayerLevel = cms.bool(False),
233  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
234 
235  Profile_description = cms.string('Profile_NoiseFromCondDB'),
236  Profile_xTitle = cms.string('Strip Number'),
237  Profile_yTitle = cms.string('Noise from CondDB(ADC)'),
238 
239  Cumul_description = cms.string('NoiseFromCondDB'),
240  Cumul_xTitle = cms.string('Noise from CondDB(ADC)'),
241  Cumul_yTitle = cms.string(' '),
242  Cumul_NchX = cms.int32(50),
243  Cumul_LowX = cms.double(0.0),
244  Cumul_HighX = cms.double(6.0),
245 
246  SummaryOfProfile_description = cms.string('ProfileSummary_NoiseFromCondDB'),
247  SummaryOfProfile_xTitle = cms.string('Strip Number'),
248  SummaryOfProfile_yTitle = cms.string('Noise from CondDB(ADC)'),
249  SummaryOfProfile_NchY = cms.int32(50),
250  SummaryOfProfile_LowY = cms.double(0.0),
251  SummaryOfProfile_HighY = cms.double(6.0),
252 
253  Summary_description = cms.string('Summary_NoiseFromCondDB'),
254  Summary_xTitle = cms.string('detId'),
255  Summary_yTitle = cms.string('Noise from CondDB(ADC)'),
256  Summary_NchY = cms.int32(50),
257  Summary_LowY = cms.double(0.0),
258  Summary_HighY = cms.double(6.0),
259 
260  SummaryOfCumul_description = cms.string('CumulativeSummary_NoiseFromCondDB'),
261  SummaryOfCumul_xTitle = cms.string('Noise from CondDB'),
262  SummaryOfCumul_yTitle = cms.string(' '),
263  SummaryOfCumul_NchX = cms.int32(50),
264  SummaryOfCumul_LowX = cms.double(0.0),
265  SummaryOfCumul_HighX = cms.double(10.0)
266 
267  ),
268 
269  # -----
270  SiStripPedestalsDQM_PSet = cms.PSet(
271 
272  CondObj_fillId = cms.string('onlyProfile'),
273  CondObj_name = cms.string('pedestal'),
274 
275  FillSummaryAtLayerLevel = cms.bool(True),
276  FillSummaryProfileAtLayerLevel = cms.bool(False),
277 
278  Profile_description = cms.string('Profile_PedestalFromCondDB'),
279  Profile_xTitle = cms.string('Strip Number'),
280  Profile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
281 
282  SummaryOfProfile_description = cms.string('ProfileSummary_PedestalFromCondDB'),
283  SummaryOfProfile_xTitle = cms.string('Strip Number'),
284  SummaryOfProfile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
285  SummaryOfProfile_NchY = cms.int32(100),
286  SummaryOfProfile_LowY = cms.double(0.0),
287  SummaryOfProfile_HighY = cms.double(1000.0),
288 
289  Summary_description = cms.string('Summary_PedestalFromCondDB'),
290  Summary_xTitle = cms.string('detId'),
291  Summary_yTitle = cms.string('Pedestal from CondDB(ADC)'),
292  Summary_NchY = cms.int32(100),
293  Summary_LowY = cms.double(0.0),
294  Summary_HighY = cms.double(1000.0)
295 
296  )
297 
298 )
299 
300