13 import FWCore.ParameterSet.Config
as cms
15 process = cms.Process(
"TEST")
17 process.MessageLogger=cms.Service(
"MessageLogger",
18 destinations=cms.untracked.vstring(
"cout"),
19 cout=cms.untracked.PSet(
22 process.load(
"CondCore.CondDB.CondDB_cfi")
23 process.CondDB.connect =
'sqlite_file:EcalTimeOffsetConstant.db' 26 process.source = cms.Source(
"EmptyIOVSource",
27 timetype = cms.string(
'runnumber'),
28 firstValue = cms.uint64(1),
29 lastValue = cms.uint64(1),
30 interval = cms.uint64(1)
33 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
35 timetype = cms.untracked.string(
'runnumber'),
36 toPut = cms.VPSet(cms.PSet(
37 record = cms.string(
'EcalTimeOffsetConstantRcd'),
38 tag = cms.string(
'EcalTimeOffsetConstant_204623_minus1ns')
43 process.mytest = cms.EDAnalyzer(
"EcalTimeOffsetConstantAnalyzer",
44 record = cms.string(
'EcalTimeOffsetConstantRcd'),
45 loggingOn= cms.untracked.bool(
True),
46 SinceAppendMode=cms.bool(
True),
48 xmlFile = cms.untracked.string(
'EcalTimeOffset_204623_minus1ns.xml'),
49 since = cms.untracked.int64(1)
53 process.p = cms.Path(process.mytest)