Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:53

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.SiStripMonitorSummary.SiStripMonitorCommon_cfi import MonitorSiStrip_PSet
0004 
0005 CondDataMonitoring = cms.EDAnalyzer("SiStripMonitorCondData",
0006 
0007     OutputFileName             = cms.string('SiStripMonitorCondData.root'),
0008                                   
0009     OutputMEsInRootFile        = cms.bool(True),
0010 
0011     MonitorSiStrip_PSet = MonitorSiStrip_PSet.clone(
0012     MonitorSiStripPedestal     = True,
0013     MonitorSiStripNoise        = True,
0014     MonitorSiStripQuality      = True,
0015     MonitorSiStripCabling      = True,
0016     MonitorSiStripLowThreshold = True,
0017     MonitorSiStripHighThreshold= True,
0018     MonitorSiStripApvGain      = True, 
0019     MonitorSiStripLorentzAngle = True,  
0020     MonitorSiStripBackPlaneCorrection = True
0021     ),
0022 
0023     FillConditions_PSet = cms.PSet(
0024       FolderName_For_QualityAndCabling_SummaryHistos= cms.string("SiStrip/Tracks"),
0025       Mod_On                  = cms.bool(False),
0026       HistoMaps_On            = cms.bool(True),
0027       SummaryOnStringLevel_On = cms.bool(False),
0028       SummaryOnLayerLevel_On  = cms.bool(True),
0029       GrandSummary_On         = cms.bool(True),
0030       StripQualityLabel       = cms.string(''),
0031         
0032       #  exclude OR include a set of modules
0033       restrictModules         = cms.bool(False),
0034       ModulesToBeIncluded_DetIdSelector = cms.vstring(
0035 #            "0x1e000000-0x16000000",  #TIB
0036 #            "0x1e000000-0x18000000",  #TID
0037 #            "0x1e006000-0x18002000", #TIDm
0038 #            "0x1e006000-0x18004000", #TIDp
0039 #            "0x1e000000-0x1a000000", #TOB
0040 #            "0x1e000000-0x1c000000", #TEC
0041 #            "0x1e0c0000-0x1c040000", #TECm
0042 #            "0x1e0c0000-0x1c080000"  #TECp
0043       ),
0044       ModulesToBeExcluded_DetIdSelector = cms.vstring(
0045 #            "0x1e000000-0x16000000",  #TIB
0046 #            "0x1e000000-0x18000000",  #TID
0047 #            "0x1e006000-0x18002000", #TIDm
0048 #            "0x1e006000-0x18004000", #TIDp
0049 #            "0x1e000000-0x1a000000", #TOB
0050 #            "0x1e000000-0x1c000000", #TEC
0051 #            "0x1e0c0000-0x1c040000", #TECm
0052 #            "0x1e0c0000-0x1c080000"  #TECp
0053       ),
0054 
0055       ModulesToBeIncluded     = cms.vuint32(), #e.g. {369120277, 369120278, 369120282}
0056       ModulesToBeExcluded     = cms.vuint32(),
0057         
0058       # exclude a subdetector
0059       SubDetectorsToBeExcluded = cms.vstring('none'), #possibilities : "none" or
0060                                                       #combinations of {"TIB","TOB","TID","TEC" }
0061       ModulesToBeFilled = cms.string('all')          
0062     ),
0063                                   
0064 
0065     SiStripCablingDQM_PSet = cms.PSet(
0066     
0067     CondObj_fillId       = cms.string('ProfileAndCumul'),
0068     CondObj_name         = cms.string('fedcabling')
0069     ),    
0070 
0071     # -----
0072 
0073     SiStripPedestalsDQM_PSet = cms.PSet(
0074 
0075       CondObj_fillId       = cms.string('ProfileAndCumul'),
0076       CondObj_name         = cms.string('pedestal'),
0077 
0078       FillSummaryAtLayerLevel           = cms.bool(True),
0079       FillSummaryProfileAtLayerLevel    = cms.bool(True),
0080 
0081       Profile_description     = cms.string('Profile_PedestalFromCondDB'),
0082       Profile_xTitle          = cms.string('Strip Number'),
0083       Profile_yTitle          = cms.string('Pedestal from CondDB(ADC)'),
0084       
0085       SummaryOfProfile_description = cms.string('ProfileSummary_PedestalFromCondDB'),
0086       SummaryOfProfile_xTitle = cms.string('Strip Number'),
0087       SummaryOfProfile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
0088       SummaryOfProfile_NchY   = cms.int32(100),
0089       SummaryOfProfile_LowY   = cms.double(0.0),
0090       SummaryOfProfile_HighY  = cms.double(1000.0),
0091 
0092       Summary_description     = cms.string('Summary_PedestalFromCondDB'),
0093       Summary_xTitle          = cms.string('detId'),
0094       Summary_yTitle          = cms.string('Pedestal from CondDB(ADC)'),
0095       Summary_NchY            = cms.int32(100),
0096       Summary_LowY            = cms.double(0.0),
0097       Summary_HighY           = cms.double(1000.0)
0098     ),
0099 
0100     # -----
0101     SiStripNoisesDQM_PSet = cms.PSet(
0102 
0103       CondObj_fillId    = cms.string('ProfileAndCumul'),
0104       CondObj_name      = cms.string('noise'),
0105 
0106       GainRenormalisation               = cms.bool(False),
0107       SimGainRenormalisation               = cms.bool(False),
0108       
0109       FillSummaryAtLayerLevel           = cms.bool(True),
0110       FillSummaryProfileAtLayerLevel    = cms.bool(True),
0111       FillCumulativeSummaryAtLayerLevel = cms.bool(True),
0112       
0113       Profile_description               = cms.string('Profile_NoiseFromCondDB'),
0114       Profile_xTitle                    = cms.string('Strip Number'),
0115       Profile_yTitle                    = cms.string('Noise from CondDB(ADC)'),
0116 
0117       Cumul_description = cms.string('NoiseFromCondDB'),
0118       Cumul_xTitle      = cms.string('Noise from CondDB(ADC)'),
0119       Cumul_yTitle      = cms.string(' '),
0120       Cumul_NchX        = cms.int32(50),
0121       Cumul_LowX        = cms.double(0.0),
0122       Cumul_HighX       = cms.double(6.0),
0123       
0124       SummaryOfProfile_description = cms.string('ProfileSummary_NoiseFromCondDB'),
0125       SummaryOfProfile_xTitle      = cms.string('Strip Number'),      
0126       SummaryOfProfile_yTitle      = cms.string('Noise from CondDB(ADC)'),
0127       SummaryOfProfile_NchY        = cms.int32(50),
0128       SummaryOfProfile_LowY        = cms.double(0.0),
0129       SummaryOfProfile_HighY       = cms.double(6.0),
0130 
0131       Summary_description          = cms.string('Summary_NoiseFromCondDB'),
0132       Summary_xTitle               = cms.string('detId'),
0133       Summary_yTitle               = cms.string('Noise from CondDB(ADC)'),
0134       Summary_NchY                 = cms.int32(50),
0135       Summary_LowY                 = cms.double(0.0),
0136       Summary_HighY                = cms.double(6.0),
0137       
0138       SummaryOfCumul_description = cms.string('CumulativeSummary_NoiseFromCondDB'),
0139       SummaryOfCumul_xTitle      = cms.string('Noise from CondDB'),
0140       SummaryOfCumul_yTitle      = cms.string(' '),
0141       SummaryOfCumul_NchX        = cms.int32(50),
0142       SummaryOfCumul_LowX        = cms.double(0.0),
0143       SummaryOfCumul_HighX       = cms.double(10.0)
0144     ),
0145 
0146     # -----
0147     SiStripQualityDQM_PSet = cms.PSet(
0148 
0149       CondObj_name   = cms.string('quality'),
0150       CondObj_fillId = cms.string('onlyProfile'),
0151       
0152       FillSummaryAtLayerLevel           = cms.bool(False),
0153 
0154       Profile_description = cms.string('Profile_QualityFlagFromCondDB'),
0155       Profile_xTitle      = cms.string('Strip Number'),
0156       Profile_yTitle      = cms.string('Quality Flag from CondDB'),
0157       
0158       Summary_description = cms.string('Summary_FractionOfBadStripsFromCondDB'),
0159       Summary_xTitle      = cms.string('detId'),
0160       Summary_yTitle      = cms.string('Fraction of bad strips from CondDB(%)'),
0161       Summary_NchY        = cms.int32(100),
0162       Summary_LowY        = cms.double(0.5),
0163       Summary_HighY       = cms.double(100.5),
0164 
0165       Summary_BadObjects_histo_xTitle      =cms.string('Sub Det And Layer'),
0166       
0167       Summary_BadModules_histo_name =cms.string('Summary_BadModules_FromCondDB'),
0168       Summary_BadModules_histo_yTitle      =cms.string('Number of bad Modules from CondDB'),
0169       
0170       Summary_BadFibers_histo_name =cms.string('Summary_BadFibers_FromCondDB'),
0171       Summary_BadFibers_histo_yTitle      =cms.string('Number of bad Fibers from CondDB'),
0172       
0173       Summary_BadApvs_histo_name =cms.string('Summary_BadApvs_FromCondDB'),
0174       Summary_BadApvs_histo_yTitle      =cms.string('Number of bad Apvs from CondDB'),
0175       
0176       Summary_BadStrips_histo_name =cms.string('Summary_BadStrips_FromCondDB'),
0177       Summary_BadStrips_histo_yTitle      =cms.string('Number of bad Strips from CondDB'),
0178       
0179       SummaryOfCumul_description   =cms.string('CumulativeSummary_SiStripQualityFromCondDB'),
0180       SummaryOfCumul_xTitle        =cms.string('SiStripQualityfrom CondDB'),
0181       SummaryOfCumul_yTitle        =cms.string(' '),
0182       
0183       SummaryOfCumul_NchX          = cms.int32(100),
0184       SummaryOfCumul_LowX          = cms.double(0.0),
0185       SummaryOfCumul_HighX         = cms.double(100.0)  
0186 
0187     ),
0188 
0189     # -----
0190     SiStripApvGainsDQM_PSet = cms.PSet(
0191     
0192       CondObj_name   = cms.string('apvgain'),
0193       CondObj_fillId = cms.string('ProfileAndCumul'),
0194 
0195       FillSummaryAtLayerLevel           = cms.bool(True),
0196       FillSummaryProfileAtLayerLevel    = cms.bool(True),
0197 
0198       Profile_description = cms.string('Profile_ApvGainFromCondDB'),
0199       Profile_xTitle      = cms.string('Apv Number'),
0200       Profile_yTitle      = cms.string('ApvGain from CondDB'),
0201 
0202       Cumul_description   = cms.string('ApvGainFromCondDB'),
0203       Cumul_xTitle        = cms.string('ApvGain from CondDB'),
0204       Cumul_yTitle        = cms.string(' '),        
0205       Cumul_NchX          = cms.int32(50),
0206       Cumul_LowX          = cms.double(0.5),
0207       Cumul_HighX         = cms.double(1.5),
0208 
0209       SummaryOfProfile_description = cms.string('ProfileSummary_ApvGainFromCondDB'),
0210       SummaryOfProfile_xTitle      = cms.string('Apv Number'),
0211       SummaryOfProfile_yTitle      = cms.string('ApvGain from CondDB'),
0212       SummaryOfProfile_NchY        = cms.int32(50),
0213       SummaryOfProfile_LowY        = cms.double(0.5),
0214       SummaryOfProfile_HighY       = cms.double(1.5),
0215 
0216       Summary_description   = cms.string('Summary_ApvGainFromCondDB'),
0217       Summary_xTitle        = cms.string('detId'),
0218       Summary_yTitle        = cms.string('ApvGain from CondDB'),
0219       Summary_NchY          = cms.int32(50),        
0220       Summary_LowY          = cms.double(0.5),
0221       Summary_HighY         = cms.double(1.5)
0222     ),
0223 
0224     # -----
0225     SiStripLorentzAngleDQM_PSet = cms.PSet(
0226 
0227       CondObj_name = cms.string('lorentzangle'),
0228       CondObj_fillId       = cms.string('ProfileAndCumul'),    
0229       
0230       FillSummaryProfileAtLayerLevel = cms.bool(True),
0231       FillCumulativeSummaryAtLayerLevel = cms.bool(True),
0232 
0233       SummaryOfCumul_description = cms.string('ProfileSummary_LorentzAngleFromCondDB'),
0234       SummaryOfCumul_xTitle      = cms.string('LorentzAngle from CondDB'),
0235       SummaryOfCumul_yTitle      = cms.string(' '),
0236       SummaryOfCumul_NchX        = cms.int32(50),      
0237       SummaryOfCumul_LowX        = cms.double(0.01),
0238       SummaryOfCumul_HighX       = cms.double(0.06),
0239       
0240       SummaryOfProfile_description = cms.string('Summary_LorentzAngleFromCondDB'),
0241       SummaryOfProfile_xTitle      = cms.string('detId'),
0242       SummaryOfProfile_yTitle      = cms.string('LorentzAngle from CondDB'),
0243       SummaryOfProfile_NchY        = cms.int32(50),
0244       SummaryOfProfile_LowY        = cms.double(0.01),
0245       SummaryOfProfile_HighY       = cms.double(0.06)      
0246     ),
0247 
0248     SiStripBackPlaneCorrectionDQM_PSet = cms.PSet(
0249 
0250       CondObj_name = cms.string('bpcorrection'),
0251       CondObj_fillId       = cms.string('ProfileAndCumul'),    
0252       
0253       FillSummaryProfileAtLayerLevel = cms.bool(True),
0254       FillCumulativeSummaryAtLayerLevel = cms.bool(True),
0255 
0256       SummaryOfCumul_description = cms.string('ProfileSummary_BackPlaneCorrectionFromCondDB'),
0257       SummaryOfCumul_xTitle      = cms.string('BackPlaneCorrection from CondDB'),
0258       SummaryOfCumul_yTitle      = cms.string(' '),
0259       SummaryOfCumul_NchX        = cms.int32(50),      
0260       SummaryOfCumul_LowX        = cms.double(0.00),
0261       SummaryOfCumul_HighX       = cms.double(0.10),
0262       
0263       SummaryOfProfile_description = cms.string('Summary_BackPlaneCorrectionFromCondDB'),
0264       SummaryOfProfile_xTitle      = cms.string('detId'),
0265       SummaryOfProfile_yTitle      = cms.string('BackPlaneCorrection from CondDB'),
0266       SummaryOfProfile_NchY        = cms.int32(50),
0267       SummaryOfProfile_LowY        = cms.double(0.00),
0268       SummaryOfProfile_HighY       = cms.double(0.10)      
0269     ),
0270 
0271       SiStripLowThresholdDQM_PSet = cms.PSet(
0272 
0273         WhichThreshold= cms.string('Low'),
0274 
0275     CondObj_fillId = cms.string('onlyProfile'), 
0276     CondObj_name   = cms.string('lowthreshold'),  
0277 
0278         FillSummaryAtLayerLevel= cms.bool(True),
0279         FillSummaryProfileAtLayerLevel=cms.bool(True),
0280 
0281 
0282     Profile_description = cms.string('Profile_LowThresholdFromCondDB'),
0283         Profile_xTitle      = cms.string('Strip Number'),
0284         Profile_yTitle      = cms.string('Low Threshold from CondDB(ADC)'),
0285     
0286     SummaryOfProfile_description = cms.string('ProfileSummary_LowThresholdFromCondDB'),
0287         SummaryOfProfile_xTitle      = cms.string('Strip Number'),
0288         SummaryOfProfile_yTitle      = cms.string('Low Threshold from CondDB(ADC)'),    
0289     SummaryOfProfile_NchY        = cms.int32(100),
0290     SummaryOfProfile_LowY        = cms.double(0),
0291         SummaryOfProfile_HighY       = cms.double(10),
0292 
0293     
0294     
0295         Summary_description   = cms.string('Summary_LowThresholdFromCondDB'),
0296         Summary_xTitle        = cms.string('detId'),
0297         Summary_yTitle        = cms.string('Low Threshold from CondDB(ADC)'),
0298     Summary_NchY          = cms.int32(100),
0299     Summary_LowY          = cms.double(0),
0300     Summary_HighY         = cms.double(10)
0301 ),
0302         SiStripHighThresholdDQM_PSet = cms.PSet(
0303 
0304         WhichThreshold= cms.string('High'),
0305 
0306     CondObj_fillId = cms.string('onlyProfile'), 
0307     CondObj_name   = cms.string('highthreshold'),  
0308 
0309         FillSummaryAtLayerLevel= cms.bool(True),
0310         FillSummaryProfileAtLayerLevel=cms.bool(True),
0311 
0312 
0313     Profile_description = cms.string('Profile_HighThresholdFromCondDB'),
0314         Profile_xTitle      = cms.string('Strip Number'),
0315         Profile_yTitle      = cms.string('High Threshold from CondDB(ADC)'),
0316     
0317     SummaryOfProfile_description = cms.string('ProfileSummary_HighThresholdFromCondDB'),
0318         SummaryOfProfile_xTitle      = cms.string('Strip Number'),
0319         SummaryOfProfile_yTitle      = cms.string('High Threshold from CondDB(ADC)'),   
0320     SummaryOfProfile_NchY        = cms.int32(100),
0321     SummaryOfProfile_LowY        = cms.double(0),
0322         SummaryOfProfile_HighY       = cms.double(10),
0323 
0324     
0325     
0326         Summary_description   = cms.string('Summary_HighThresholdFromCondDB'),
0327         Summary_xTitle        = cms.string('detId'),
0328         Summary_yTitle        = cms.string('High Threshold from CondDB(ADC)'),
0329     Summary_NchY          = cms.int32(100),
0330     Summary_LowY          = cms.double(0),
0331     Summary_HighY         = cms.double(10)
0332 )
0333                                   
0334 )