3 process = cms.Process(
"TEST")
4 process.load(
"CalibCalorimetry.EcalTrivialCondModules.ESTrivialCondRetriever_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:DB_DataHG.db'
11 process.MessageLogger = cms.Service(
"MessageLogger",
12 debugModules = cms.untracked.vstring(
'*'),
13 destinations = cms.untracked.vstring(
'cout')
16 process.source = cms.Source(
"EmptyIOVSource",
17 firstValue = cms.uint64(1),
18 lastValue = cms.uint64(1),
19 timetype = cms.string(
'runnumber'),
20 interval = cms.uint64(1)
23 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
28 record = cms.string(
'ESTBWeightsRcd'),
29 tag = cms.string(
'ESTBWeights_DataHG')
33 record = cms.string(
'ESPedestalsRcd'),
34 tag = cms.string(
'ESPedestals_DataHG')
38 record = cms.string(
'ESChannelStatusRcd'),
39 tag = cms.string(
'ESChannelStatus_DataHG')
44 process.dbCopy = cms.EDAnalyzer(
"ESDBCopy",
45 timetype = cms.string(
'runnumber'),
49 record = cms.string(
'ESTBWeightsRcd'),
50 container = cms.string(
'ESTBWeights')
54 record = cms.string(
'ESPedestalsRcd'),
55 container = cms.string(
'ESPedestals')
59 record = cms.string(
'ESChannelStatusRcd'),
60 container = cms.string(
'ESChannelStatus')
65 process.p = cms.Path(process.dbCopy)