Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ProcessOne")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 process.CondDBCommon.connect = 'sqlite_file:fillinfo_pop_test.db'
0006 process.CondDBCommon.DBParameters.authenticationPath = '.'
0007 process.CondDBCommon.DBParameters.messageLevel=cms.untracked.int32(1)
0008 
0009 process.MessageLogger = cms.Service("MessageLogger",
0010     cerr = cms.untracked.PSet(
0011         enable = cms.untracked.bool(False)
0012     ),
0013     cout = cms.untracked.PSet(
0014         enable = cms.untracked.bool(True),
0015         threshold = cms.untracked.string('INFO')
0016     )
0017 )
0018 
0019 process.source = cms.Source("EmptyIOVSource",
0020                             lastValue = cms.uint64(1),
0021                             timetype = cms.string('runnumber'),
0022                             firstValue = cms.uint64(1),
0023                             interval = cms.uint64(1)
0024                             )
0025 
0026 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0027                                           process.CondDBCommon,
0028                                           logconnect = cms.untracked.string('sqlite_file:logfillinfo_pop_test.db'),
0029                                           timetype = cms.untracked.string('timestamp'),
0030                                           toPut = cms.VPSet(cms.PSet(record = cms.string('FillInfoRcd'),
0031                                                                      tag = cms.string('fillinfo_test')
0032                                                                      )
0033                                                             )
0034                                           )
0035 
0036 process.Test1 = cms.EDAnalyzer("FillInfoPopConAnalyzer",
0037                                SinceAppendMode = cms.bool(True),
0038                                record = cms.string('FillInfoRcd'),
0039                                name = cms.untracked.string('FillInfo'),
0040                                Source = cms.PSet(fill = cms.untracked.uint32(902),
0041                                                  connectionString = cms.untracked.string("oracle://ora_db/ora_schema"),
0042                                                  authenticationPath =  cms.untracked.string(".")
0043                                                  ),
0044                                loggingOn = cms.untracked.bool(True),
0045                                IsDestDbCheckedInQueryLog = cms.untracked.bool(False)
0046                                )
0047 
0048 process.p = cms.Path(process.Test1)
0049 
0050 
0051