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 cerr = cms.untracked.PSet(
15 enable = cms.untracked.bool(
False)
17 cout = cms.untracked.PSet(
18 enable = cms.untracked.bool(
True)
20 debugModules = cms.untracked.vstring(
'*')
23 process.source = cms.Source(
"EmptyIOVSource",
24 firstValue = cms.uint64(1),
25 lastValue = cms.uint64(1),
26 timetype = cms.string(
'runnumber'),
27 interval = cms.uint64(1)
30 process.PoolDBESSource = cms.ESSource(
"PoolDBESSource",
32 timetype = cms.untracked.string(
'runnumber'),
35 record = cms.string(
'EcalTPGPedestalsRcd'),
36 tag = cms.string(
'EcalTPGPedestals_test')
41 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
43 logconnect = cms.untracked.string(
'sqlite_file:DBLog.db'),
44 timetype = cms.untracked.string(
'runnumber'),
47 record = cms.string(
'EcalTPGPedestalsRcd'),
48 tag = cms.string(
'EcalTPGPedestals_test')
53 process.Test1 = cms.EDAnalyzer(
"ExTestEcalTPGLinPed_Analyzer",
54 record = cms.string(
'EcalTPGPedestalsRcd'),
56 debug = cms.bool(
True),
60 process.p = cms.Path(process.Test1)