1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"ProcessOne")
4 process.load(
"CondCore.CondDB.CondDB_cfi")
6 process.CondDB.DBParameters.authenticationPath =
'/afs/cern.ch/cms/DB/conddb/' 10 process.CondDB.connect =
'sqlite_file:EcalTPGSpike.db' 12 process.MessageLogger = cms.Service(
"MessageLogger",
13 cerr = cms.untracked.PSet(
14 enable = cms.untracked.bool(
False)
16 cout = cms.untracked.PSet(
17 enable = cms.untracked.bool(
True)
19 debugModules = cms.untracked.vstring(
'*')
22 process.source = cms.Source(
"EmptyIOVSource",
23 firstValue = cms.uint64(1),
24 lastValue = cms.uint64(1),
25 timetype = cms.string(
'runnumber'),
26 interval = cms.uint64(1)
29 process.PoolDBESSource = cms.ESSource(
"PoolDBESSource",
31 timetype = cms.untracked.string(
'runnumber'),
34 record = cms.string(
'EcalTPGSpikeRcd'),
35 tag = cms.string(
'EcalTPGSpike_test')
40 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
42 logconnect = cms.untracked.string(
'sqlite_file:DBLog.db'),
43 timetype = cms.untracked.string(
'runnumber'),
46 record = cms.string(
'EcalTPGSpikeRcd'),
47 tag = cms.string(
'EcalTPGSpike_test')
52 process.Test1 = cms.EDAnalyzer(
"ExTestEcalTPGSpikeThresholdfromFile",
53 record = cms.string(
'EcalTPGSpikeRcd'),
55 debug = cms.bool(
True),
59 process.p = cms.Path(process.Test1)