1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"ProcessOne")
4 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
6 process.CondDBCommon.DBParameters.authenticationPath =
'/nfshome0/popcondev/conddb' 7 process.CondDBCommon.connect =
'sqlite_file:EcalDCSTowerStatus.db' 9 process.MessageLogger = cms.Service(
"MessageLogger",
10 debugModules = cms.untracked.vstring(
'*'),
11 destinations = cms.untracked.vstring(
'cout')
14 process.source = cms.Source(
"EmptyIOVSource",
15 firstValue = cms.uint64(1000000),
16 lastValue = cms.uint64(1000000),
17 timetype = cms.string(
'runnumber'),
18 interval = cms.uint64(1)
21 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
24 logconnect = cms.untracked.string(
'sqlite_file:DBlog.db'),
25 timetype = cms.untracked.string(
'runnumber'),
28 record = cms.string(
'EcalDCSTowerStatusRcd'),
29 tag = cms.string(
'EcalDCSTowerStatus_online')
34 process.Test1 = cms.EDAnalyzer(
"ExTestEcalDCSAnalyzer",
35 SinceAppendMode = cms.bool(
True),
36 record = cms.string(
'EcalDCSTowerStatusRcd'),
37 loggingOn = cms.untracked.bool(
True),
39 firstRun = cms.string(
'42058'),
40 lastRun = cms.string(
'100000000'),
41 OnlineDBUser = cms.string(
'CMS_ECAL_R'),
42 debug = cms.bool(
True),
43 OnlineDBPassword = cms.string(
'*****'),
44 OnlineDBSID = cms.string(
'cms_omds_lb')
48 process.p = cms.Path(process.Test1)