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(1),
15 timetype = cms.string(
'runnumber'),
16 firstValue = cms.uint64(1),
17 interval = cms.uint64(1)
20 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
22 process.CondDBCommon.connect =
'sqlite_file:DB.db'
23 process.CondDBCommon.DBParameters.authenticationPath =
'/nfshome0/popcondev/conddb'
25 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
27 logconnect = cms.untracked.string(
'sqlite_file:log.db'),
28 toPut = cms.VPSet(cms.PSet(
29 record = cms.string(
'EcalTPGLinearizationConstRcd'),
31 tag = cms.string(
'EcalTPGLinearizationConst_TPGTrivial_config')
35 process.Test1 = cms.EDAnalyzer(
"ExTestEcalTPGLinConstAnalyzer",
36 record = cms.string(
'EcalTPGLinearizationConstRcd'),
37 loggingOn= cms.untracked.bool(
True),
38 IsDestDbCheckedInQueryLog=cms.untracked.bool(
True),
39 SinceAppendMode=cms.bool(
True),
41 firstRun = cms.string(
'98273'),
42 lastRun = cms.string(
'10000000'),
43 OnlineDBSID = cms.string(
'cms_omds_lb'),
44 OnlineDBUser = cms.string(
'cms_ecal_conf'),
45 OnlineDBPassword = cms.string(
'*************'),
46 LocationSource = cms.string(
'P5'),
47 Location = cms.string(
'P5_Co'),
48 GenTag = cms.string(
'GLOBAL'),
49 RunType = cms.string(
'COSMICS')
53 process.p = cms.Path(process.Test1)