1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"ProcessOne")
5 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
7 process.CondDBCommon.DBParameters.authenticationPath =
'/nfshome0/popcondev/conddb'
8 process.CondDBCommon.connect =
'sqlite_file:EcalDAQTowerStatus.db'
12 process.MessageLogger = cms.Service(
"MessageLogger",
13 debugModules = cms.untracked.vstring(
'*'),
14 destinations = cms.untracked.vstring(
'cout')
17 process.source = cms.Source(
"EmptyIOVSource",
18 firstValue = cms.uint64(1000000),
19 lastValue = cms.uint64(1000000),
20 timetype = cms.string(
'runnumber'),
21 interval = cms.uint64(1)
24 process.PoolDBESSource = cms.ESSource(
"PoolDBESSource",
26 timetype = cms.untracked.string(
'runnumber'),
29 record = cms.string(
'EcalDAQTowerStatusRcd'),
30 tag = cms.string(
'EcalDAQTowerStatus_online')
35 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
38 logconnect = cms.untracked.string(
'sqlite_file:/tmp/EcalDAQDBlog.db'),
39 timetype = cms.untracked.string(
'runnumber'),
42 record = cms.string(
'EcalDAQTowerStatusRcd'),
43 tag = cms.string(
'EcalDAQTowerStatus_online')
48 process.Test1 = cms.EDAnalyzer(
"ExTestEcalDAQAnalyzer",
49 SinceAppendMode = cms.bool(
True),
50 record = cms.string(
'EcalDAQTowerStatusRcd'),
51 loggingOn = cms.untracked.bool(
True),
53 firstRun = cms.string(
'121756'),
54 lastRun = cms.string(
'100000000'),
55 OnlineDBUser = cms.string(
'cms_ecal_r'),
56 OnlineDBPassword = cms.string(
'******'),
57 OnlineDBSID = cms.string(
'cms_omds_lb'),
58 location = cms.string(
'P5_Co'),
61 runtype = cms.string(
'PHYSICS'),
62 gentag = cms.string(
'GLOBAL'),
63 debug = cms.bool(
False)
67 process.p = cms.Path(process.Test1)