1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"ProcessOne")
4 process.load(
"CondCore.CondDB.CondDB_cfi")
5 process.CondDB.DBParameters.authenticationPath =
'/afs/cern.ch/cms/DB/conddb/' 10 process.CondDB.connect =
'sqlite_file:EcalLinPed.db' 13 process.MessageLogger = cms.Service(
"MessageLogger",
14 debugModules = cms.untracked.vstring(
'*'),
15 destinations = cms.untracked.vstring(
'cout')
18 process.source = cms.Source(
"EmptyIOVSource",
19 firstValue = cms.uint64(1),
20 lastValue = cms.uint64(1),
21 timetype = cms.string(
'runnumber'),
22 interval = cms.uint64(1)
25 process.PoolDBESSource = cms.ESSource(
"PoolDBESSource",
27 timetype = cms.untracked.string(
'runnumber'),
30 record = cms.string(
'EcalTPGPedestalsRcd'),
31 tag = cms.string(
'EcalTPGPedestals_test')
36 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
38 logconnect = cms.untracked.string(
'sqlite_file:DBLog.db'),
39 timetype = cms.untracked.string(
'runnumber'),
42 record = cms.string(
'EcalTPGPedestalsRcd'),
43 tag = cms.string(
'EcalTPGPedestals_test')
48 process.Test1 = cms.EDAnalyzer(
"ExTestEcalTPGLinPed_Analyzer",
49 record = cms.string(
'EcalTPGPedestalsRcd'),
51 debug = cms.bool(
True),
55 process.p = cms.Path(process.Test1)