13 import FWCore.ParameterSet.Config
as cms
15 process = cms.Process(
"TEST")
17 process.MessageLogger = cms.Service(
"MessageLogger",
18 cerr = cms.untracked.PSet(
19 enable = cms.untracked.bool(
False)
21 cout = cms.untracked.PSet(
22 enable = cms.untracked.bool(
True)
25 process.load(
"CondCore.CondDB.CondDB_cfi")
26 process.CondDB.connect =
'sqlite_file:EcalTimeOffsetConstant.db' 29 process.source = cms.Source(
"EmptyIOVSource",
30 timetype = cms.string(
'runnumber'),
31 firstValue = cms.uint64(1),
32 lastValue = cms.uint64(1),
33 interval = cms.uint64(1)
36 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
38 timetype = cms.untracked.string(
'runnumber'),
39 toPut = cms.VPSet(cms.PSet(
40 record = cms.string(
'EcalTimeOffsetConstantRcd'),
41 tag = cms.string(
'EcalTimeOffsetConstant_204623_minus1ns')
46 process.mytest = cms.EDAnalyzer(
"EcalTimeOffsetConstantAnalyzer",
47 record = cms.string(
'EcalTimeOffsetConstantRcd'),
48 loggingOn= cms.untracked.bool(
True),
49 SinceAppendMode=cms.bool(
True),
51 xmlFile = cms.untracked.string(
'EcalTimeOffset_204623_minus1ns.xml'),
52 since = cms.untracked.int64(1)
56 process.p = cms.Path(process.mytest)