1 import FWCore.ParameterSet.Config
as cms
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 cerr = cms.untracked.PSet(
12 enable = cms.untracked.bool(
False)
14 cout = cms.untracked.PSet(
15 enable = cms.untracked.bool(
True)
17 debugModules = cms.untracked.vstring(
'*')
20 process.source = cms.Source(
"EmptyIOVSource",
21 firstValue = cms.uint64(1),
22 lastValue = cms.uint64(1),
23 timetype = cms.string(
'runnumber'),
24 interval = cms.uint64(1)
27 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
29 toPut = cms.VPSet(cms.PSet(
30 record = cms.string(
'EcalChannelStatusRcd'),
31 tag = cms.string(
'EcalChannelStatus_online')
35 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
36 timetype = cms.string(
'runnumber'),
37 toCopy = cms.VPSet(cms.PSet(
38 record = cms.string(
'EcalChannelStatusRcd'),
39 container = cms.string(
'EcalChannelStatus')
45 process.p = cms.Path(process.dbCopy)