File indexing completed on 2024-04-06 12:02:53
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
0005
0006 process.load("CondCore.CondDB.CondDB_cfi")
0007
0008
0009
0010 process.CondDB.connect = 'sqlite_file:EEAlign.db'
0011
0012 process.MessageLogger = cms.Service("MessageLogger",
0013 cerr = cms.untracked.PSet(
0014 enable = cms.untracked.bool(False)
0015 ),
0016 cout = cms.untracked.PSet(
0017 enable = cms.untracked.bool(True)
0018 ),
0019 debugModules = cms.untracked.vstring('*')
0020 )
0021
0022 process.source = cms.Source("EmptyIOVSource",
0023 firstValue = cms.uint64(1),
0024 lastValue = cms.uint64(1),
0025 timetype = cms.string('runnumber'),
0026 interval = cms.uint64(1)
0027 )
0028
0029 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0030 process.CondDB,
0031 timetype = cms.untracked.string('runnumber'),
0032 toPut = cms.VPSet(
0033 cms.PSet(
0034 record = cms.string('EEAlignmentRcd'),
0035 tag = cms.string('EEAlignment_zero_offline')
0036 )
0037 )
0038 )
0039
0040 process.dbCopy = cms.EDAnalyzer("EcalDBCopy",
0041 timetype = cms.string('runnumber'),
0042 toCopy = cms.VPSet(
0043 cms.PSet(
0044 record = cms.string('EEAlignmentRcd'),
0045 container = cms.string('EEAlignment')
0046 )
0047 )
0048 )
0049
0050
0051 process.prod = cms.EDAnalyzer("EcalTrivialObjectAnalyzer")
0052
0053 process.p = cms.Path(process.prod*process.dbCopy)
0054