1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"ProcessOne")
4 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
7 process.CondDBCommon.connect =
'sqlite_file:DB.db' 11 process.MessageLogger = cms.Service(
"MessageLogger",
12 cerr = cms.untracked.PSet(
13 enable = cms.untracked.bool(
False)
15 cout = cms.untracked.PSet(
16 enable = cms.untracked.bool(
True)
18 debugModules = cms.untracked.vstring(
'*')
21 process.source = cms.Source(
"EmptyIOVSource",
22 firstValue = cms.uint64(1),
23 lastValue = cms.uint64(1),
24 timetype = cms.string(
'runnumber'),
25 interval = cms.uint64(1)
28 process.PoolDBESSource = cms.ESSource(
"PoolDBESSource",
30 timetype = cms.untracked.string(
'runnumber'),
31 toGet = cms.VPSet(cms.PSet(
32 record = cms.string(
'EcalPedestalsRcd'),
33 tag = cms.string(
'EcalPedestals_hlt')
37 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
39 logconnect = cms.untracked.string(
'sqlite_file:DBLog.db'),
40 timetype = cms.untracked.string(
'runnumber'),
41 toPut = cms.VPSet(cms.PSet(
42 record = cms.string(
'EcalPedestalsRcd'),
43 tag = cms.string(
'EcalPedestals_hlt')
51 process.Test1 = cms.EDAnalyzer(
"ExTestEcalPedestalsAnalyzer",
52 SinceAppendMode = cms.bool(
True),
53 record = cms.string(
'EcalPedestalsRcd'),
54 loggingOn = cms.untracked.bool(
True),
56 GenTag = cms.string(
'LOCAL'),
57 firstRun = cms.string(
'119000'),
58 lastRun = cms.string(
'100000000'),
59 LocationSource = cms.string(
'P5'),
60 OnlineDBUser = cms.string(
'cms_ecal_r'),
61 debug = cms.bool(
True),
62 Location = cms.string(
'P5_Co'),
63 OnlineDBPassword = cms.string(
'xxxxxxxxxxx'),
64 OnlineDBSID = cms.string(
'cms_testbeam')
68 process.p = cms.Path(process.Test1)