14 import FWCore.ParameterSet.Config
as cms
16 process = cms.Process(
"TEST")
18 process.MessageLogger = cms.Service(
"MessageLogger",
19 cerr = cms.untracked.PSet(
20 enable = cms.untracked.bool(
False)
22 cout = cms.untracked.PSet(
23 enable = cms.untracked.bool(
True)
26 process.load(
"CondCore.CondDB.CondDB_cfi")
28 process.CondDB.connect = cms.string(
'sqlite_file:EcalTimeCalibConstants.db')
31 process.source = cms.Source(
"EmptyIOVSource",
32 timetype = cms.string(
'runnumber'),
33 firstValue = cms.uint64(1),
34 lastValue = cms.uint64(1),
35 interval = cms.uint64(1)
38 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
40 timetype = cms.untracked.string(
'runnumber'),
41 toPut = cms.VPSet(cms.PSet(
42 record = cms.string(
'EcalTimeCalibConstantsRcd'),
43 tag = cms.string(
'EcalTimeCalibConstants')
45 logconnect= cms.untracked.string(
'sqlite_file:logtestEcalTimeCalib.db')
48 process.mytest = cms.EDAnalyzer(
"EcalTimeCalibConstantsAnalyzer",
49 record = cms.string(
'EcalTimeCalibConstantsRcd'),
50 loggingOn= cms.untracked.bool(
True),
51 SinceAppendMode=cms.bool(
True),
53 xmlFile = cms.untracked.string(
'EcalTimeCalibConstants.xml'),
54 since = cms.untracked.int64(1)
58 process.p = cms.Path(process.mytest)