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.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",
27 record = cms.string(
'ESADCToGeVConstantRcd'),
28 tag = cms.string(
'ESADCToGeVConstant_mc')
31 record = cms.string(
'ESPedestalsRcd'),
32 tag = cms.string(
'ESPedestals_mc')
35 record = cms.string(
'ESChannelStatusRcd'),
36 tag = cms.string(
'EChannelStatus_mc')
39 record = cms.string(
'ESWeightStripGroupsRcd'),
40 tag = cms.string(
'ESWeightStripGroups_mc')
43 record = cms.string(
'ESIntercalibConstantsRcd'),
44 tag = cms.string(
'ESIntercalibConstants_mc')
48 process.dbCopy = cms.EDAnalyzer(
"ESDBCopy",
49 timetype = cms.string(
'runnumber'),
52 record = cms.string(
'ESADCToGeVConstantRcd'),
53 container = cms.string(
'ESADCToGeVConstant')
56 record = cms.string(
'ESPedestalsRcd'),
57 container = cms.string(
'ESPedestals')
60 record = cms.string(
'ESChannelStatusRcd'),
61 container = cms.string(
'ESChannelStatus')
64 record = cms.string(
'ESWeightStripGroupsRcd'),
65 container = cms.string(
'ESWeightStripGroups')
68 record = cms.string(
'ESIntercalibConstantsRcd'),
69 container = cms.string(
'ESIntercalibConstants')
75 process.p = cms.Path(process.dbCopy)