1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"ProcessOne")
5 process.MessageLogger = cms.Service(
"MessageLogger",
6 debugModules = cms.untracked.vstring(
'*'),
7 cout = cms.untracked.PSet(
8 threshold = cms.untracked.string(
'DEBUG')
10 destinations = cms.untracked.vstring(
'cout')
13 process.source = cms.Source(
"EmptyIOVSource",
14 lastValue = cms.uint64(100000000000),
15 timetype = cms.string(
'runnumber'),
16 firstValue = cms.uint64(100000000000),
17 interval = cms.uint64(1)
20 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
22 process.CondDBCommon.connect =
'sqlite_file:DB.db'
24 process.CondDBCommon.DBParameters.authenticationPath =
'/nfshome0/popcondev/conddb'
26 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
29 logconnect = cms.untracked.string(
'sqlite_file:log.db'),
30 toPut = cms.VPSet(cms.PSet(
31 record = cms.string(
'EcalTPGSpikeRcd'),
32 tag = cms.string(
'EcalTPGSpikeTh_hlt')
36 process.Test1 = cms.EDAnalyzer(
"ExTestEcalTPGSpikeAnalyzer",
37 record = cms.string(
'EcalTPGSpikeRcd'),
38 loggingOn= cms.untracked.bool(
True),
39 IsDestDbCheckedInQueryLog=cms.untracked.bool(
True),
40 SinceAppendMode=cms.bool(
True),
42 firstRun = cms.string(
'120000'),
43 lastRun = cms.string(
'10000000'),
44 OnlineDBSID = cms.string(
'cms_omds_lb'),
45 OnlineDBUser = cms.string(
'cms_ecal_conf'),
46 OnlineDBPassword = cms.string(
'*************'),
47 LocationSource = cms.string(
'P5'),
48 Location = cms.string(
'P5_Co'),
49 GenTag = cms.string(
'GLOBAL'),
50 RunType = cms.string(
'PHYSICS')
54 process.p = cms.Path(process.Test1)