File indexing completed on 2024-04-06 12:02:45
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004
0005 process.MessageLogger = cms.Service("MessageLogger",
0006 cerr = cms.untracked.PSet(
0007 enable = cms.untracked.bool(False)
0008 ),
0009 cout = cms.untracked.PSet(
0010 enable = cms.untracked.bool(True),
0011 threshold = cms.untracked.string('INFO')
0012 )
0013 )
0014
0015 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0016
0017 process.CondDBCommon.connect = cms.string('sqlite_file:DQMSummaryTest.db')
0018
0019 process.CondDBCommon.DBParameters.messageLevel = cms.untracked.int32(1)
0020
0021 process.source = cms.Source("EmptyIOVSource",
0022 timetype = cms.string('runnumber'),
0023 firstValue = cms.uint64(1),
0024 lastValue = cms.uint64(1),
0025 interval = cms.uint64(1)
0026 )
0027
0028 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0029 process.CondDBCommon,
0030 timetype = cms.untracked.string('runnumber'),
0031 toPut = cms.VPSet(cms.PSet(
0032 record = cms.string('DQMSummary'),
0033 tag = cms.string('DQMSummaryTest')
0034 )),
0035 logconnect= cms.untracked.string('sqlite_file:DQMSummaryLogTest.db')
0036 )
0037
0038 process.dqmSummaryTest = cms.EDAnalyzer("DQMSummaryPopConAnalyzer",
0039 record = cms.string('DQMSummary'),
0040 loggingOn = cms.untracked.bool(True),
0041 SinceAppendMode = cms.bool(True),
0042 Source = cms.PSet(
0043 firstSince = cms.untracked.uint64(43434)
0044 )
0045 )
0046
0047 process.p = cms.Path(process.dqmSummaryTest)