File indexing completed on 2024-04-06 11:59:49
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('Configuration.Geometry.GeometryExtended2018_cff')
0026
0027 process.load("CondCore.CondDB.CondDB_cfi")
0028 process.tkVoltageTrend = cms.EDAnalyzer( "SiStripDetVOffTrendPlotter",
0029 process.CondDB,
0030 conditionDatabase = cms.string("frontier://FrontierProd/CMS_CONDITIONS"),
0031
0032
0033 plotTags = cms.vstring("SiStripDetVOff_1hourDelay_v1_Validation", "SiStripDetVOff_13hourDelay_v1_Validation", "SiStripDetVOff_v7_prompt"),
0034
0035
0036 timeInterval = cms.int32(72),
0037
0038
0039 startTime = cms.untracked.string("2016-01-01 00:00:00.000"),
0040 endTime = cms.untracked.string("2016-01-02 00:00:00.000"),
0041
0042 outputPlot = cms.untracked.string("last.png"),
0043
0044 outputRootFile = cms.untracked.string(""),
0045
0046 outputCSV = cms.untracked.string("last.csv")
0047 )
0048
0049 process.p = cms.Path(process.tkVoltageTrend)