CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalO2O_DAQ_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("ProcessOne")
4 
5 process.load("CondCore.DBCommon.CondDBCommon_cfi")
6 #process.CondDBCommon.connect = 'oracle://cms_orcon_prod/CMS_COND_34X_ECAL'
7 process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
8 process.CondDBCommon.connect = 'sqlite_file:EcalDAQTowerStatus.db'
9 
10 
11 
12 process.MessageLogger = cms.Service("MessageLogger",
13  debugModules = cms.untracked.vstring('*'),
14  destinations = cms.untracked.vstring('cout')
15 )
16 
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)
22 )
23 
24 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
25  process.CondDBCommon,
26  timetype = cms.untracked.string('runnumber'),
27  toGet = cms.VPSet(
28  cms.PSet(
29  record = cms.string('EcalDAQTowerStatusRcd'),
30  tag = cms.string('EcalDAQTowerStatus_online')
31  )
32  )
33 )
34 
35 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
36  process.CondDBCommon,
37  #logconnect = cms.untracked.string('oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG'),
38  logconnect = cms.untracked.string('sqlite_file:/tmp/EcalDAQDBlog.db'),
39  timetype = cms.untracked.string('runnumber'),
40  toPut = cms.VPSet(
41  cms.PSet(
42  record = cms.string('EcalDAQTowerStatusRcd'),
43  tag = cms.string('EcalDAQTowerStatus_online')
44  )
45  )
46 )
47 
48 process.Test1 = cms.EDAnalyzer("ExTestEcalDAQAnalyzer",
49  SinceAppendMode = cms.bool(True),
50  record = cms.string('EcalDAQTowerStatusRcd'),
51  loggingOn = cms.untracked.bool(True),
52  Source = cms.PSet(
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'),
59 # runtype = cms.string('Cosmic'),
60 # runtype = cms.string('Cosmic'),
61  runtype = cms.string('PHYSICS'),
62  gentag = cms.string('GLOBAL'),
63  debug = cms.bool(False)
64  )
65 )
66 
67 process.p = cms.Path(process.Test1)
68 
69