CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalO2O_DAQ_v2_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("ProcessOne")
4 
5 process.load("CondCore.DBCommon.CondDBCommon_cfi")
6 # process.CondDBCommon.connect = 'oracle://cms_orcoff_prep/CMS_COND_ECAL'
7 process.CondDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb/'
8 process.CondDBCommon.connect = 'sqlite_file:DB.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_mc')
31  )
32  )
33 )
34 
35 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
36  process.CondDBCommon,
37  logconnect = cms.untracked.string('sqlite_file:DBLog.db'),
38  timetype = cms.untracked.string('runnumber'),
39  toPut = cms.VPSet(
40  cms.PSet(
41  record = cms.string('EcalDAQTowerStatusRcd'),
42  tag = cms.string('EcalDAQTowerStatus_mc')
43  )
44  )
45 )
46 
47 process.Test1 = cms.EDAnalyzer("ExTestEcalDAQAnalyzer",
48  SinceAppendMode = cms.bool(True),
49  record = cms.string('EcalDAQTowerStatusRcd'),
50  loggingOn = cms.untracked.bool(True),
51  Source = cms.PSet(
52  firstRun = cms.string('123000'),
53  lastRun = cms.string('100000000'),
54  OnlineDBUser = cms.string('cms_ecal_r'),
55  debug = cms.bool(True),
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  )
64 )
65 
66 process.p = cms.Path(process.Test1)
67 
68