3 process = cms.Process(
"TEST")
5 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
7 process.CondDBCommon.DBParameters.authenticationPath =
'/afs/cern.ch/cms/DB/conddb/'
8 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)
24 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
26 toPut = cms.VPSet(cms.PSet(
27 record = cms.string(
'EcalPedestalsRcd'),
28 tag = cms.string(
'EcalPedestals_test')
32 process.dbCopy = cms.EDAnalyzer(
"EcalTestDevDB",
33 lastRun = cms.string(
'5'),
34 timetype = cms.string(
'runnumber'),
35 firstRun = cms.string(
'1'),
36 toCopy = cms.VPSet(cms.PSet(
37 record = cms.string(
'EcalPedestalsRcd'),
38 container = cms.string(
'EcalPedestals')
40 interval = cms.string(
'1')
43 process.p = cms.Path(process.dbCopy)