File indexing completed on 2024-04-06 12:03:02
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004
0005 process.load("CondCore.CondDB.CondDB_cfi")
0006
0007
0008 process.CondDB.connect = 'sqlite_file:ESIntercalibConstants_LG.db'
0009
0010 process.MessageLogger = cms.Service("MessageLogger",
0011 cerr = cms.untracked.PSet(
0012 enable = cms.untracked.bool(False)
0013 ),
0014 cout = cms.untracked.PSet(
0015 enable = cms.untracked.bool(True)
0016 ),
0017 debugModules = cms.untracked.vstring('*')
0018 )
0019
0020 process.source = cms.Source("EmptyIOVSource",
0021 firstValue = cms.uint64(1),
0022 lastValue = cms.uint64(1),
0023 timetype = cms.string('runnumber'),
0024 interval = cms.uint64(1)
0025 )
0026
0027 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0028 process.CondDB,
0029 timetype = cms.untracked.string('runnumber'),
0030 toPut = cms.VPSet(cms.PSet(
0031
0032 record = cms.string('ESIntercalibConstantsRcd'),
0033
0034 tag = cms.string('ESIntercalibConstants_LG')
0035
0036 )))
0037
0038 process.ecalModule = cms.EDAnalyzer("StoreESCondition",
0039
0040 gain = cms.uint32(1),
0041 logfile = cms.string('./logfile.log'),
0042 toPut = cms.VPSet(cms.PSet(
0043
0044
0045 conditionType = cms.untracked.string('ESIntercalibConstants'),
0046
0047
0048 since = cms.untracked.uint32(1),
0049 inputFile = cms.untracked.string('CondTools/Ecal/test/preshower/ESIntercalibConstants_LG.txt')
0050 )))
0051
0052 process.p = cms.Path(process.ecalModule)
0053
0054
0055