CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalO2O_DCS_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("ProcessOne")
4 process.load("CondCore.DBCommon.CondDBCommon_cfi")
5 #process.CondDBCommon.connect = 'oracle://cms_orcon_prod/CMS_COND_34X_ECAL'
6 process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
7 process.CondDBCommon.connect = 'sqlite_file:EcalDCSTowerStatus.db'
8 
9 process.MessageLogger = cms.Service("MessageLogger",
10  debugModules = cms.untracked.vstring('*'),
11  destinations = cms.untracked.vstring('cout')
12  )
13 
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)
19  )
20 
21 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
22  process.CondDBCommon,
23 # logconnect = cms.untracked.string('oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG'),
24  logconnect = cms.untracked.string('sqlite_file:DBlog.db'),
25  timetype = cms.untracked.string('runnumber'),
26  toPut = cms.VPSet(
27  cms.PSet(
28  record = cms.string('EcalDCSTowerStatusRcd'),
29  tag = cms.string('EcalDCSTowerStatus_online')
30  )
31  )
32 )
33 
34 process.Test1 = cms.EDAnalyzer("ExTestEcalDCSAnalyzer",
35  SinceAppendMode = cms.bool(True),
36  record = cms.string('EcalDCSTowerStatusRcd'),
37  loggingOn = cms.untracked.bool(True),
38  Source = cms.PSet(
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')
45  )
46 )
47 
48 process.p = cms.Path(process.Test1)
49 
50