Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #  SiStripOfflineDQM (for Tier0 Harvesting Step) ####
0004 siStripOfflineAnalyser = cms.EDProducer("SiStripOfflineDQM",
0005     GlobalStatusFilling      = cms.untracked.int32(2),
0006     CreateSummary            = cms.untracked.bool(False),
0007     SummaryConfigPath        = cms.untracked.string("DQM/SiStripMonitorClient/data/sistrip_monitorelement_config.xml"),
0008     UsedWithEDMtoMEConverter = cms.untracked.bool(True),
0009     PrintFaultyModuleList    = cms.untracked.bool(True),
0010     CreateTkMap              = cms.untracked.bool(False), 
0011     TrackRatePSet            = cms.PSet(
0012            Name     = cms.string("NumberOfTracks_"),
0013                   LowerCut = cms.double(0.0),
0014                   UpperCut = cms.double(100.0),
0015                ),
0016 )
0017 
0018 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0019 siStripQTester = DQMQualityTester(
0020     qtList = cms.untracked.FileInPath('DQM/SiStripMonitorClient/data/sistrip_qualitytest_config_tier0_cosmic.xml'),
0021     prescaleFactor = cms.untracked.int32(1),                               
0022     getQualityTestsFromFile = cms.untracked.bool(True)
0023 )
0024 
0025 from CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi import siStripQualityESProducer 
0026 mergedSiStripQualityProducer = siStripQualityESProducer.clone(
0027     #names and desigantions
0028     ListOfRecordToMerge = cms.VPSet(
0029         cms.PSet(record = cms.string("SiStripDetVOffRcd"), tag = cms.string('')), # DCS information
0030         cms.PSet(record = cms.string('SiStripDetCablingRcd'), tag = cms.string('')), # Use Detector cabling information to exclude detectors not connected            
0031         cms.PSet(record = cms.string('SiStripBadChannelRcd'), tag = cms.string('')), # Online Bad components
0032         cms.PSet(record = cms.string('SiStripBadFiberRcd'), tag = cms.string('')),   # Bad Channel list from the selected IOV as done at PCL
0033         # BadChannel list from FED errors is included below
0034         cms.PSet(record = cms.string('RunInfoRcd'), tag = cms.string(''))            # List of FEDs exluded during data taking          
0035         ),
0036     ReduceGranularity = False,
0037     ThresholdForReducedGranularity = 0.3,
0038     appendToDataLabel = 'MergedBadComponent'
0039 )
0040 
0041 from DQM.SiStripMonitorClient.siStripBadComponentInfo_cfi import siStripBadComponentInfo
0042 siStripBadComponentInfo.StripQualityLabel = 'MergedBadComponent'
0043 siStripBadComponentInfo.BadComponentsFromFedErrors.Add = True
0044 
0045 # Sequence
0046 SiStripCosmicDQMClient = cms.Sequence(siStripQTester*siStripOfflineAnalyser*siStripBadComponentInfo)
0047 #removed modules using TkDetMap
0048 #SiStripCosmicDQMClient = cms.Sequence(siStripQTester)
0049 
0050 
0051 # Services needed for TkHistoMap
0052 from CalibTracker.SiStripCommon.TkDetMapESProducer_cfi import *