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")
7 process.CondDBCommon.connect =
'sqlite_file:DB.db' 9 process.CondDBCommon.DBParameters.authenticationPath =
'/nfshome0/popcondev/conddb' 13 process.MessageLogger = cms.Service(
"MessageLogger",
14 cerr = cms.untracked.PSet(
15 enable = cms.untracked.bool(
False)
17 cout = cms.untracked.PSet(
18 enable = cms.untracked.bool(
True)
20 debugModules = cms.untracked.vstring(
'*')
23 process.source = cms.Source(
"EmptyIOVSource",
24 firstValue = cms.uint64(1),
25 lastValue = cms.uint64(1),
26 timetype = cms.string(
'runnumber'),
27 interval = cms.uint64(1)
30 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
32 toPut = cms.VPSet(cms.PSet(
33 record = cms.string(
'EcalTPGCrystalStatusRcd'),
34 tag = cms.string(
'EcalTPGCrystalStatus_v2_hlt')
38 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
39 timetype = cms.string(
'runnumber'),
40 toCopy = cms.VPSet(cms.PSet(
41 record = cms.string(
'EcalTPGCrystalStatusRcd'),
42 container = cms.string(
'EcalTPGCrystalStatus')
48 process.p = cms.Path(process.dbCopy)