File indexing completed on 2024-04-06 12:22:51
0001
0002
0003
0004
0005
0006
0007 import FWCore.ParameterSet.Config as cms
0008
0009 process = cms.Process("ProcessOne")
0010
0011 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0012 process.CondDBCommon.connect = cms.string("sqlite_file:CSCChamberMapValues_20X.db")
0013
0014 process.MessageLogger = cms.Service("MessageLogger",
0015 cerr = cms.untracked.PSet(
0016 enable = cms.untracked.bool(False)
0017 ),
0018 cout = cms.untracked.PSet(
0019 default = cms.untracked.PSet(
0020 limit = cms.untracked.int32(0)
0021 ),
0022 enable = cms.untracked.bool(True)
0023 )
0024 )
0025
0026 process.source = cms.Source("EmptyIOVSource",
0027 lastValue = cms.uint64(1),
0028 timetype = cms.string('runnumber'),
0029
0030 firstValue = cms.uint64(1),
0031 interval = cms.uint64(1)
0032 )
0033
0034 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0035 process.CondDBCommon,
0036 logconnect = cms.untracked.string('sqlite_file:chambermap20X.db'),
0037 toPut = cms.VPSet(cms.PSet(
0038 record = cms.string('CSCChamberMapRcd'),
0039 tag = cms.string('CSCChamberMap')
0040 ))
0041 )
0042
0043 process.WriteInDB = cms.EDAnalyzer("CSCChamberMapPopConAnalyzer",
0044 SinceAppendMode = cms.bool(True),
0045 record = cms.string('CSCChamberMapRcd'),
0046 loggingOn = cms.untracked.bool(True),
0047 Source = cms.PSet(
0048
0049 )
0050 )
0051
0052 process.p = cms.Path(process.WriteInDB)
0053
0054