1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"ProcessOne")
5 process.MessageLogger = cms.Service(
"MessageLogger",
6 cerr = cms.untracked.PSet(
7 enable = cms.untracked.bool(
False)
9 cout = cms.untracked.PSet(
10 enable = cms.untracked.bool(
True),
11 threshold = cms.untracked.string(
'DEBUG')
13 debugModules = cms.untracked.vstring(
'*')
16 process.source = cms.Source(
"EmptyIOVSource",
17 lastValue = cms.uint64(100000000000),
18 timetype = cms.string(
'runnumber'),
19 firstValue = cms.uint64(100000000000),
20 interval = cms.uint64(1)
23 process.load(
"CondCore.CondDB.CondDB_cfi")
25 process.CondDB.connect =
'sqlite_file:EcalTPGWeightIdMap.db' 27 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
29 logconnect = cms.untracked.string(
'sqlite_file:log.db'),
32 record = cms.string(
'EcalTPGWeightIdMapRcd'),
33 tag = cms.string(
'EcalTPGWeightIdMap')
38 process.Test1 = cms.EDAnalyzer(
"ExTestEcalTPGWeightIdMapAnalyzer",
39 record = cms.string(
'EcalTPGWeightIdMapRcd'),
40 loggingOn= cms.untracked.bool(
True),
41 IsDestDbCheckedInQueryLog=cms.untracked.bool(
True),
42 SinceAppendMode=cms.bool(
True),
44 firstRun = cms.string(
'1'),
45 lastRun = cms.string(
'10'),
46 OnlineDBSID = cms.string(
''),
47 OnlineDBUser = cms.string(
''),
48 OnlineDBPassword = cms.string(
''),
49 LocationSource = cms.string(
''),
50 Location = cms.string(
''),
51 GenTag = cms.string(
''),
52 RunType = cms.string(
''),
54 fileType = cms.string(
'txt'),
56 fileName = cms.string(
'EcalTPGWeightIdMap.txt'),
60 process.p = cms.Path(process.Test1)