CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQM/SiStripMonitorSummary/python/SiStripMonitorCondDataOnDemandExample_cfi.py

Go to the documentation of this file.
00001 # The following comments couldn't be translated into the new config version:
00002 
00003 # combinations of {"TIB","TOB","TID","TEC" }
00004 # *** other restricting specifications
00005 
00006 import FWCore.ParameterSet.Config as cms
00007 
00008 myOnDemandExample = cms.EDAnalyzer("SiStripMonitorCondDataOnDemandExample",
00009 
00010      OutputMEsInRootFile = cms.bool(True),
00011      OutputFileName = cms.string('SiStripMonitorCondDataOnDemandExample.root'),
00012      
00013      MonitorSiStripPedestal     = cms.bool(True),
00014      MonitorSiStripNoise        = cms.bool(True),
00015      MonitorSiStripQuality      = cms.bool(True),
00016      MonitorSiStripApvGain      = cms.bool(False),
00017      MonitorSiStripLorentzAngle = cms.bool(False),
00018      
00019      MonitorSiStripCabling      = cms.bool(False),
00020      MonitorSiStripLowThreshold = cms.bool(False),
00021      MonitorSiStripHighThreshold= cms.bool(False) ,    
00022      
00023 
00024      FillConditions_PSet = cms.PSet(     
00025       FolderName_For_QualityAndCabling_SummaryHistos= cms.string("SiStrip/Tracks"),
00026       Mod_On                  = cms.bool(False),
00027       HistoMaps_On            = cms.bool(False),
00028       SummaryOnStringLevel_On = cms.bool(False),
00029       SummaryOnLayerLevel_On  = cms.bool(True),
00030       GrandSummary_On         = cms.bool(False),
00031       StripQualityLabel       = cms.string(''),
00032         
00033       #  exclude OR include a set of modules
00034       restrictModules         = cms.bool(False),
00035 
00036       ModulesToBeIncluded     = cms.vuint32(), #e.g. {369120277, 369120278, 369120282}
00037       ModulesToBeExcluded     = cms.vuint32(),
00038         
00039       # exclude a subdetector
00040       SubDetectorsToBeExcluded = cms.vstring('none'), #possibilities : "none" or
00041                                                       #combinations of {"TIB","TOB","TID","TEC" }
00042       ModulesToBeFilled = cms.string('all') 
00043                
00044     ),
00045     # -----
00046 
00047     SiStripCablingDQM_PSet = cms.PSet(
00048     
00049       CondObj_fillId       = cms.string('onlyProfile'),
00050       CondObj_name         = cms.string('fedcabling')
00051     ), 
00052     
00053     # -----
00054     SiStripLowThresholdDQM_PSet = cms.PSet(
00055 
00056       WhichThreshold= cms.string('Low'),
00057 
00058       CondObj_fillId = cms.string('onlyProfile'), 
00059       CondObj_name   = cms.string('lowthreshold'),  
00060 
00061       FillSummaryAtLayerLevel= cms.bool(True),
00062       FillSummaryProfileAtLayerLevel=cms.bool(False),
00063 
00064 
00065       Profile_description = cms.string('Profile_LowThresholdFromCondDB'),
00066       Profile_xTitle      = cms.string('Strip Number'),
00067       Profile_yTitle      = cms.string('Low Threshold from CondDB(ADC)'),
00068         
00069       SummaryOfProfile_description = cms.string('ProfileSummary_LowThresholdFromCondDB'),
00070       SummaryOfProfile_xTitle      = cms.string('Strip Number'),
00071       SummaryOfProfile_yTitle      = cms.string('Low Threshold from CondDB(ADC)'),      
00072       SummaryOfProfile_NchY        = cms.int32(100),
00073       SummaryOfProfile_LowY        = cms.double(0),
00074       SummaryOfProfile_HighY       = cms.double(10),
00075 
00076         
00077         
00078       Summary_description   = cms.string('Summary_LowThresholdFromCondDB'),
00079       Summary_xTitle        = cms.string('detId'),
00080       Summary_yTitle        = cms.string('Low Threshold from CondDB(ADC)'),
00081       Summary_NchY          = cms.int32(100),
00082       Summary_LowY          = cms.double(0),
00083       Summary_HighY         = cms.double(10)
00084     ),
00085     
00086     # ----- 
00087     SiStripHighThresholdDQM_PSet = cms.PSet(
00088 
00089       WhichThreshold= cms.string('High'),
00090 
00091       CondObj_fillId = cms.string('onlyProfile'), 
00092       CondObj_name   = cms.string('highthreshold'),  
00093 
00094       FillSummaryAtLayerLevel= cms.bool(True),
00095       FillSummaryProfileAtLayerLevel=cms.bool(False),
00096 
00097 
00098       Profile_description = cms.string('Profile_HighThresholdFromCondDB'),
00099       Profile_xTitle      = cms.string('Strip Number'),
00100       Profile_yTitle      = cms.string('High Threshold from CondDB(ADC)'),
00101         
00102       SummaryOfProfile_description = cms.string('ProfileSummary_HighThresholdFromCondDB'),
00103       SummaryOfProfile_xTitle      = cms.string('Strip Number'),
00104       SummaryOfProfile_yTitle      = cms.string('High Threshold from CondDB(ADC)'),     
00105       SummaryOfProfile_NchY        = cms.int32(100),
00106       SummaryOfProfile_LowY        = cms.double(0),
00107       SummaryOfProfile_HighY       = cms.double(10),
00108 
00109         
00110         
00111       Summary_description   = cms.string('Summary_HighThresholdFromCondDB'),
00112       Summary_xTitle        = cms.string('detId'),
00113       Summary_yTitle        = cms.string('High Threshold from CondDB(ADC)'),
00114       Summary_NchY          = cms.int32(100),
00115       Summary_LowY          = cms.double(0),
00116       Summary_HighY         = cms.double(10)
00117     ),
00118        
00119     # -----
00120     SiStripApvGainsDQM_PSet = cms.PSet(
00121     
00122       CondObj_name   = cms.string('apvgain'),
00123       CondObj_fillId = cms.string('onlyProfile'),
00124 
00125       FillSummaryAtLayerLevel           = cms.bool(True),
00126       FillSummaryProfileAtLayerLevel    = cms.bool(False),
00127 
00128       Profile_description = cms.string('Profile_ApvGainFromCondDB'),
00129       Profile_xTitle      = cms.string('Apv Number'),
00130       Profile_yTitle      = cms.string('ApvGain from CondDB'),
00131 
00132       Cumul_description   = cms.string('ApvGainFromCondDB'),
00133       Cumul_xTitle        = cms.string('ApvGain from CondDB'),
00134       Cumul_yTitle        = cms.string(' '),        
00135       Cumul_NchX          = cms.int32(50),
00136       Cumul_LowX          = cms.double(0.5),
00137       Cumul_HighX         = cms.double(1.5),
00138 
00139       SummaryOfProfile_description = cms.string('ProfileSummary_ApvGainFromCondDB'),
00140       SummaryOfProfile_xTitle      = cms.string('Apv Number'),
00141       SummaryOfProfile_yTitle      = cms.string('ApvGain from CondDB'),
00142       SummaryOfProfile_NchY        = cms.int32(50),
00143       SummaryOfProfile_LowY        = cms.double(0.5),
00144       SummaryOfProfile_HighY       = cms.double(1.5),
00145 
00146       Summary_description   = cms.string('Summary_ApvGainFromCondDB'),
00147       Summary_xTitle        = cms.string('detId'),
00148       Summary_yTitle        = cms.string('ApvGain from CondDB'),
00149       Summary_NchY          = cms.int32(50),        
00150       Summary_LowY          = cms.double(0.5),
00151       Summary_HighY         = cms.double(1.5)
00152     
00153     ),
00154     
00155     # -----
00156     SiStripQualityDQM_PSet = cms.PSet(
00157 
00158       CondObj_name   = cms.string('quality'),
00159       CondObj_fillId = cms.string('ProfileAndCumul'),
00160       
00161       FillSummaryAtLayerLevel           = cms.bool(True),
00162 
00163       Profile_description = cms.string('Profile_QualityFlagFromCondDB'),
00164       Profile_xTitle      = cms.string('Strip Number'),
00165       Profile_yTitle      = cms.string('Quality Flag from CondDB'),
00166       
00167       Summary_description = cms.string('Summary_FractionOfBadStripsFromCondDB'),
00168       Summary_xTitle      = cms.string('detId'),
00169       Summary_yTitle      = cms.string('Fraction of bad strips from CondDB(%)'),
00170       Summary_NchY        = cms.int32(100),
00171       Summary_LowY        = cms.double(0.5),
00172       Summary_HighY       = cms.double(100.5),
00173 
00174       Summary_BadObjects_histo_xTitle      =cms.string('Sub Det And Layer'),
00175       
00176       Summary_BadModules_histo_name =cms.string('Summary_BadModules_FromCondDB'),
00177       Summary_BadModules_histo_yTitle      =cms.string('Number of bad Modules from CondDB'),
00178       
00179       Summary_BadFibers_histo_name =cms.string('Summary_BadFibers_FromCondDB'),
00180       Summary_BadFibers_histo_yTitle      =cms.string('Number of bad Fibers from CondDB'),
00181       
00182       Summary_BadApvs_histo_name =cms.string('Summary_BadApvs_FromCondDB'),
00183       Summary_BadApvs_histo_yTitle      =cms.string('Number of bad Apvs from CondDB'),
00184       
00185       Summary_BadStrips_histo_name =cms.string('Summary_BadStrips_FromCondDB'),
00186       Summary_BadStrips_histo_yTitle      =cms.string('Number of bad Strips from CondDB'),
00187       
00188       SummaryOfCumul_description   =cms.string('CumulativeSummary_SiStripQualityFromCondDB'),
00189       SummaryOfCumul_xTitle        =cms.string('SiStripQualityfrom CondDB'),
00190       SummaryOfCumul_yTitle        =cms.string(' '),
00191       
00192       SummaryOfCumul_NchX          = cms.int32(100),
00193       SummaryOfCumul_LowX          = cms.double(0.0),
00194       SummaryOfCumul_HighX         = cms.double(100.0)
00195       
00196     ),
00197     
00198     # -----
00199     SiStripLorentzAngleDQM_PSet = cms.PSet(
00200 
00201       CondObj_name = cms.string('lorentzangle'),
00202       CondObj_fillId = cms.string('none'),
00203       
00204       FillSummaryProfileAtLayerLevel = cms.bool(False),
00205       FillCumulativeSummaryAtLayerLevel = cms.bool(True),
00206 
00207       SummaryOfCumul_description = cms.string('ProfileSummary_LorentzAngleFromCondDB'),
00208       SummaryOfCumul_xTitle      = cms.string('LorentzAngle from CondDB'),
00209       SummaryOfCumul_yTitle      = cms.string(' '),
00210       SummaryOfCumul_NchX        = cms.int32(50),      
00211       SummaryOfCumul_LowX        = cms.double(0.01),
00212       SummaryOfCumul_HighX       = cms.double(0.06),
00213       
00214       SummaryOfProfile_description = cms.string('Summary_LorentzAngleFromCondDB'),
00215       SummaryOfProfile_xTitle      = cms.string('detId'),
00216       SummaryOfProfile_yTitle      = cms.string('LorentzAngle from CondDB'),
00217       SummaryOfProfile_NchY        = cms.int32(50),
00218       SummaryOfProfile_LowY        = cms.double(0.01),
00219       SummaryOfProfile_HighY       = cms.double(0.06)     
00220       
00221     ),
00222     
00223     # -----
00224     SiStripNoisesDQM_PSet = cms.PSet(
00225 
00226       CondObj_fillId    = cms.string('onlyProfile'),
00227       CondObj_name      = cms.string('noise'),
00228 
00229       GainRenormalisation               = cms.bool(False),
00230       
00231       FillSummaryAtLayerLevel           = cms.bool(True),
00232       FillSummaryProfileAtLayerLevel    = cms.bool(False),
00233       FillCumulativeSummaryAtLayerLevel = cms.bool(True),
00234       
00235       Profile_description               = cms.string('Profile_NoiseFromCondDB'),
00236       Profile_xTitle                    = cms.string('Strip Number'),
00237       Profile_yTitle                    = cms.string('noise from CondDB(ADC)'),
00238 
00239       Cumul_description = cms.string('NoiseFromCondDB'),
00240       Cumul_xTitle      = cms.string('noise from CondDB(ADC)'),
00241       Cumul_yTitle      = cms.string(' '),
00242       Cumul_NchX        = cms.int32(50),
00243       Cumul_LowX        = cms.double(0.0),
00244       Cumul_HighX       = cms.double(6.0),
00245       
00246       SummaryOfProfile_description = cms.string('ProfileSummary_NoiseFromCondDB'),
00247       SummaryOfProfile_xTitle      = cms.string('Strip Number'),      
00248       SummaryOfProfile_yTitle      = cms.string('noise from CondDB(ADC)'),
00249       SummaryOfProfile_NchY        = cms.int32(50),
00250       SummaryOfProfile_LowY        = cms.double(0.0),
00251       SummaryOfProfile_HighY       = cms.double(6.0),
00252 
00253       Summary_description          = cms.string('Summary_NoiseFromCondDB'),
00254       Summary_xTitle               = cms.string('detId'),
00255       Summary_yTitle               = cms.string('noise from CondDB(ADC)'),
00256       Summary_NchY                 = cms.int32(50),
00257       Summary_LowY                 = cms.double(0.0),
00258       Summary_HighY                = cms.double(6.0),
00259       
00260       SummaryOfCumul_description = cms.string('CumulativeSummary_NoiseFromCondDB'),
00261       SummaryOfCumul_xTitle      = cms.string('noise from CondDB'),
00262       SummaryOfCumul_yTitle      = cms.string(' '),
00263       SummaryOfCumul_NchX        = cms.int32(50),
00264       SummaryOfCumul_LowX        = cms.double(0.0),
00265       SummaryOfCumul_HighX       = cms.double(10.0)
00266       
00267     ),
00268     
00269     # -----
00270     SiStripPedestalsDQM_PSet = cms.PSet(
00271 
00272       CondObj_fillId       = cms.string('onlyProfile'),
00273       CondObj_name         = cms.string('pedestal'),
00274 
00275       FillSummaryAtLayerLevel           = cms.bool(True),
00276       FillSummaryProfileAtLayerLevel    = cms.bool(False),
00277 
00278       Profile_description     = cms.string('Profile_PedestalFromCondDB'),
00279       Profile_xTitle          = cms.string('Strip Number'),
00280       Profile_yTitle          = cms.string('Pedestal from CondDB(ADC)'),
00281       
00282       SummaryOfProfile_description = cms.string('ProfileSummary_PedestalFromCondDB'),
00283       SummaryOfProfile_xTitle = cms.string('Strip Number'),
00284       SummaryOfProfile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
00285       SummaryOfProfile_NchY   = cms.int32(100),
00286       SummaryOfProfile_LowY   = cms.double(0.0),
00287       SummaryOfProfile_HighY  = cms.double(1000.0),
00288 
00289       Summary_description     = cms.string('Summary_PedestalFromCondDB'),
00290       Summary_xTitle          = cms.string('detId'),
00291       Summary_yTitle          = cms.string('Pedestal from CondDB(ADC)'),
00292       Summary_NchY            = cms.int32(100),
00293       Summary_LowY            = cms.double(0.0),
00294       Summary_HighY           = cms.double(1000.0) 
00295       
00296     )
00297 
00298 )
00299 
00300