14 import FWCore.ParameterSet.Config
as cms
16 process = cms.Process(
"TEST")
18 process.MessageLogger=cms.Service(
"MessageLogger",
19 destinations=cms.untracked.vstring(
"cout"),
20 cout=cms.untracked.PSet(
23 process.load(
"CondCore.CondDB.CondDB_cfi")
25 process.CondDB.connect = cms.string(
'sqlite_file:EcalTimeCalibConstants.db')
28 process.source = cms.Source(
"EmptyIOVSource",
29 timetype = cms.string(
'runnumber'),
30 firstValue = cms.uint64(1),
31 lastValue = cms.uint64(1),
32 interval = cms.uint64(1)
35 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
37 timetype = cms.untracked.string(
'runnumber'),
38 toPut = cms.VPSet(cms.PSet(
39 record = cms.string(
'EcalTimeCalibConstantsRcd'),
40 tag = cms.string(
'EcalTimeCalibConstants')
42 logconnect= cms.untracked.string(
'sqlite_file:logtestEcalTimeCalib.db')
45 process.mytest = cms.EDAnalyzer(
"EcalTimeCalibConstantsAnalyzer",
46 record = cms.string(
'EcalTimeCalibConstantsRcd'),
47 loggingOn= cms.untracked.bool(
True),
48 SinceAppendMode=cms.bool(
True),
50 xmlFile = cms.untracked.string(
'EcalTimeCalibConstants.xml'),
51 since = cms.untracked.int64(1)
55 process.p = cms.Path(process.mytest)