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 debugModules = cms.untracked.vstring(
'*'),
13 destinations = cms.untracked.vstring(
'cout')
16 process.source = cms.Source(
"EmptyIOVSource",
17 firstValue = cms.uint64(1),
18 lastValue = cms.uint64(1),
19 timetype = cms.string(
'runnumber'),
20 interval = cms.uint64(1)
23 process.PoolDBESSource = cms.ESSource(
"PoolDBESSource",
25 timetype = cms.untracked.string(
'runnumber'),
26 toGet = cms.VPSet(cms.PSet(
27 record = cms.string(
'EcalPedestalsRcd'),
28 tag = cms.string(
'EcalPedestals_hlt')
32 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
34 logconnect = cms.untracked.string(
'sqlite_file:DBLog.db'),
35 timetype = cms.untracked.string(
'runnumber'),
36 toPut = cms.VPSet(cms.PSet(
37 record = cms.string(
'EcalPedestalsRcd'),
38 tag = cms.string(
'EcalPedestals_hlt')
46 process.Test1 = cms.EDAnalyzer(
"ExTestEcalPedestalsAnalyzer",
47 SinceAppendMode = cms.bool(
True),
48 record = cms.string(
'EcalPedestalsRcd'),
49 loggingOn = cms.untracked.bool(
True),
51 GenTag = cms.string(
'LOCAL'),
52 firstRun = cms.string(
'119000'),
53 lastRun = cms.string(
'100000000'),
54 LocationSource = cms.string(
'P5'),
55 OnlineDBUser = cms.string(
'cms_ecal_r'),
56 debug = cms.bool(
True),
57 Location = cms.string(
'P5_Co'),
58 OnlineDBPassword = cms.string(
'xxxxxxxxxxx'),
59 OnlineDBSID = cms.string(
'cms_testbeam')
63 process.p = cms.Path(process.Test1)