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:EcalIntercalibConstants.db' 27 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
29 logconnect = cms.untracked.string(
'sqlite_file:log.db'),
32 record = cms.string(
'EcalIntercalibConstantsRcd'),
33 tag = cms.string(
'EcalIntercalibConstants')
38 process.Test1 = cms.EDAnalyzer(
"ExTestEcalIntercalibAnalyzer",
39 record = cms.string(
'EcalIntercalibConstantsRcd'),
40 loggingOn= cms.untracked.bool(
True),
41 IsDestDbCheckedInQueryLog=cms.untracked.bool(
True),
42 SinceAppendMode=cms.bool(
True),
44 firstRun = cms.string(
'1'),
47 type = cms.string(
'xml'),
48 fileName = cms.string(
'Intercalib_Bon.xml'),
52 process.p = cms.Path(process.Test1)