File indexing completed on 2024-04-06 11:59:50
0001 import FWCore.ParameterSet.Config as cms
0002 import os
0003
0004 process = cms.Process("plot")
0005
0006 process.MessageLogger = cms.Service("MessageLogger",
0007 cerr = cms.untracked.PSet(
0008 enable = cms.untracked.bool(False)
0009 ),
0010 cout = cms.untracked.PSet(
0011 enable = cms.untracked.bool(True),
0012 threshold = cms.untracked.string('DEBUG')
0013 ),
0014 debugModules = cms.untracked.vstring('*')
0015 )
0016
0017 process.maxEvents = cms.untracked.PSet(
0018 input = cms.untracked.int32(1)
0019 )
0020 process.source = cms.Source("EmptySource",
0021 numberEventsInRun = cms.untracked.uint32(1),
0022 firstRun = cms.untracked.uint32(1)
0023 )
0024
0025 process.load("DQM.SiStripCommon.TkHistoMap_cff")
0026
0027 process.load("Configuration.Geometry.GeometryExtended2017_cff")
0028 process.load("Geometry.TrackerGeometryBuilder.trackerParameters_cfi")
0029 process.trackerTopology = cms.ESProducer("TrackerTopologyEP")
0030
0031 process.load("CondCore.CondDB.CondDB_cfi")
0032 process.tkVoltageMap = cms.EDAnalyzer( "SiStripDetVOffTkMapPlotter",
0033 process.CondDB,
0034
0035 conditionDatabase = cms.string("oracle://cms_orcoff_prep/CMS_CONDITIONS"),
0036
0037 Tag = cms.string("SiStripDetVOff_test_1hr_prompt"),
0038
0039 IOV = cms.untracked.uint64(0),
0040
0041 Time = cms.untracked.string("2016-03-20 00:00:00.000"),
0042
0043 outputFile = cms.untracked.string("tkMap.root")
0044 )
0045
0046 process.p = cms.Path(process.tkVoltageMap)