3 process = cms.Process(
"TEST")
4 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
6 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
7 process.CondDBCommon.connect =
'sqlite_file:DB.db'
10 process.MessageLogger = cms.Service(
"MessageLogger",
11 debugModules = cms.untracked.vstring(
'*'),
12 destinations = cms.untracked.vstring(
'cout')
15 process.source = cms.Source(
"EmptyIOVSource",
16 firstValue = cms.uint64(1),
17 lastValue = cms.uint64(1),
18 timetype = cms.string(
'runnumber'),
19 interval = cms.uint64(1)
22 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
24 toPut = cms.VPSet(cms.PSet(
25 record = cms.string(
'EcalChannelStatusRcd'),
26 tag = cms.string(
'EcalChannelStatus_online')
30 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
31 timetype = cms.string(
'runnumber'),
32 toCopy = cms.VPSet(cms.PSet(
33 record = cms.string(
'EcalChannelStatusRcd'),
34 container = cms.string(
'EcalChannelStatus')
40 process.p = cms.Path(process.dbCopy)