File indexing completed on 2024-04-06 12:03:30
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("SiStripCondVisualizer")
0004
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.MessageLogger.cerr.enable = False
0007 process.MessageLogger.SiStripCondVisualizer=dict()
0008 process.MessageLogger.cout = cms.untracked.PSet(
0009 enable = cms.untracked.bool(True),
0010 threshold = cms.untracked.string("INFO"),
0011 default = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0012 FwkReport = cms.untracked.PSet(limit = cms.untracked.int32(-1),
0013 reportEvery = cms.untracked.int32(1000)
0014 ),
0015 SiStripCondVisualizer = cms.untracked.PSet( limit = cms.untracked.int32(-1)),
0016 enableStatistics = cms.untracked.bool(True)
0017 )
0018
0019
0020 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0021
0022 process.source = cms.Source("EmptyIOVSource",
0023 firstValue = cms.uint64(306054),
0024 lastValue = cms.uint64(306054),
0025 timetype = cms.string('runnumber'),
0026 interval = cms.uint64(1)
0027 )
0028
0029 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0030 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0031 from Configuration.AlCa.GlobalTag import GlobalTag
0032 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run3_data', '')
0033
0034
0035 from CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi import*
0036 siStripQualityESProducer.ListOfRecordToMerge = cms.VPSet(
0037
0038 cms.PSet(record = cms.string('SiStripDetCablingRcd'), tag = cms.string('')),
0039 cms.PSet(record = cms.string('SiStripBadChannelRcd'), tag = cms.string('')),
0040 cms.PSet(record = cms.string('SiStripBadFiberRcd'), tag = cms.string('')),
0041 cms.PSet(record = cms.string('RunInfoRcd'), tag = cms.string(''))
0042 )
0043
0044 siStripQualityESProducer.ReduceGranularity = cms.bool(False)
0045 siStripQualityESProducer.ThresholdForReducedGranularity = cms.double(0.3)
0046 siStripQualityESProducer.appendToDataLabel = 'MergedBadComponent'
0047 siStripQualityESProducer.PrintDebugOutput = cms.bool(True)
0048
0049 process.TFileService = cms.Service("TFileService",
0050 fileName = cms.string("conditionsDump.root"))
0051
0052 from CondTools.SiStrip.siStripCondVisualizer_cfi import siStripCondVisualizer
0053 process.condVisualizer = siStripCondVisualizer.clone(doNoise = True,
0054 doPeds = True,
0055 doG1 = True,
0056 doG2 = True,
0057 doBadComps = True,
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067 )
0068 process.p = cms.Path(process.condVisualizer)