Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:54

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
0005 
0006 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0007 process.CondDBCommon.connect = 'sqlite_file:DB.db'
0008 
0009 process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
0010 
0011 
0012 
0013 process.MessageLogger = cms.Service("MessageLogger",
0014     cerr = cms.untracked.PSet(
0015         enable = cms.untracked.bool(False)
0016     ),
0017     cout = cms.untracked.PSet(
0018         enable = cms.untracked.bool(True)
0019     ),
0020     debugModules = cms.untracked.vstring('*')
0021 )
0022 
0023 process.source = cms.Source("EmptyIOVSource",
0024     firstValue = cms.uint64(1),
0025     lastValue = cms.uint64(1),
0026     timetype = cms.string('runnumber'),
0027     interval = cms.uint64(1)
0028 )
0029 
0030 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0031     process.CondDBCommon,
0032     toPut = cms.VPSet(cms.PSet(
0033         record = cms.string('EcalTPGCrystalStatusRcd'),
0034         tag = cms.string('EcalTPGCrystalStatus_v2_hlt')
0035         ))
0036 )
0037 
0038 process.dbCopy = cms.EDAnalyzer("EcalDBCopy",
0039     timetype = cms.string('runnumber'),
0040     toCopy = cms.VPSet(cms.PSet(
0041         record = cms.string('EcalTPGCrystalStatusRcd'),
0042         container = cms.string('EcalTPGCrystalStatus')
0043         ))
0044 )
0045 
0046 
0047 
0048 process.p = cms.Path(process.dbCopy)
0049