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.DBCommon.CondDBCommon_cfi")
24 process.CondDBCommon.connect =
'oracle://cms_orcon_prod/CMS_COND_31X_ECAL'
25 process.CondDBCommon.DBParameters.authenticationPath =
'/nfshome0/popcondev/conddb'
27 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
29 logconnect = cms.untracked.string(
'sqlite_file:log.db'),
30 toPut = cms.VPSet(cms.PSet(
31 record = cms.string(
'EcalIntercalibConstantsRcd'),
32 tag = cms.string(
'EcalIntercalibConstants_v9_offline')
36 process.Test1 = cms.EDAnalyzer(
"ExTestEcalIntercalibAnalyzer",
37 record = cms.string(
'EcalIntercalibConstantsRcd'),
38 loggingOn= cms.untracked.bool(
True),
39 IsDestDbCheckedInQueryLog=cms.untracked.bool(
True),
40 SinceAppendMode=cms.bool(
True),
42 FileLowField = cms.string(
'/nfshome0/popcondev/EcalTPGPopCon/CMSSW_3_11_0_ONLINE/src/CondTools/Ecal/python/interCalib_Boff.xml'),
43 FileHighField = cms.string(
'/nfshome0/popcondev/EcalTPGPopCon/CMSSW_3_11_0_ONLINE/src/CondTools/Ecal/python/interCalib_Bon.xml'),
44 Value_Bon = cms.untracked.double(0.75585),
45 firstRun = cms.string(
'98273'),
46 lastRun = cms.string(
'10000000'),
47 OnlineDBSID = cms.string(
'cms_omds_lb'),
48 OnlineDBUser = cms.string(
'cms_ecal_r'),
49 OnlineDBPassword = cms.string(
'*******'),
50 LocationSource = cms.string(
'P5'),
51 Location = cms.string(
'P5_Co'),
52 GenTag = cms.string(
'GLOBAL'),
53 RunType = cms.string(
'COSMICS')
57 process.p = cms.Path(process.Test1)