File indexing completed on 2024-04-06 11:59:53
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("fedBadChannelFromNoiseRun")
0004 process.MessageLogger = cms.Service("MessageLogger",
0005 cerr = cms.untracked.PSet(
0006 enable = cms.untracked.bool(False)
0007 ),
0008 cout = cms.untracked.PSet(
0009 enable = cms.untracked.bool(True),
0010 threshold = cms.untracked.string('INFO')
0011 )
0012 )
0013 process.load("Configuration.Geometry.GeometryRecoDB_cff")
0014
0015 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0016
0017 from Configuration.AlCa.GlobalTag import GlobalTag
0018 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data', '')
0019
0020
0021 process.source = cms.Source("EmptyIOVSource",
0022 firstValue = cms.uint64(258714),
0023 lastValue = cms.uint64(258714),
0024 timetype = cms.string('runnumber'),
0025 interval = cms.uint64(1)
0026 )
0027
0028 process.maxEvents = cms.untracked.PSet(
0029 input = cms.untracked.int32(-1)
0030 )
0031
0032 process.siStripQualityESProducer.ListOfRecordToMerge = cms.VPSet(
0033
0034
0035 )
0036 process.siStripQualityESProducer.ReduceGranularity = cms.bool(False)
0037 process.siStripQualityESProducer.ThresholdForReducedGranularity = cms.double(0.3)
0038
0039
0040 process.load("DQM.SiStripCommon.TkHistoMap_cff")
0041
0042
0043 from CalibTracker.SiStripQuality.siStripQualityStatistics_cfi import siStripQualityStatistics
0044 process.stat = siStripQualityStatistics.clone(
0045 BadComponentsFromFedErrors=siStripQualityStatistics.clone(
0046 Add=cms.bool(True)
0047 )
0048 )
0049 process.p = cms.Path(process.stat)
0050