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.CondDB.CondDB_cfi")
22 process.CondDB.connect =
'sqlite_file:EcalTPGWeightIdMap.db' 24 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
26 logconnect = cms.untracked.string(
'sqlite_file:log.db'),
29 record = cms.string(
'EcalTPGWeightIdMapRcd'),
30 tag = cms.string(
'EcalTPGWeightIdMap')
35 process.Test1 = cms.EDAnalyzer(
"ExTestEcalTPGWeightIdMapAnalyzer",
36 record = cms.string(
'EcalTPGWeightIdMapRcd'),
37 loggingOn= cms.untracked.bool(
True),
38 IsDestDbCheckedInQueryLog=cms.untracked.bool(
True),
39 SinceAppendMode=cms.bool(
True),
41 firstRun = cms.string(
'1'),
42 lastRun = cms.string(
'10'),
43 OnlineDBSID = cms.string(
''),
44 OnlineDBUser = cms.string(
''),
45 OnlineDBPassword = cms.string(
''),
46 LocationSource = cms.string(
''),
47 Location = cms.string(
''),
48 GenTag = cms.string(
''),
49 RunType = cms.string(
''),
51 fileType = cms.string(
'txt'),
53 fileName = cms.string(
'EcalTPGWeightIdMap.txt'),
57 process.p = cms.Path(process.Test1)