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 cerr = cms.untracked.PSet(
11 enable = cms.untracked.bool(
False)
13 cout = cms.untracked.PSet(
14 enable = cms.untracked.bool(
True)
16 debugModules = cms.untracked.vstring(
'*')
19 process.source = cms.Source(
"EmptyIOVSource",
20 firstValue = cms.uint64(1000000),
21 lastValue = cms.uint64(1000000),
22 timetype = cms.string(
'runnumber'),
23 interval = cms.uint64(1)
26 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
29 logconnect = cms.untracked.string(
'sqlite_file:DBlog.db'),
30 timetype = cms.untracked.string(
'runnumber'),
33 record = cms.string(
'EcalDCSTowerStatusRcd'),
34 tag = cms.string(
'EcalDCSTowerStatus_online')
39 process.Test1 = cms.EDAnalyzer(
"ExTestEcalDCSAnalyzer",
40 SinceAppendMode = cms.bool(
True),
41 record = cms.string(
'EcalDCSTowerStatusRcd'),
42 loggingOn = cms.untracked.bool(
True),
44 firstRun = cms.string(
'42058'),
45 lastRun = cms.string(
'100000000'),
46 OnlineDBUser = cms.string(
'CMS_ECAL_R'),
47 debug = cms.bool(
True),
48 OnlineDBPassword = cms.string(
'*****'),
49 OnlineDBSID = cms.string(
'cms_omds_lb')
53 process.p = cms.Path(process.Test1)