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_orcoff_prep/CMS_COND_ECAL'
6 process.CondDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb/'
7 process.CondDBCommon.connect = 'sqlite_file:DB.db'
8 
9 
10 
11 process.MessageLogger = cms.Service("MessageLogger",
12  debugModules = cms.untracked.vstring('*'),
13  destinations = cms.untracked.vstring('cout')
14  )
15 
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)
21  )
22 
23 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
24  process.CondDBCommon,
25  timetype = cms.untracked.string('runnumber'),
26  toGet = cms.VPSet(cms.PSet(
27  record = cms.string('EcalDCSTowerStatusRcd'),
28  tag = cms.string('EcalDCSTowerStatus_mc')
29  ))
30 )
31 
32 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
33  process.CondDBCommon,
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')
39  ))
40 )
41 
42 # logconnect = cms.untracked.string('oracle://cms_orcon_prod/CMS_COND_21X_POPCONLOG'),
43 
44 
45 
46 process.Test1 = cms.EDAnalyzer("ExTestEcalDCSAnalyzer",
47  SinceAppendMode = cms.bool(True),
48  record = cms.string('EcalDCSTowerStatusRcd'),
49  loggingOn = cms.untracked.bool(True),
50  Source = cms.PSet(
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('*******')
57  )
58  )
59 
60 
61 process.p = cms.Path(process.Test1)
62 
63