1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"ProcessOne")
5 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
8 process.CondDBCommon.connect =
'sqlite_file:EcalSRSettings_v00_beam10.db'
11 process.MessageLogger = cms.Service(
"MessageLogger",
12 debugModules = cms.untracked.vstring(
'*'),
13 destinations = cms.untracked.vstring(
'cout')
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)
23 process.PoolDBESSource = cms.ESSource(
"PoolDBESSource",
25 timetype = cms.untracked.string(
'runnumber'),
28 record = cms.string(
'EcalSRSettingsRcd'),
29 tag = cms.string(
'EcalSRSettings_beam2010_v01_offline')
34 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
36 logconnect = cms.untracked.string(
'sqlite_file:DBLog.db'),
37 timetype = cms.untracked.string(
'runnumber'),
40 record = cms.string(
'EcalSRSettingsRcd'),
41 tag = cms.string(
'EcalSRSettings_beam2010_v01_offline')
46 process.Test1 = cms.EDAnalyzer(
"ExTestEcalSRPAnalyzer",
47 SinceAppendMode = cms.bool(
True),
48 record = cms.string(
'EcalSRSettingsRcd'),
49 loggingOn = cms.untracked.bool(
True),
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'),
63 process.p = cms.Path(process.Test1)