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')
14 process.source = cms.Source(
"EmptyIOVSource",
15 lastValue = cms.uint64(1),
16 timetype = cms.string(
'runnumber'),
17 firstValue = cms.uint64(1),
18 interval = cms.uint64(1)
21 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
23 process.CondDBCommon.connect =
'sqlite_file:DB.db'
24 process.CondDBCommon.DBParameters.authenticationPath =
'/nfshome0/popcondev/conddb'
26 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
28 logconnect = cms.untracked.string(
'sqlite_file:log.db'),
29 toPut = cms.VPSet(cms.PSet(
30 record = cms.string(
'EcalTPGWeightGroupRcd'),
32 tag = cms.string(
'EcalTPGWeightGroup_TPGTrivial_config')
37 process.Test1 = cms.EDAnalyzer(
"ExTestEcalTPGWeightGroupAnalyzer",
38 record = cms.string(
'EcalTPGWeightGroupRcd'),
39 loggingOn= cms.untracked.bool(
True),
40 IsDestDbCheckedInQueryLog=cms.untracked.bool(
True),
41 SinceAppendMode=cms.bool(
True),
43 firstRun = cms.string(
'98273'),
44 lastRun = cms.string(
'10000000'),
45 OnlineDBSID = cms.string(
'cms_omds_lb'),
46 OnlineDBUser = cms.string(
'cms_ecal_conf'),
47 OnlineDBPassword = cms.string(
'*************'),
48 LocationSource = cms.string(
'P5'),
49 Location = cms.string(
'P5_Co'),
50 GenTag = cms.string(
'GLOBAL'),
51 RunType = cms.string(
'COSMICS')
55 process.p = cms.Path(process.Test1)