1 import FWCore.ParameterSet.Config
as cms
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 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",
32 record = cms.string(
'ESADCToGeVConstantRcd'),
33 tag = cms.string(
'ESADCToGeVConstant_mc')
36 record = cms.string(
'ESPedestalsRcd'),
37 tag = cms.string(
'ESPedestals_mc')
40 record = cms.string(
'ESChannelStatusRcd'),
41 tag = cms.string(
'EChannelStatus_mc')
44 record = cms.string(
'ESWeightStripGroupsRcd'),
45 tag = cms.string(
'ESWeightStripGroups_mc')
48 record = cms.string(
'ESIntercalibConstantsRcd'),
49 tag = cms.string(
'ESIntercalibConstants_mc')
53 process.dbCopy = cms.EDAnalyzer(
"ESDBCopy",
54 timetype = cms.string(
'runnumber'),
57 record = cms.string(
'ESADCToGeVConstantRcd'),
58 container = cms.string(
'ESADCToGeVConstant')
61 record = cms.string(
'ESPedestalsRcd'),
62 container = cms.string(
'ESPedestals')
65 record = cms.string(
'ESChannelStatusRcd'),
66 container = cms.string(
'ESChannelStatus')
69 record = cms.string(
'ESWeightStripGroupsRcd'),
70 container = cms.string(
'ESWeightStripGroups')
73 record = cms.string(
'ESIntercalibConstantsRcd'),
74 container = cms.string(
'ESIntercalibConstants')
80 process.p = cms.Path(process.dbCopy)