Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-28 23:48:26

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(1000.0),
0015                ),
0016     TrackChi2PSet            = cms.PSet(
0017            Name     = cms.string("Chi2oNDF_"),
0018                   LowerCut = cms.double(0.0),
0019                   UpperCut = cms.double(25.0),
0020                ),
0021     TrackHitPSet            = cms.PSet(
0022            Name     = cms.string("NumberOfRecHitsPerTrack_"),
0023                   LowerCut = cms.double(3.0),
0024                   UpperCut = cms.double(30.0),
0025                )
0026 )
0027 
0028 # clone and modify modules
0029 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0030 siStripQTesterHI = DQMQualityTester(
0031     qtList = cms.untracked.FileInPath('DQM/SiStripMonitorClient/data/sistrip_qualitytest_config_tier0_heavyions.xml'),
0032     prescaleFactor = cms.untracked.int32(1),                               
0033     getQualityTestsFromFile = cms.untracked.bool(True)
0034 )
0035 
0036 from CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi import siStripQualityESProducer 
0037 mergedSiStripQualityProducer = siStripQualityESProducer.clone(
0038     #names and desigantions
0039     ListOfRecordToMerge = cms.VPSet(
0040         cms.PSet(record = cms.string("SiStripDetVOffRcd"), tag = cms.string('')), # DCS information
0041         cms.PSet(record = cms.string('SiStripDetCablingRcd'), tag = cms.string('')), # Use Detector cabling information to exclude detectors not connected            
0042         cms.PSet(record = cms.string('SiStripBadChannelRcd'), tag = cms.string('')), # Online Bad components
0043         cms.PSet(record = cms.string('SiStripBadFiberRcd'), tag = cms.string('')),   # Bad Channel list from the selected IOV as done at PCL
0044         # BadChannel list from FED errors is included below
0045         cms.PSet(record = cms.string('RunInfoRcd'), tag = cms.string(''))            # List of FEDs exluded during data taking          
0046         ),
0047     ReduceGranularity = False,
0048     ThresholdForReducedGranularity = 0.3,
0049     appendToDataLabel = 'MergedBadComponent'
0050 )
0051 
0052 from DQM.SiStripMonitorClient.siStripBadComponentInfo_cfi import siStripBadComponentInfo
0053 siStripBadComponentInfo.StripQualityLabel = 'MergedBadComponent'
0054 siStripBadComponentInfo.BadComponentsFromFedErrors.Add = True
0055 
0056 # define new HI sequence
0057 #removed modules using TkDetMap
0058 #SiStripOfflineDQMClientHI = cms.Sequence(siStripQTesterHI)
0059 SiStripOfflineDQMClientHI = cms.Sequence(siStripQTesterHI*siStripOfflineAnalyser*siStripBadComponentInfo)
0060 
0061 # Services needed for TkHistoMap
0062 from CalibTracker.SiStripCommon.TkDetMapESProducer_cfi import *