Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("TEST")
00004 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
00005
00006 process.load("CondCore.DBCommon.CondDBCommon_cfi")
00007 process.CondDBCommon.connect = 'sqlite_file:DB.db'
00008
00009 process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
00010
00011
00012
00013 process.MessageLogger = cms.Service("MessageLogger",
00014 debugModules = cms.untracked.vstring('*'),
00015 destinations = cms.untracked.vstring('cout')
00016 )
00017
00018 process.source = cms.Source("EmptyIOVSource",
00019 firstValue = cms.uint64(1),
00020 lastValue = cms.uint64(1),
00021 timetype = cms.string('runnumber'),
00022 interval = cms.uint64(1)
00023 )
00024
00025 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
00026 process.CondDBCommon,
00027 toPut = cms.VPSet(cms.PSet(
00028 record = cms.string('EcalTPGCrystalStatusRcd'),
00029 tag = cms.string('EcalTPGCrystalStatus_v2_hlt')
00030 ))
00031 )
00032
00033 process.dbCopy = cms.EDAnalyzer("EcalDBCopy",
00034 timetype = cms.string('runnumber'),
00035 toCopy = cms.VPSet(cms.PSet(
00036 record = cms.string('EcalTPGCrystalStatusRcd'),
00037 container = cms.string('EcalTPGCrystalStatus')
00038 ))
00039 )
00040
00041
00042
00043 process.p = cms.Path(process.dbCopy)
00044