1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"TEST")
4 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
6 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
8 process.CondDBCommon.DBParameters.authenticationPath =
'/afs/cern.ch/cms/DB/conddb/' 9 process.CondDBCommon.connect =
'sqlite_file:TimeOffsetConstant.db' 11 process.MessageLogger = cms.Service(
"MessageLogger",
12 cerr = cms.untracked.PSet(
13 enable = cms.untracked.bool(
False)
15 cout = cms.untracked.PSet(
16 enable = cms.untracked.bool(
True)
18 debugModules = cms.untracked.vstring(
'*')
21 process.source = cms.Source(
"EmptyIOVSource",
22 firstValue = cms.uint64(1),
23 lastValue = cms.uint64(1),
24 timetype = cms.string(
'runnumber'),
25 interval = cms.uint64(1)
28 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
30 timetype = cms.untracked.string(
'runnumber'),
33 record = cms.string(
'EcalTimeOffsetConstantRcd'),
34 tag = cms.string(
'EcalTimeOffsetConstant_v01_offline')
39 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
40 timetype = cms.string(
'runnumber'),
43 record = cms.string(
'EcalTimeOffsetConstantRcd'),
44 container = cms.string(
'EcalTimeOffsetConstant')
50 process.prod = cms.EDAnalyzer(
"EcalTrivialObjectAnalyzer")
52 process.p = cms.Path(process.prod*process.dbCopy)