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 cerr = cms.untracked.PSet(
14 enable = cms.untracked.bool(
False)
16 cout = cms.untracked.PSet(
17 enable = cms.untracked.bool(
True)
19 debugModules = cms.untracked.vstring(
'*')
22 process.source = cms.Source(
"EmptyIOVSource",
23 firstValue = cms.uint64(1000000),
24 lastValue = cms.uint64(1000000),
25 timetype = cms.string(
'runnumber'),
26 interval = cms.uint64(1)
29 process.PoolDBESSource = cms.ESSource(
"PoolDBESSource",
31 timetype = cms.untracked.string(
'runnumber'),
34 record = cms.string(
'EcalDAQTowerStatusRcd'),
35 tag = cms.string(
'EcalDAQTowerStatus_online')
40 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
43 logconnect = cms.untracked.string(
'sqlite_file:/tmp/EcalDAQDBlog.db'),
44 timetype = cms.untracked.string(
'runnumber'),
47 record = cms.string(
'EcalDAQTowerStatusRcd'),
48 tag = cms.string(
'EcalDAQTowerStatus_online')
53 process.Test1 = cms.EDAnalyzer(
"ExTestEcalDAQAnalyzer",
54 SinceAppendMode = cms.bool(
True),
55 record = cms.string(
'EcalDAQTowerStatusRcd'),
56 loggingOn = cms.untracked.bool(
True),
58 firstRun = cms.string(
'121756'),
59 lastRun = cms.string(
'100000000'),
60 OnlineDBUser = cms.string(
'cms_ecal_r'),
61 OnlineDBPassword = cms.string(
'******'),
62 OnlineDBSID = cms.string(
'cms_omds_lb'),
63 location = cms.string(
'P5_Co'),
66 runtype = cms.string(
'PHYSICS'),
67 gentag = cms.string(
'GLOBAL'),
68 debug = cms.bool(
False)
72 process.p = cms.Path(process.Test1)