CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalO2O_DCS_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
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  cerr = cms.untracked.PSet(
11  enable = cms.untracked.bool(False)
12  ),
13  cout = cms.untracked.PSet(
14  enable = cms.untracked.bool(True)
15  ),
16  debugModules = cms.untracked.vstring('*')
17 )
18 
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)
24  )
25 
26 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
27  process.CondDBCommon,
28 # logconnect = cms.untracked.string('oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG'),
29  logconnect = cms.untracked.string('sqlite_file:DBlog.db'),
30  timetype = cms.untracked.string('runnumber'),
31  toPut = cms.VPSet(
32  cms.PSet(
33  record = cms.string('EcalDCSTowerStatusRcd'),
34  tag = cms.string('EcalDCSTowerStatus_online')
35  )
36  )
37 )
38 
39 process.Test1 = cms.EDAnalyzer("ExTestEcalDCSAnalyzer",
40  SinceAppendMode = cms.bool(True),
41  record = cms.string('EcalDCSTowerStatusRcd'),
42  loggingOn = cms.untracked.bool(True),
43  Source = cms.PSet(
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')
50  )
51 )
52 
53 process.p = cms.Path(process.Test1)
54 
55