Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ProcessOne")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 #process.CondDBCommon.connect = 'oracle://cms_orcon_prod/CMS_COND_34X_ECAL'
0006 process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
0007 process.CondDBCommon.connect = 'sqlite_file:EcalDCSTowerStatus.db'
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     ),
0016     debugModules = cms.untracked.vstring('*')
0017 )
0018 
0019 process.source = cms.Source("EmptyIOVSource",
0020                                 firstValue = cms.uint64(1000000),
0021                                 lastValue = cms.uint64(1000000),
0022                                 timetype = cms.string('runnumber'),
0023                                 interval = cms.uint64(1)
0024                             )
0025 
0026 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0027     process.CondDBCommon,
0028 #    logconnect = cms.untracked.string('oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG'),
0029     logconnect = cms.untracked.string('sqlite_file:DBlog.db'),
0030     timetype = cms.untracked.string('runnumber'),
0031     toPut = cms.VPSet(
0032         cms.PSet(
0033             record = cms.string('EcalDCSTowerStatusRcd'),
0034             tag = cms.string('EcalDCSTowerStatus_online')
0035         )
0036     )
0037 )
0038 
0039 process.Test1 = cms.EDAnalyzer("ExTestEcalDCSAnalyzer",
0040     SinceAppendMode = cms.bool(True),
0041     record = cms.string('EcalDCSTowerStatusRcd'),
0042     loggingOn = cms.untracked.bool(True),
0043     Source = cms.PSet(
0044         firstRun = cms.string('42058'),
0045         lastRun = cms.string('100000000'),
0046         OnlineDBUser = cms.string('CMS_ECAL_R'),
0047         debug = cms.bool(True),
0048         OnlineDBPassword = cms.string('*****'),
0049         OnlineDBSID = cms.string('cms_omds_lb')
0050     )
0051 )
0052 
0053 process.p = cms.Path(process.Test1)
0054 
0055