3 process = cms.Process(
"ProcessOne")
4 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
6 process.CondDBCommon.DBParameters.authenticationPath =
'/afs/cern.ch/cms/DB/conddb/'
7 process.CondDBCommon.connect =
'sqlite_file:DB.db'
11 process.MessageLogger = cms.Service(
"MessageLogger",
12 debugModules = cms.untracked.vstring(
'*'),
13 destinations = cms.untracked.vstring(
'cout')
16 process.source = cms.Source(
"EmptyIOVSource",
17 firstValue = cms.uint64(1000000),
18 lastValue = cms.uint64(1000000),
19 timetype = cms.string(
'runnumber'),
20 interval = cms.uint64(1)
23 process.PoolDBESSource = cms.ESSource(
"PoolDBESSource",
25 timetype = cms.untracked.string(
'runnumber'),
26 toGet = cms.VPSet(cms.PSet(
27 record = cms.string(
'EcalDCSTowerStatusRcd'),
28 tag = cms.string(
'EcalDCSTowerStatus_mc')
32 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
34 logconnect = cms.untracked.string(
'sqlite_file:DBLog.db'),
35 timetype = cms.untracked.string(
'runnumber'),
36 toPut = cms.VPSet(cms.PSet(
37 record = cms.string(
'EcalDCSTowerStatusRcd'),
38 tag = cms.string(
'EcalDCSTowerStatus_mc')
46 process.Test1 = cms.EDAnalyzer(
"ExTestEcalDCSAnalyzer",
47 SinceAppendMode = cms.bool(
True),
48 record = cms.string(
'EcalDCSTowerStatusRcd'),
49 loggingOn = cms.untracked.bool(
True),
51 firstRun = cms.string(
'42058'),
52 lastRun = cms.string(
'100000000'),
53 OnlineDBUser = cms.string(
'******'),
54 debug = cms.bool(
True),
55 OnlineDBPassword = cms.string(
'*******'),
56 OnlineDBSID = cms.string(
'*******')
61 process.p = cms.Path(process.Test1)