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 debugModules = cms.untracked.vstring(
'*'),
15 destinations = cms.untracked.vstring(
'cout')
18 process.source = cms.Source(
"EmptyIOVSource",
19 firstValue = cms.uint64(1),
20 lastValue = cms.uint64(1),
21 timetype = cms.string(
'runnumber'),
22 interval = cms.uint64(1)
25 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
27 toPut = cms.VPSet(cms.PSet(
28 record = cms.string(
'EcalTPGCrystalStatusRcd'),
29 tag = cms.string(
'EcalTPGCrystalStatus_v2_hlt')
33 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
34 timetype = cms.string(
'runnumber'),
35 toCopy = cms.VPSet(cms.PSet(
36 record = cms.string(
'EcalTPGCrystalStatusRcd'),
37 container = cms.string(
'EcalTPGCrystalStatus')
43 process.p = cms.Path(process.dbCopy)