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