CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalO2O_SRP_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_orcon_prod/CMS_COND_34X_ECAL'
7 #process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
8 process.CondDBCommon.connect = 'sqlite_file:EcalSRSettings_v00_beam10.db'
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(
27  cms.PSet(
28  record = cms.string('EcalSRSettingsRcd'),
29  tag = cms.string('EcalSRSettings_beam2010_v01_offline')
30  )
31  )
32 )
33 
34 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
35  process.CondDBCommon,
36  logconnect = cms.untracked.string('sqlite_file:DBLog.db'),
37  timetype = cms.untracked.string('runnumber'),
38  toPut = cms.VPSet(
39  cms.PSet(
40  record = cms.string('EcalSRSettingsRcd'),
41  tag = cms.string('EcalSRSettings_beam2010_v01_offline')
42  )
43  )
44 )
45 
46 process.Test1 = cms.EDAnalyzer("ExTestEcalSRPAnalyzer",
47  SinceAppendMode = cms.bool(True),
48  record = cms.string('EcalSRSettingsRcd'),
49  loggingOn = cms.untracked.bool(True),
50  Source = cms.PSet(
51  firstRun = cms.string('160970'),
52  lastRun = cms.string('100000000'),
53  OnlineDBUser = cms.string('cms_ecal_r'),
54  debug = cms.bool(True),
55  OnlineDBPassword = cms.string('xxxxx'),
56  OnlineDBSID = cms.string('cms_orcon_prod'),
57  location = cms.string('P5_Co'),
58  runtype = cms.string('Physics'),
59  gentag = cms.string('global'),
60  )
61 )
62 
63 process.p = cms.Path(process.Test1)
64 
65